PxIsosurfaceParams
Defined in include/PxIsosurfaceExtraction.h
-
struct PxIsosurfaceParams
Parameters to define the isosurface extraction settings like isosurface level, filtering etc.
Public Functions
-
inline PxIsosurfaceParams()
Default constructor.
-
inline void clearFilteringPasses()
Clears the filtering operations.
-
inline PxU64 addGridFilteringPass(PxIsosurfaceGridFilteringType::Enum operation)
Adds a smoothing pass after the existing ones.
At most 32 smoothing passes can be defined. Every pass can repeat itself up to 4 times.
- Parameters
operation – [in] The smoothing operation to add
- Returns
The index of the smoothing pass that was added
-
inline void setGridFilteringPass(PxU32 passIndex, PxIsosurfaceGridFilteringType::Enum operation)
Sets the operation of a smoothing pass.
- Parameters
passIndex – [in] The index of the smoothing pass whose operation should be set Range: [0, 31]
operation – [in] The operation the modified smoothing will perform
-
inline bool getGridFilteringPass(PxU32 passIndex, PxIsosurfaceGridFilteringType::Enum &operation) const
Returns the operation of a smoothing pass.
- Parameters
passIndex – [in] The index of the smoothing pass whose operation is requested Range: [0, 31]
operation – [out] The operation the requested smoothing pass will perform
- Returns
true if the requested pass performs an operation
-
inline PxIsosurfaceParams()