- Oct 20, 2021
-
-
Hong Li authored
-
- Aug 03, 2021
-
-
- Aug 01, 2021
-
-
Andrew Wilson authored
-
- May 26, 2021
-
-
Harald Scheirich authored
-
- Apr 05, 2021
-
-
Andrew Wilson authored
ENH: Textures can be init'd from ImageData, they can be modified at runtime, you can also swap textures
-
- Apr 04, 2021
-
-
Andrew Wilson authored
-
- Mar 30, 2021
-
-
Andrew Wilson authored
-
- Mar 17, 2021
-
-
Andrew Wilson authored
-
- Dec 11, 2020
-
-
Andrew Wilson authored
-
- Nov 23, 2020
-
-
Andrew Wilson authored
-
- Sep 04, 2020
-
-
Andrew Wilson authored
-
Andrew Wilson authored
ENH: custom rigid body model, beginning of event system, level sets, module refactor, various bug fixes/improvements
-
- Aug 17, 2020
-
-
Jianfeng Yan authored
-
- Jul 10, 2020
-
-
Andrew Wilson authored
-
- Jul 09, 2020
-
-
Andrew Wilson authored
-
- Jun 20, 2020
-
-
Sreekanth Arikatla authored
Fix PBR textures and add colors
-
- Jun 16, 2020
-
-
Sreekanth Arikatla authored
-
- Apr 19, 2020
-
-
Sreekanth Arikatla authored
-
- Mar 27, 2020
-
-
Sreekanth Arikatla authored
-
- Jun 24, 2019
-
-
Nghia Truong authored
-
Nghia Truong authored
-
- Dec 04, 2018
-
-
Nicholas Milef authored
-
- Nov 09, 2018
-
-
Sreekanth Arikatla authored
-
- Sep 07, 2017
-
-
Nicholas Milef authored
-
- Aug 24, 2017
-
-
Sreekanth Arikatla authored
-
- Aug 07, 2017
-
-
Nicholas Milef authored
-
- May 03, 2017
-
-
Dženan Zukić authored
-
- Apr 21, 2017
-
-
Alexis Girault authored
- Geometry class does not have a position, orientation, scaling combination anymore, but a rigid transformation (translation + rotation) as well as a separate uniform scaling. - The value of that transformation can be changed using setTranslation(), setRotation(), and setScaling(). - scale(), translate(), and rotate() are utility functions which behavior vary based on the parameter TransformType: ConcatenateToTransform, the default value, will concatenate transformations to the rigid transform and signals that the transform has been modified; ApplyToData directly enforces the transformation given to the internal data of the geometry, and signals that the data has been modified (useful to enforce offsets at the beginning of the simulation to avoid concatenating that offset continuously). - A new base class AnalyticalGeomerty is created for Capsule, Plane, Cube and Sphere. It wraps the common attributes to those geometries: a position and an orientation axis. The values of those properties after the transform is applied are also stored to avoid redundant computations. - Subclasses of AnalyticalGeometry often show properties related to size: width, radius, length, etc. Those have their post-transform sibling also. - The Plane has a Normal API which simply wraps the AnalyticalGeometry orientation axis. - The mesh base class also keeps track of a post-transform value for the vertex positions. - Those internal data properties can be set with regular setting methods, which also signals that the internal data has been modified. - Get methods for those properties have a behavior which vary based on the parameter DataType: PostTransform is the default value, and it will return the post transform data, computing it by applying the transform if it was not yet done. - CollisionDetection classes are updated to use that post-transform data - RenderDelegates are updated to update their internal data only when the geometry data has been modified (use VTK sources and transform filter), as well as the rigid transform when that one has been modified also. - Maps, Controllers, and tests are updated to use the correct API: set translation and rotation and not position/orientation. - Update Geometry and Plane test to take into account the change of API: getRotation is now returning a Mat3d instead of a quaternion for less operations, and getNormal will return a normalized vector even if the one set was not normalized. Use `isApprox` to allow for low variability. - Update API in sandbox example - Got rid of the vertexDisplacements variable in the Mesh class, difference between the vertexPosition and the initialVertexPositions: it was requiring additional bookeeping which was not necessary Co-Authored-by:
Sreekanth Arikatla <sreekanth.arikatla@kitware.com> Signed-off-by:
Alexis Girault <alexis.girault@kitware.com>
-
- Apr 19, 2017
-
-
Nicholas Milef authored
Co-Authored-by:
Alexis Girault <alexis.girault@kitware.com>
-
- Apr 11, 2017
-
-
Shusil Dangi authored
/*========================================================================= Library: iMSTK Copyright (c) Kitware, Inc. & Center for Modeling, Simulation, & Imaging in Medicine, Rensselaer Polytechnic Institute. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.txt Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. =========================================================================*/
-
- Dec 20, 2016
-
-
Alexis Girault authored
-
- Nov 15, 2016
-
-
Alexis Girault authored
Update VTK mesh render delegates (SurfaceMesh, LineMesh, TetrahedralMesh) to directly map the vertices from the eigen and stl structures in iMSTK, and get rid of VTKMappedVertexArray. This should considerably reduce overhead calls and improve performances thanks to the no-copy operation. See http://www.vtk.org/Wiki/VTK/Tutorials/DataArrays Add back normals generationin the SurfaceMesh render delegate. Also updates testPbdCloth to add another row of points to the cloth (made it easier to debug the initial vertex positions), as well as add lights to better debug normals.
-
- Nov 11, 2016
-
-
NickMilef authored
-
- Oct 18, 2016
-
-
Alexis Girault authored
convert tabs to 4 spaces
-
- Aug 08, 2016
-
-
NickMilef authored
-
- Jul 25, 2016
-
-
Sreekanth Arikatla authored
Style enforcement and add comments over the entire code
-
- Jul 13, 2016
-
-
Alexis Girault authored
-
- Apr 29, 2016
-
-
Alexis Girault authored
Also implemented MappedVertexArray to map out structure vertices to polydata points directly (no copy).
-
- Apr 15, 2016
-
-
Alexis Girault authored
-
- Mar 29, 2016
-
-
Alexis Girault authored
-