java.lang.Object
physx.geometry.PxTetMaker.Raw
- Enclosing class:
- PxTetMaker
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancreateConformingTetrahedronMesh(long triangleMesh, long outVertices, long outTetIndices, boolean validate, float volumeThreshold) static voidcreateRelaxedVoxelTetrahedralMesh(long inputVertices, long inputIndices, long outputVertices, long outputIndices, int resolution) static voidcreateRelaxedVoxelTetrahedralMesh(long inputVertices, long inputIndices, long outputVertices, long outputIndices, int resolution, int numRelaxationIterations) static voidcreateRelaxedVoxelTetrahedralMesh(long inputVertices, long inputIndices, long outputVertices, long outputIndices, int resolution, int numRelaxationIterations, float relMinTetVolume) static voidcreateTreeBasedTetrahedralMesh(long inputVertices, long inputIndices, boolean useTreeNodes, long outputVertices, long outputIndices, float volumeThreshold) static booleancreateVoxelTetrahedronMesh(long tetMesh, int numVoxelsAlongLongestBoundingBoxAxis, long outVertices, long outTetIndices) static booleancreateVoxelTetrahedronMeshFromEdgeLength(long tetMesh, float voxelEdgeLength, long outVertices, long outTetIndices) static voiddetectTriangleIslands(long triangles, int numTriangles, long islandIndexPerTriangle) static intfindLargestIslandId(long islandIndexPerTriangle, int numTriangles) static voidremeshTriangleMesh(long inputVertices, long inputIndices, int gridResolution, long outputVertices, long outputIndices) static voidremeshTriangleMesh(long inputVertices, long inputIndices, int gridResolution, long outputVertices, long outputIndices, long vertexMap) static voidsimplifyTriangleMesh(long inputVertices, long inputIndices, int targetTriangleCount, float maximalEdgeLength, long outputVertices, long outputIndices) static voidsimplifyTriangleMesh(long inputVertices, long inputIndices, int targetTriangleCount, float maximalEdgeLength, long outputVertices, long outputIndices, long vertexMap) static voidsimplifyTriangleMesh(long inputVertices, long inputIndices, int targetTriangleCount, float maximalEdgeLength, long outputVertices, long outputIndices, long vertexMap, float edgeLengthCostWeight) static voidsimplifyTriangleMesh(long inputVertices, long inputIndices, int targetTriangleCount, float maximalEdgeLength, long outputVertices, long outputIndices, long vertexMap, float edgeLengthCostWeight, float flatnessDetectionThreshold) static voidsimplifyTriangleMesh(long inputVertices, long inputIndices, int targetTriangleCount, float maximalEdgeLength, long outputVertices, long outputIndices, long vertexMap, float edgeLengthCostWeight, float flatnessDetectionThreshold, boolean projectSimplifiedPointsOnInputMeshSurface) static voidsimplifyTriangleMesh(long inputVertices, long inputIndices, int targetTriangleCount, float maximalEdgeLength, long outputVertices, long outputIndices, long vertexMap, float edgeLengthCostWeight, float flatnessDetectionThreshold, boolean projectSimplifiedPointsOnInputMeshSurface, long outputVertexToInputTriangle) static voidsimplifyTriangleMesh(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 longvalidateTetrahedronMesh(long points, long tetrahedra, float minTetVolumeThreshold) static longvalidateTriangleMesh(long triangleMesh, float minVolumeThreshold, float minTriangleAngleRadians)
-
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)
-