Class PxTetMaker.Raw

java.lang.Object
physx.geometry.PxTetMaker.Raw
Enclosing class:
PxTetMaker

public static class PxTetMaker.Raw extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    Raw()
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    createConformingTetrahedronMesh(long triangleMesh, long outVertices, long outTetIndices, boolean validate, float volumeThreshold)
     
    static void
    createRelaxedVoxelTetrahedralMesh(long inputVertices, long inputIndices, long outputVertices, long outputIndices, int resolution)
     
    static void
    createRelaxedVoxelTetrahedralMesh(long inputVertices, long inputIndices, long outputVertices, long outputIndices, int resolution, int numRelaxationIterations)
     
    static void
    createRelaxedVoxelTetrahedralMesh(long inputVertices, long inputIndices, long outputVertices, long outputIndices, int resolution, int numRelaxationIterations, float relMinTetVolume)
     
    static void
    createTreeBasedTetrahedralMesh(long inputVertices, long inputIndices, boolean useTreeNodes, long outputVertices, long outputIndices, float volumeThreshold)
     
    static boolean
    createVoxelTetrahedronMesh(long tetMesh, int numVoxelsAlongLongestBoundingBoxAxis, long outVertices, long outTetIndices)
     
    static boolean
    createVoxelTetrahedronMeshFromEdgeLength(long tetMesh, float voxelEdgeLength, long outVertices, long outTetIndices)
     
    static void
    detectTriangleIslands(long triangles, int numTriangles, long islandIndexPerTriangle)
     
    static int
    findLargestIslandId(long islandIndexPerTriangle, int numTriangles)
     
    static void
    remeshTriangleMesh(long inputVertices, long inputIndices, int gridResolution, long outputVertices, long outputIndices)
     
    static void
    remeshTriangleMesh(long inputVertices, long inputIndices, int gridResolution, long outputVertices, long outputIndices, long vertexMap)
     
    static void
    simplifyTriangleMesh(long inputVertices, long inputIndices, int targetTriangleCount, float maximalEdgeLength, long outputVertices, long outputIndices)
     
    static void
    simplifyTriangleMesh(long inputVertices, long inputIndices, int targetTriangleCount, float maximalEdgeLength, long outputVertices, long outputIndices, long vertexMap)
     
    static void
    simplifyTriangleMesh(long inputVertices, long inputIndices, int targetTriangleCount, float maximalEdgeLength, long outputVertices, long outputIndices, long vertexMap, float edgeLengthCostWeight)
     
    static void
    simplifyTriangleMesh(long inputVertices, long inputIndices, int targetTriangleCount, float maximalEdgeLength, long outputVertices, long outputIndices, long vertexMap, float edgeLengthCostWeight, float flatnessDetectionThreshold)
     
    static void
    simplifyTriangleMesh(long inputVertices, long inputIndices, int targetTriangleCount, float maximalEdgeLength, long outputVertices, long outputIndices, long vertexMap, float edgeLengthCostWeight, float flatnessDetectionThreshold, boolean projectSimplifiedPointsOnInputMeshSurface)
     
    static void
    simplifyTriangleMesh(long inputVertices, long inputIndices, int targetTriangleCount, float maximalEdgeLength, long outputVertices, long outputIndices, long vertexMap, float edgeLengthCostWeight, float flatnessDetectionThreshold, boolean projectSimplifiedPointsOnInputMeshSurface, long outputVertexToInputTriangle)
     
    static void
    simplifyTriangleMesh(long inputVertices, long inputIndices, int targetTriangleCount, float maximalEdgeLength, long outputVertices, long outputIndices, long vertexMap, float edgeLengthCostWeight, float flatnessDetectionThreshold, boolean projectSimplifiedPointsOnInputMeshSurface, long outputVertexToInputTriangle, boolean removeDisconnectedPatches)
     
    static long
    validateTetrahedronMesh(long points, long tetrahedra, float minTetVolumeThreshold)
     
    static long
    validateTriangleMesh(long triangleMesh, float minVolumeThreshold, float minTriangleAngleRadians)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Raw

      public Raw()
  • Method Details

    • createConformingTetrahedronMesh

      public static boolean createConformingTetrahedronMesh(long triangleMesh, long outVertices, long outTetIndices, boolean validate, float volumeThreshold)
    • createVoxelTetrahedronMesh

      public static boolean createVoxelTetrahedronMesh(long tetMesh, int numVoxelsAlongLongestBoundingBoxAxis, long outVertices, long outTetIndices)
    • createVoxelTetrahedronMeshFromEdgeLength

      public static boolean createVoxelTetrahedronMeshFromEdgeLength(long tetMesh, float voxelEdgeLength, long outVertices, long outTetIndices)
    • validateTriangleMesh

      public static long validateTriangleMesh(long triangleMesh, float minVolumeThreshold, float minTriangleAngleRadians)
    • validateTetrahedronMesh

      public static long validateTetrahedronMesh(long points, long tetrahedra, float minTetVolumeThreshold)
    • simplifyTriangleMesh

      public static void simplifyTriangleMesh(long inputVertices, long inputIndices, int targetTriangleCount, float maximalEdgeLength, long outputVertices, long outputIndices)
    • simplifyTriangleMesh

      public static void simplifyTriangleMesh(long inputVertices, long inputIndices, int targetTriangleCount, float maximalEdgeLength, long outputVertices, long outputIndices, long vertexMap)
    • simplifyTriangleMesh

      public static void simplifyTriangleMesh(long inputVertices, long inputIndices, int targetTriangleCount, float maximalEdgeLength, long outputVertices, long outputIndices, long vertexMap, float edgeLengthCostWeight)
    • simplifyTriangleMesh

      public static void simplifyTriangleMesh(long inputVertices, long inputIndices, int targetTriangleCount, float maximalEdgeLength, long outputVertices, long outputIndices, long vertexMap, float edgeLengthCostWeight, float flatnessDetectionThreshold)
    • simplifyTriangleMesh

      public static void simplifyTriangleMesh(long inputVertices, long inputIndices, int targetTriangleCount, float maximalEdgeLength, long outputVertices, long outputIndices, long vertexMap, float edgeLengthCostWeight, float flatnessDetectionThreshold, boolean projectSimplifiedPointsOnInputMeshSurface)
    • simplifyTriangleMesh

      public static void simplifyTriangleMesh(long inputVertices, long inputIndices, int targetTriangleCount, float maximalEdgeLength, long outputVertices, long outputIndices, long vertexMap, float edgeLengthCostWeight, float flatnessDetectionThreshold, boolean projectSimplifiedPointsOnInputMeshSurface, long outputVertexToInputTriangle)
    • simplifyTriangleMesh

      public static void simplifyTriangleMesh(long inputVertices, long inputIndices, int targetTriangleCount, float maximalEdgeLength, long outputVertices, long outputIndices, long vertexMap, float edgeLengthCostWeight, float flatnessDetectionThreshold, boolean projectSimplifiedPointsOnInputMeshSurface, long outputVertexToInputTriangle, boolean removeDisconnectedPatches)
    • remeshTriangleMesh

      public static void remeshTriangleMesh(long inputVertices, long inputIndices, int gridResolution, long outputVertices, long outputIndices)
    • remeshTriangleMesh

      public static void remeshTriangleMesh(long inputVertices, long inputIndices, int gridResolution, long outputVertices, long outputIndices, long vertexMap)
    • createTreeBasedTetrahedralMesh

      public static void createTreeBasedTetrahedralMesh(long inputVertices, long inputIndices, boolean useTreeNodes, long outputVertices, long outputIndices, float volumeThreshold)
    • createRelaxedVoxelTetrahedralMesh

      public static void createRelaxedVoxelTetrahedralMesh(long inputVertices, long inputIndices, long outputVertices, long outputIndices, int resolution)
    • createRelaxedVoxelTetrahedralMesh

      public static void createRelaxedVoxelTetrahedralMesh(long inputVertices, long inputIndices, long outputVertices, long outputIndices, int resolution, int numRelaxationIterations)
    • createRelaxedVoxelTetrahedralMesh

      public static void createRelaxedVoxelTetrahedralMesh(long inputVertices, long inputIndices, long outputVertices, long outputIndices, int resolution, int numRelaxationIterations, float relMinTetVolume)
    • detectTriangleIslands

      public static void detectTriangleIslands(long triangles, int numTriangles, long islandIndexPerTriangle)
    • findLargestIslandId

      public static int findLargestIslandId(long islandIndexPerTriangle, int numTriangles)