|
| | SIM_RawIndexField () |
| |
| virtual | ~SIM_RawIndexField () |
| |
| | SIM_RawIndexField (const SIM_RawIndexField &src) |
| | Copy constructor: More...
|
| |
| const SIM_RawIndexField & | operator= (const SIM_RawIndexField &src) |
| | Assigment operator: More...
|
| |
| void | init (SIM_FieldSample sample, const UT_Vector3 &orig, const UT_Vector3 &size, int xres, int yres, int zres) |
| |
| void | init (SIM_FieldSample sample, const UT_Vector3 &orig, const UT_Vector3 &size, int xres, int yres, int zres, const UT_Vector3 &voxelsize) |
| |
| void | init (SIM_FieldSample sample, const UT_Vector3 &orig, const UT_Vector3 &size, UT_VoxelArrayI *voxels, const UT_Vector3 &voxelsize) |
| |
| void | match (const SIM_RawField &src) |
| |
| void | match (const SIM_RawIndexField &src) |
| |
| void | makeConstant (exint cval) |
| | Sets this field to a constant value. More...
|
| |
| bool | indexToPos (int x, int y, int z, UT_Vector3 &pos) const |
| |
| bool | indexToPos (exint x, exint y, exint z, UT_Vector3D &pos) const |
| |
| bool | indexToPos (UT_Vector3I index, UT_Vector3 &pos) const |
| |
| UT_Vector3 | indexToPos (UT_Vector3I index) const |
| |
| bool | posToIndex (UT_Vector3 pos, int &x, int &y, int &z) const |
| | Converts a worldspace position into an integer index. More...
|
| |
| UT_Vector3I | posToIndex (UT_Vector3 pos) const |
| |
| bool | isMatching (const SIM_RawIndexField *field) const |
| |
| bool | isMatching (const SIM_RawField *field) const |
| |
| bool | isAligned (const SIM_RawIndexField *field) const |
| |
| bool | isAligned (const SIM_RawField *field) const |
| |
| bool | isColocated (const SIM_RawField *field, UT_Vector3I &offset) const |
| |
| bool | isColocated (const SIM_RawIndexField *field, UT_Vector3I &offset) const |
| |
| UT_VoxelArrayI * | steal () |
| | Steals the voxel array, leaving this pointing to a 0 constant array. More...
|
| |
| exint | getMemoryUsage () const |
| |
| UT_Vector3I | getVoxelRes () const |
| |
| void | getVoxelRes (int &xres, int &yres, int &zres) const |
| |
| int | getXRes () const |
| |
| int | getYRes () const |
| |
| int | getZRes () const |
| |
| void | getWorldOrigin (int &origx, int &origy, int &origz) const |
| |
| const UT_Vector3 & | getVoxelSize () const |
| |
| void | setVoxelSize (const UT_Vector3 &voxelsize) |
| |
| fpreal | getVoxelDiameter () const |
| |
| UT_VoxelBorderType | getBorder () const |
| |
| exint | getBorderValue () const |
| |
| void | setBorder (UT_VoxelBorderType border, exint bval) |
| |
| bool | isValidIndex (int x, int y, int z) const |
| | Returns true if the given x, y, z values lie inside the valid index. More...
|
| |
| void | getSamplePattern (SIM_FieldSample sample, int x, int y, int z, int &numsample, int *ix, int *iy, int *iz, bool clamp) const |
| |
| exint | buildIndex (const SIM_RawField *surface, const SIM_RawField *collision) |
| |
| exint | buildPartitionedIndex (const SIM_RawField *surface, const SIM_RawField *collision) |
| |
| | THREADED_METHOD1 (SIM_RawIndexField, shouldMultiThread(), buildCollisionLookup, const SIM_RawField *, collision) void buildCollisionLookupPartial(const SIM_RawField *collision |
| |
| exint | computeConnectedComponents (const SIM_RawField &surface) |
| |
| exint | computeConnectedComponents (const SIM_RawIndexField &idx) |
| |
| exint | computeConnectedComponentsWeighted (const SIM_RawIndexField &idx, const SIM_RawField *weights[3], const SIM_RawIndexField *sliceindex=0, int thisslice=-1) |
| |
| void | computeMetaConnected (UT_IntArray &metagroups, const SIM_RawIndexField &idx) const |
| | Computes connectivity of the -2 and >= 0 material types. More...
|
| |
| bool | shouldMultiThread () const |
| | Returns true if this should be multithreaded. More...
|
| |
| exint | operator() (int x, int y, int z) const |
| |
| exint | getIndex (const UT_VoxelArrayIteratorF &vit) const |
| |
| exint | getValue (const UT_Vector3 &pos) const |
| |
| const UT_VoxelArrayI * | field () const |
| |
| UT_VoxelArrayI * | fieldNC () const |
| |
| exint | maxIndex () const |
| |
| const UT_Vector3 & | getOrig () const |
| |
| const UT_Vector3 & | getSize () const |
| |
| const UT_Vector3 & | getBBoxOrig () const |
| |
| const UT_Vector3 & | getBBoxSize () const |
| |
| SIM_FieldSample | getSample () const |
| |
| void | extrapolateClosestPoints (const SIM_RawIndexField *altclosept, const GU_Detail *gdp, const openvdb::tools::PointIndexGrid *ptgridvdb, fpreal uniformradius, fpreal bandwidth, bool rebuildsdf, SIM_RawField *dest=NULL, const SIM_RawField::sim_particleToFieldParms *parms=NULL) |
| |
|
| exint | collapseClassIndices () |
| |
| bool | shouldConnectIndices (exint idx1, exint idx2) const |
| |
| | THREADED_METHOD3 (SIM_RawIndexField, shouldMultiThread(), initConnectedComponents, const SIM_RawIndexField &, idx, const SIM_RawIndexField *, sliceindex, int, thisslice) |
| |
| void | initConnectedComponentsPartial (const SIM_RawIndexField &idx, const SIM_RawIndexField *sliceindex, int thisslice, const UT_JobInfo &info) |
| |
| | THREADED_METHOD1 (SIM_RawIndexField, shouldMultiThread(), applyLookup, const UT_VoxelArrayI &, lut) |
| |
| void | applyLookupPartial (const UT_VoxelArrayI &lut, const UT_JobInfo &info) |
| |
| void | findRange (const SIM_RawField *surface, const SIM_RawField *collision, int begin[3], int end[3]) const |
| |
| exint | countVoxelsInBox (const SIM_RawField *surface, const SIM_RawField *collision, const Box &box) const |
| |
| void | computeQueryOffsets (const SIM_RawIndexField *nindex, int nsamples, const int *dx, const int *dy, const int *dz, UT_Vector3Array &queryoffsets, UT_ValArray< fpreal > &radii) const |
| |
| | THREADED_METHOD1 (SIM_RawIndexField, shouldMultiThread(), buildActiveLists, const sim_buildActiveParms &, parms) |
| |
| void | buildActiveListsPartial (const sim_buildActiveParms &parms, const UT_JobInfo &info) |
| |
| | THREADED_METHOD4 (SIM_RawIndexField, tileoccupied.entries() > 10, uncompressActiveTiles, UT_VoxelArrayI &, closept, UT_VoxelArrayI &, newclosept, UT_VoxelArrayF *, dest, const UT_ValArray< bool > &, tileoccupied) |
| |
| void | uncompressActiveTilesPartial (UT_VoxelArrayI &closept, UT_VoxelArrayI &newclosept, UT_VoxelArrayF *dest, const UT_ValArray< bool > &tileoccupied, const UT_JobInfo &info) |
| |
| | THREADED_METHOD1 (SIM_RawIndexField, parms.elements->entries() > 50, extrapolateActiveElements, const sim_extrapActiveParms &, parms) |
| |
| void | extrapolateActiveElementsPartial (const sim_extrapActiveParms &parms, const UT_JobInfo &info) |
| |
| | THREADED_METHOD4 (SIM_RawIndexField, elements.entries() > 100, applyExtrapolatedParticleToField, const UT_ValArray< sim_extrapelem > &, elements, const GU_Detail *, gdp, SIM_RawField *, dest, const SIM_RawField::sim_particleToFieldParms &, ptfparms) |
| |
| void | applyExtrapolatedParticleToFieldPartial (const UT_ValArray< sim_extrapelem > &e, const GU_Detail *gdp, SIM_RawField *dest, const SIM_RawField::sim_particleToFieldParms &ptfparms, const UT_JobInfo &info) |
| |
Definition at line 41 of file SIM_RawIndexField.h.