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

public class AvgMeshVisitorRCGPU extends AvgMeshVisitorRC
GPU accelerated AvgMeshVisitorRC. In contrast to its CPU-predecessor, this implementation is capable of visiting mesh facets only (not octrees).
  • Constructor Details Link icon

    • AvgMeshVisitorRCGPU Link icon

      public AvgMeshVisitorRCGPU(MeshFacet templateFacet, com.jogamp.opengl.GLContext glContext)
      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 be null
      Throws:
      IllegalArgumentException - if some parameter is wrong
    • AvgMeshVisitorRCGPU Link icon

      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 be null
      Throws:
      IllegalArgumentException - if some parameter is wrong
    • AvgMeshVisitorRCGPU Link icon

      public AvgMeshVisitorRCGPU(MeshModel templateModel, com.jogamp.opengl.GLContext glContext)
      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 be null
      Throws:
      IllegalArgumentException - if some parameter is wrong
  • Method Details Link icon

    • visitOctree Link icon

      public void visitOctree(Octree octree)
      Description copied from interface: OctreeVisitor
      The main inspection method to be implemented by specific visitors.
      Specified by:
      visitOctree in interface AvgMeshVisitor
      Specified by:
      visitOctree in interface OctreeVisitor
      Overrides:
      visitOctree in class AvgMeshVisitorRC
      Parameters:
      octree - octree to be visited
    • visitMeshFacet Link icon

      public void visitMeshFacet(MeshFacet facet)
      Description copied from interface: MeshVisitor
      The inspection method to be implemented by specific visitors.
      Parameters:
      facet - Mesh facet to be visited.