Class AvgMeshVisitorRCGPU
java.lang.Object
cz.fidentis.analyst.engines.avgmesh.impl.AvgMeshVisitorRC
cz.fidentis.analyst.engines.avgmesh.impl.AvgMeshVisitorRCGPU
- All Implemented Interfaces:
KdTreeVisitor
,MeshVisitor
,OctreeVisitor
,AvgMeshVisitor
GPU accelerated
AvgMeshVisitorRC
. In contrast to its CPU-predecessor,
this implementation is capable of visiting mesh facets only (not octrees).-
Constructor Summary
ConstructorsConstructorDescriptionAvgMeshVisitorRCGPU
(MeshFacet templateFacet, com.jogamp.opengl.GLContext glContext) Constructor.AvgMeshVisitorRCGPU
(MeshModel templateModel, com.jogamp.opengl.GLContext glContext) Constructor.AvgMeshVisitorRCGPU
(Collection<MeshFacet> templateFacets, com.jogamp.opengl.GLContext glContext) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
visitMeshFacet
(MeshFacet facet) The inspection method to be implemented by specific visitors.void
visitOctree
(Octree octree) The main inspection method to be implemented by specific visitors.Methods inherited from class cz.fidentis.analyst.engines.avgmesh.impl.AvgMeshVisitorRC
getAveragedMeshModel, getNumInspectedFacets, getTransformations, isThreadSafe, setAvgMeshModel, setNumInspectedFacets, singleRayIntersection
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface cz.fidentis.analyst.engines.avgmesh.AvgMeshVisitor
visitKdTree
Methods inherited from interface cz.fidentis.analyst.data.mesh.MeshVisitor
dispose
-
Constructor Details
-
AvgMeshVisitorRCGPU
Constructor.- Parameters:
templateFacet
- Mesh facet which is transformed to the averaged mesh. The original mesh remains unchanged. New mesh is allocated instead.glContext
- OpenGL context. Must not benull
- Throws:
IllegalArgumentException
- if some parameter is wrong
-
AvgMeshVisitorRCGPU
public AvgMeshVisitorRCGPU(Collection<MeshFacet> templateFacets, com.jogamp.opengl.GLContext glContext) Constructor.- Parameters:
templateFacets
- Mesh facets that are transformed to the averaged mesh The original mesh remains unchanged. New mesh is allocated instead.glContext
- OpenGL context. Must not benull
- Throws:
IllegalArgumentException
- if some parameter is wrong
-
AvgMeshVisitorRCGPU
Constructor.- Parameters:
templateModel
- Mesh model which is transformed to the averaged mesh The original mesh remains unchanged. New mesh is allocated instead.glContext
- OpenGL context. Must not benull
- Throws:
IllegalArgumentException
- if some parameter is wrong
-
-
Method Details
-
visitOctree
Description copied from interface:OctreeVisitor
The main inspection method to be implemented by specific visitors.- Specified by:
visitOctree
in interfaceAvgMeshVisitor
- Specified by:
visitOctree
in interfaceOctreeVisitor
- Overrides:
visitOctree
in classAvgMeshVisitorRC
- Parameters:
octree
- octree to be visited
-
visitMeshFacet
Description copied from interface:MeshVisitor
The inspection method to be implemented by specific visitors.- Parameters:
facet
- Mesh facet to be visited.
-