Interface AvgMeshVisitor
- All Superinterfaces:
KdTreeVisitor
,MeshVisitor
,OctreeVisitor
- All Known Implementing Classes:
AvgMeshVisitorNN
,AvgMeshVisitorRC
,AvgMeshVisitorRCGPU
An interface declaring the ability to deform a template mesh into an average mesh based on visiting other meshes.
Specific implementations are usually able to visit only one polygonal structure, either k-d tree, octree, or mesh.
Therefore, check which of the visiting methods are supported by the respective implementing class.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the averaged mesh modeldefault boolean
Returnstrue
if the implementation is thread-safe and then a single visitor instance can be applied to multiple k-d trees simultaneously.default void
visitKdTree
(KdTree kdTree) The main inspection method to be implemented by specific visitors.default void
visitMeshFacet
(MeshFacet facet) The inspection method to be implemented by specific visitors.default void
visitOctree
(Octree octree) The main inspection method to be implemented by specific visitors.Methods inherited from interface cz.fidentis.analyst.data.mesh.MeshVisitor
dispose
-
Method Details
-
getAveragedMeshModel
MeshModel getAveragedMeshModel()Returns the averaged mesh model- Returns:
- averaged mesh model
-
isThreadSafe
default boolean isThreadSafe()Description copied from interface:KdTreeVisitor
Returnstrue
if the implementation is thread-safe and then a single visitor instance can be applied to multiple k-d trees simultaneously.Thread-safe implementation means that any read or write from/to the visitor's state is protected by
synchronized
.- Specified by:
isThreadSafe
in interfaceKdTreeVisitor
- Specified by:
isThreadSafe
in interfaceMeshVisitor
- Specified by:
isThreadSafe
in interfaceOctreeVisitor
- Returns:
true
if the implementation is thread-safe.
-
visitKdTree
Description copied from interface:KdTreeVisitor
The main inspection method to be implemented by specific visitors.- Specified by:
visitKdTree
in interfaceKdTreeVisitor
- Parameters:
kdTree
- K-d tree to be visited
-
visitOctree
Description copied from interface:OctreeVisitor
The main inspection method to be implemented by specific visitors.- Specified by:
visitOctree
in interfaceOctreeVisitor
- Parameters:
octree
- octree to be visited
-
visitMeshFacet
Description copied from interface:MeshVisitor
The inspection method to be implemented by specific visitors.- Specified by:
visitMeshFacet
in interfaceMeshVisitor
- Parameters:
facet
- Mesh facet to be visited.
-