|
HDK
|
Templated block class to hold specific data types and a fixed number of values determined by Log2Dim. The actual coordinate dimension of the block is 2^Log2Dim, i.e. Log2Dim=3 corresponds to a LeafNode that spans a 8^3 block. More...
#include <LeafNode.h>
Inheritance diagram for openvdb::OPENVDB_VERSION_NAME::tree::LeafNode< T, Log2Dim >:Classes | |
| struct | ChildAll |
| struct | ChildIter |
| Leaf nodes have no children, so their child iterators have no get/set accessors. More... | |
| struct | ChildOff |
| struct | ChildOn |
| struct | DenseIter |
| struct | SameConfiguration |
SameConfiguration<OtherNodeType>::value is true if and only if OtherNodeType is the type of a LeafNode with the same dimensions as this node. More... | |
| struct | ValueAll |
| struct | ValueConverter |
| ValueConverter<T>::Type is the type of a LeafNode having the same dimensions as this node but a different value type, T. More... | |
| struct | ValueIter |
| struct | ValueOff |
| struct | ValueOn |
Public Member Functions | |
| LeafNode () | |
| Default constructor. More... | |
| LeafNode (const Coord &coords, const ValueType &value=zeroVal< ValueType >(), bool active=false) | |
| Constructor. More... | |
| LeafNode (PartialCreate, const Coord &coords, const ValueType &value=zeroVal< ValueType >(), bool active=false) | |
| "Partial creation" constructor used during file input More... | |
| LeafNode (const LeafNode &) | |
| Deep copy constructor. More... | |
| LeafNode & | operator= (const LeafNode &)=default |
| Deep assignment operator. More... | |
| template<typename OtherValueType > | |
| LeafNode (const LeafNode< OtherValueType, Log2Dim > &other) | |
| Value conversion copy constructor. More... | |
| template<typename OtherValueType > | |
| LeafNode (const LeafNode< OtherValueType, Log2Dim > &other, const ValueType &offValue, const ValueType &onValue, TopologyCopy) | |
| Topology copy constructor. More... | |
| template<typename OtherValueType > | |
| LeafNode (const LeafNode< OtherValueType, Log2Dim > &other, const ValueType &background, TopologyCopy) | |
| Topology copy constructor. More... | |
| ~LeafNode () | |
| Destructor. More... | |
| void | nodeCount (std::vector< Index64 > &) const |
| no-op More... | |
| void | nodeCount (std::vector< Index32 > &) const |
| Index64 | onVoxelCount () const |
| Return the number of voxels marked On. More... | |
| Index64 | offVoxelCount () const |
| Return the number of voxels marked Off. More... | |
| Index64 | onLeafVoxelCount () const |
| Index64 | offLeafVoxelCount () const |
| bool | isEmpty () const |
Return true if this node has no active voxels. More... | |
| bool | isDense () const |
Return true if this node contains only active voxels. More... | |
| bool | isAllocated () const |
Return true if memory for this node's buffer has been allocated. More... | |
| bool | allocate () |
| Allocate memory for this node's buffer if it has not already been allocated. More... | |
| Index64 | memUsage () const |
| Return the memory in bytes occupied by this node. More... | |
| Index64 | memUsageIfLoaded () const |
| void | evalActiveBoundingBox (CoordBBox &bbox, bool visitVoxels=true) const |
| CoordBBox | getNodeBoundingBox () const |
| Return the bounding box of this node, i.e., the full index space spanned by this leaf node. More... | |
| void | setOrigin (const Coord &origin) |
| Set the grid index coordinates of this node's local origin. More... | |
| Coord | offsetToGlobalCoord (Index n) const |
| Return the global coordinates for a linear table offset. More... | |
| Index32 | transientData () const |
| Return the transient data value. More... | |
| void | setTransientData (Index32 transientData) |
| Set the transient data value. More... | |
| std::string | str () const |
| Return a string representation of this node. More... | |
| template<typename OtherType , Index OtherLog2Dim> | |
| bool | hasSameTopology (const LeafNode< OtherType, OtherLog2Dim > *other) const |
Return true if the given node (which may have a different ValueType than this node) has the same active value topology as this node. More... | |
| bool | operator== (const LeafNode &other) const |
| Check for buffer, state and origin equivalence. More... | |
| bool | operator!= (const LeafNode &other) const |
| ValueOnCIter | cbeginValueOn () const |
| ValueOnCIter | beginValueOn () const |
| ValueOnIter | beginValueOn () |
| ValueOffCIter | cbeginValueOff () const |
| ValueOffCIter | beginValueOff () const |
| ValueOffIter | beginValueOff () |
| ValueAllCIter | cbeginValueAll () const |
| ValueAllCIter | beginValueAll () const |
| ValueAllIter | beginValueAll () |
| ValueOnCIter | cendValueOn () const |
| ValueOnCIter | endValueOn () const |
| ValueOnIter | endValueOn () |
| ValueOffCIter | cendValueOff () const |
| ValueOffCIter | endValueOff () const |
| ValueOffIter | endValueOff () |
| ValueAllCIter | cendValueAll () const |
| ValueAllCIter | endValueAll () const |
| ValueAllIter | endValueAll () |
| ChildOnCIter | cbeginChildOn () const |
| ChildOnCIter | beginChildOn () const |
| ChildOnIter | beginChildOn () |
| ChildOffCIter | cbeginChildOff () const |
| ChildOffCIter | beginChildOff () const |
| ChildOffIter | beginChildOff () |
| ChildAllCIter | cbeginChildAll () const |
| ChildAllCIter | beginChildAll () const |
| ChildAllIter | beginChildAll () |
| ChildOnCIter | cendChildOn () const |
| ChildOnCIter | endChildOn () const |
| ChildOnIter | endChildOn () |
| ChildOffCIter | cendChildOff () const |
| ChildOffCIter | endChildOff () const |
| ChildOffIter | endChildOff () |
| ChildAllCIter | cendChildAll () const |
| ChildAllCIter | endChildAll () const |
| ChildAllIter | endChildAll () |
| void | swap (Buffer &other) |
| Exchange this node's data buffer with the given data buffer without changing the active states of the values. More... | |
| const Buffer & | buffer () const |
| Buffer & | buffer () |
| void | readTopology (std::istream &is, bool fromHalf=false) |
| Read in just the topology. More... | |
| void | writeTopology (std::ostream &os, bool toHalf=false) const |
| Write out just the topology. More... | |
| void | readBuffers (std::istream &is, bool fromHalf=false) |
| Read buffers from a stream. More... | |
| void | readBuffers (std::istream &is, const CoordBBox &bbox, bool fromHalf=false) |
| Read buffers that intersect the given bounding box. More... | |
| void | writeBuffers (std::ostream &os, bool toHalf=false) const |
| Write buffers to a stream. More... | |
| size_t | streamingSize (bool toHalf=false) const |
| const ValueType & | getValue (const Coord &xyz) const |
| Return the value of the voxel at the given coordinates. More... | |
| const ValueType & | getValue (Index offset) const |
| Return the value of the voxel at the given linear offset. More... | |
| bool | probeValue (const Coord &xyz, ValueType &val) const |
Return true if the voxel at the given coordinates is active. More... | |
| bool | probeValue (Index offset, ValueType &val) const |
Return true if the voxel at the given offset is active. More... | |
| void | setActiveState (const Coord &xyz, bool on) |
| Set the active state of the voxel at the given coordinates but don't change its value. More... | |
| void | setActiveState (Index offset, bool on) |
| Set the active state of the voxel at the given offset but don't change its value. More... | |
| void | setValueOnly (const Coord &xyz, const ValueType &val) |
| Set the value of the voxel at the given coordinates but don't change its active state. More... | |
| void | setValueOnly (Index offset, const ValueType &val) |
| Set the value of the voxel at the given offset but don't change its active state. More... | |
| void | setValueOff (const Coord &xyz) |
| Mark the voxel at the given coordinates as inactive but don't change its value. More... | |
| void | setValueOff (Index offset) |
| Mark the voxel at the given offset as inactive but don't change its value. More... | |
| void | setValueOff (const Coord &xyz, const ValueType &val) |
| Set the value of the voxel at the given coordinates and mark the voxel as inactive. More... | |
| void | setValueOff (Index offset, const ValueType &val) |
| Set the value of the voxel at the given offset and mark the voxel as inactive. More... | |
| void | setValueOn (const Coord &xyz) |
| Mark the voxel at the given coordinates as active but don't change its value. More... | |
| void | setValueOn (Index offset) |
| Mark the voxel at the given offset as active but don't change its value. More... | |
| void | setValueOn (const Coord &xyz, const ValueType &val) |
| Set the value of the voxel at the given coordinates and mark the voxel as active. More... | |
| void | setValue (const Coord &xyz, const ValueType &val) |
| Set the value of the voxel at the given coordinates and mark the voxel as active. More... | |
| void | setValueOn (Index offset, const ValueType &val) |
| Set the value of the voxel at the given offset and mark the voxel as active. More... | |
| template<typename ModifyOp > | |
| void | modifyValue (Index offset, const ModifyOp &op) |
| Apply a functor to the value of the voxel at the given offset and mark the voxel as active. More... | |
| template<typename ModifyOp > | |
| void | modifyValue (const Coord &xyz, const ModifyOp &op) |
| Apply a functor to the value of the voxel at the given coordinates and mark the voxel as active. More... | |
| template<typename ModifyOp > | |
| void | modifyValueAndActiveState (const Coord &xyz, const ModifyOp &op) |
| Apply a functor to the voxel at the given coordinates. More... | |
| void | setValuesOn () |
| Mark all voxels as active but don't change their values. More... | |
| void | setValuesOff () |
| Mark all voxels as inactive but don't change their values. More... | |
| bool | isValueOn (const Coord &xyz) const |
Return true if the voxel at the given coordinates is active. More... | |
| bool | isValueOn (Index offset) const |
Return true if the voxel at the given offset is active. More... | |
| bool | isValueOff (const Coord &xyz) const |
Return true if the voxel at the given coordinates is inactive. More... | |
| bool | isValueOff (Index offset) const |
Return true if the voxel at the given offset is inactive. More... | |
| void | clip (const CoordBBox &, const ValueType &background) |
| Set all voxels that lie outside the given axis-aligned box to the background. More... | |
| void | fill (const CoordBBox &bbox, const ValueType &, bool active=true) |
| Set all voxels within an axis-aligned box to the specified value and active state. More... | |
| void | denseFill (const CoordBBox &bbox, const ValueType &value, bool active=true) |
| Set all voxels within an axis-aligned box to the specified value and active state. More... | |
| void | fill (const ValueType &value) |
| Set all voxels to the specified value but don't change their active states. More... | |
| void | fill (const ValueType &value, bool active) |
| Set all voxels to the specified value and active state. More... | |
| template<typename DenseT > | |
| void | copyToDense (const CoordBBox &bbox, DenseT &dense) const |
| Copy into a dense grid the values of the voxels that lie within a given bounding box. More... | |
| template<typename DenseT > | |
| void | copyFromDense (const CoordBBox &bbox, const DenseT &dense, const ValueType &background, const ValueType &tolerance) |
| Copy from a dense grid into this node the values of the voxels that lie within a given bounding box. More... | |
| template<typename AccessorT > | |
| const ValueType & | getValueAndCache (const Coord &xyz, AccessorT &) const |
| Return the value of the voxel at the given coordinates. More... | |
| template<typename AccessorT > | |
| bool | isValueOnAndCache (const Coord &xyz, AccessorT &) const |
Return true if the voxel at the given coordinates is active. More... | |
| template<typename AccessorT > | |
| void | setValueAndCache (const Coord &xyz, const ValueType &val, AccessorT &) |
| Change the value of the voxel at the given coordinates and mark it as active. More... | |
| template<typename AccessorT > | |
| void | setValueOnlyAndCache (const Coord &xyz, const ValueType &val, AccessorT &) |
| Change the value of the voxel at the given coordinates but preserve its state. More... | |
| template<typename ModifyOp , typename AccessorT > | |
| void | modifyValueAndCache (const Coord &xyz, const ModifyOp &op, AccessorT &) |
| Apply a functor to the value of the voxel at the given coordinates and mark the voxel as active. More... | |
| template<typename ModifyOp , typename AccessorT > | |
| void | modifyValueAndActiveStateAndCache (const Coord &xyz, const ModifyOp &op, AccessorT &) |
| template<typename AccessorT > | |
| void | setValueOffAndCache (const Coord &xyz, const ValueType &value, AccessorT &) |
| Change the value of the voxel at the given coordinates and mark it as inactive. More... | |
| template<typename AccessorT > | |
| void | setActiveStateAndCache (const Coord &xyz, bool on, AccessorT &) |
| Set the active state of the voxel at the given coordinates without changing its value. More... | |
| template<typename AccessorT > | |
| bool | probeValueAndCache (const Coord &xyz, ValueType &val, AccessorT &) const |
Return true if the voxel at the given coordinates is active and return the voxel value in val. More... | |
| template<typename AccessorT > | |
| const ValueType & | getValue (const Coord &xyz, bool &state, int &level, AccessorT &) const |
| Return the value of the voxel at the given coordinates and return its active state and level (i.e., 0) in state and level. More... | |
| const ValueType & | getFirstValue () const |
| Return a const reference to the first value in the buffer. More... | |
| const ValueType & | getLastValue () const |
| Return a const reference to the last value in the buffer. More... | |
| void | resetBackground (const ValueType &oldBackground, const ValueType &newBackground) |
| Replace inactive occurrences of oldBackground with newBackground, and inactive occurrences of -oldBackground with -newBackground. More... | |
| void | negate () |
| void | voxelizeActiveTiles (bool=true) |
| No-op. More... | |
| template<MergePolicy Policy> | |
| void | merge (const LeafNode &) |
| template<MergePolicy Policy> | |
| void | merge (const ValueType &tileValue, bool tileActive) |
| template<MergePolicy Policy> | |
| void | merge (const LeafNode &other, const ValueType &, const ValueType &) |
| template<typename OtherType > | |
| void | topologyUnion (const LeafNode< OtherType, Log2Dim > &other, const bool preserveTiles=false) |
Union this node's set of active values with the active values of the other node, whose ValueType may be different. So a resulting voxel will be active if either of the original voxels were active. More... | |
| template<typename OtherType > | |
| void | topologyIntersection (const LeafNode< OtherType, Log2Dim > &other, const ValueType &) |
Intersect this node's set of active values with the active values of the other node, whose ValueType may be different. So a resulting voxel will be active only if both of the original voxels were active. More... | |
| template<typename OtherType > | |
| void | topologyDifference (const LeafNode< OtherType, Log2Dim > &other, const ValueType &) |
Difference this node's set of active values with the active values of the other node, whose ValueType may be different. So a resulting voxel will be active only if the original voxel is active in this LeafNode and inactive in the other LeafNode. More... | |
| template<typename CombineOp > | |
| void | combine (const LeafNode &other, CombineOp &op) |
| template<typename CombineOp > | |
| void | combine (const ValueType &value, bool valueIsActive, CombineOp &op) |
| template<typename CombineOp , typename OtherType > | |
| void | combine2 (const LeafNode &other, const OtherType &, bool valueIsActive, CombineOp &) |
| template<typename CombineOp , typename OtherNodeT > | |
| void | combine2 (const ValueType &, const OtherNodeT &other, bool valueIsActive, CombineOp &) |
| template<typename CombineOp , typename OtherNodeT > | |
| void | combine2 (const LeafNode &b0, const OtherNodeT &b1, CombineOp &) |
| void | addTile (Index level, const Coord &, const ValueType &, bool) |
| void | addTile (Index offset, const ValueType &, bool) |
| template<typename AccessorT > | |
| void | addTileAndCache (Index, const Coord &, const ValueType &, bool, AccessorT &) |
| bool | isConstant (ValueType &firstValue, bool &state, const ValueType &tolerance=zeroVal< ValueType >()) const |
| bool | isConstant (ValueType &minValue, ValueType &maxValue, bool &state, const ValueType &tolerance=zeroVal< ValueType >()) const |
| ValueType | medianAll (ValueType *tmp=nullptr) const |
| Computes the median value of all the active AND inactive voxels in this node. More... | |
| Index | medianOn (ValueType &value, ValueType *tmp=nullptr) const |
| Computes the median value of all the active voxels in this node. More... | |
| Index | medianOff (ValueType &value, ValueType *tmp=nullptr) const |
| Computes the median value of all the inactive voxels in this node. More... | |
| bool | isInactive () const |
Return true if all of this node's values are inactive. More... | |
| const ValueType & | getValueUnsafe (Index offset) const |
| Return the value of the voxel at the given offset. More... | |
| bool | getValueUnsafe (Index offset, ValueType &value) const |
| Return true if the voxel at the given offset is active and set value. More... | |
| void | setActiveStateUnsafe (Index offset, bool on) |
| Set the active state of the voxel at the given offset but don't change its value. More... | |
| void | setValueOnlyUnsafe (Index offset, const ValueType &value) |
| Set the value of the voxel at the given coordinates but don't change its active state. More... | |
| void | setValueOnUnsafe (Index offset) |
| Mark the voxel at the given offset as active but don't change its value. More... | |
| void | setValueOnUnsafe (Index offset, const ValueType &value) |
| Set the value of the voxel at the given coordinates and mark the voxel as active. More... | |
| void | setValueOffUnsafe (Index offset) |
| Mark the voxel at the given offset as inactive but don't change its value. More... | |
| void | setValueOffUnsafe (Index offset, const ValueType &value) |
| Set the value of the voxel at the given coordinates and mark the voxel as active. More... | |
| bool | isValueMaskOn (Index n) const |
| bool | isValueMaskOn () const |
| bool | isValueMaskOff (Index n) const |
| bool | isValueMaskOff () const |
| const NodeMaskType & | getValueMask () const |
| NodeMaskType & | getValueMask () |
| const NodeMaskType & | valueMask () const |
| void | setValueMask (const NodeMaskType &mask) |
| bool | isChildMaskOn (Index) const |
| bool | isChildMaskOff (Index) const |
| bool | isChildMaskOff () const |
| const Coord & | origin () const |
| Return the grid index coordinates of this node's local origin. More... | |
| void | getOrigin (Coord &origin) const |
| Return the grid index coordinates of this node's local origin. More... | |
| void | getOrigin (Int32 &x, Int32 &y, Int32 &z) const |
| Return the grid index coordinates of this node's local origin. More... | |
| void | prune (const ValueType &=zeroVal< ValueType >()) |
| This function exists only to enable template instantiation. More... | |
| void | addLeaf (LeafNode *) |
| This function exists only to enable template instantiation. More... | |
| template<typename AccessorT > | |
| void | addLeafAndCache (LeafNode *, AccessorT &) |
| This function exists only to enable template instantiation. More... | |
| template<typename NodeT > | |
| NodeT * | stealNode (const Coord &, const ValueType &, bool) |
| This function exists only to enable template instantiation. More... | |
| template<typename NodeT > | |
| NodeT * | probeNode (const Coord &) |
| This function exists only to enable template instantiation. More... | |
| template<typename NodeT > | |
| const NodeT * | probeConstNode (const Coord &) const |
| This function exists only to enable template instantiation. More... | |
| template<typename ArrayT > | |
| void | getNodes (ArrayT &) const |
| This function exists only to enable template instantiation. More... | |
| template<typename ArrayT > | |
| void | stealNodes (ArrayT &, const ValueType &, bool) |
| This function exists only to enable template instantiation. More... | |
| LeafNode * | touchLeaf (const Coord &) |
| Return a pointer to this node. More... | |
| template<typename AccessorT > | |
| LeafNode * | touchLeafAndCache (const Coord &, AccessorT &) |
| Return a pointer to this node. More... | |
| template<typename NodeT , typename AccessorT > | |
| NodeT * | probeNodeAndCache (const Coord &, AccessorT &) |
| Return a pointer to this node. More... | |
| LeafNode * | probeLeaf (const Coord &) |
| Return a pointer to this node. More... | |
| template<typename AccessorT > | |
| LeafNode * | probeLeafAndCache (const Coord &, AccessorT &) |
| Return a pointer to this node. More... | |
| const LeafNode * | probeConstLeaf (const Coord &) const |
| Return a pointer to this node. More... | |
| template<typename AccessorT > | |
| const LeafNode * | probeConstLeafAndCache (const Coord &, AccessorT &) const |
| Return a pointer to this node. More... | |
| template<typename AccessorT > | |
| const LeafNode * | probeLeafAndCache (const Coord &, AccessorT &) const |
| Return a pointer to this node. More... | |
| const LeafNode * | probeLeaf (const Coord &) const |
| Return a pointer to this node. More... | |
| template<typename NodeT , typename AccessorT > | |
| const NodeT * | probeConstNodeAndCache (const Coord &, AccessorT &) const |
| Return a pointer to this node. More... | |
Static Public Member Functions | |
| static Index | log2dim () |
| Return log2 of the dimension of this LeafNode, e.g. 3 if dimensions are 8^3. More... | |
| static Index | dim () |
| Return the number of voxels in each coordinate dimension. More... | |
| static Index | size () |
| Return the total number of voxels represented by this LeafNode. More... | |
| static Index | numValues () |
| Return the total number of voxels represented by this LeafNode. More... | |
| static Index | getLevel () |
| Return the level of this node, which by definition is zero for LeafNodes. More... | |
| static void | getNodeLog2Dims (std::vector< Index > &dims) |
| Append the Log2Dim of this LeafNode to the specified vector. More... | |
| static Index | getChildDim () |
| Return the dimension of child nodes of this LeafNode, which is one for voxels. More... | |
| static Index64 | leafCount () |
| Return the leaf count for this node, which is one. More... | |
| static Index64 | nonLeafCount () |
| Return the non-leaf count for this node, which is zero. More... | |
| static Index32 | childCount () |
| Return the child count for this node, which is zero. More... | |
| static Index64 | onTileCount () |
| static Index64 | offTileCount () |
| static Index | coordToOffset (const Coord &xyz) |
| Return the linear table offset of the given global or local coordinates. More... | |
| static Coord | offsetToLocalCoord (Index n) |
| Return the local coordinates for a linear table offset, where offset 0 has coordinates (0, 0, 0). More... | |
| static Index | getValueLevel (const Coord &) |
| Return the level (i.e., 0) at which leaf node values reside. More... | |
| static bool | hasActiveTiles () |
Return false since leaf nodes never contain tiles. More... | |
| template<typename AccessorT > | |
| static Index | getValueLevelAndCache (const Coord &, AccessorT &) |
| Return the LEVEL (=0) at which leaf node values reside. More... | |
Static Public Attributes | |
| static const Index | LOG2DIM = Log2Dim |
| static const Index | TOTAL = Log2Dim |
| static const Index | DIM = 1 << TOTAL |
| static const Index | NUM_VALUES = 1 << 3 * Log2Dim |
| static const Index | NUM_VOXELS = NUM_VALUES |
| static const Index | SIZE = NUM_VALUES |
| static const Index | LEVEL = 0 |
Protected Types | |
| using | MaskOnIterator = typename NodeMaskType::OnIterator |
| using | MaskOffIterator = typename NodeMaskType::OffIterator |
| using | MaskDenseIterator = typename NodeMaskType::DenseIterator |
Protected Member Functions | |
| void | setValueMask (Index n, bool on) |
| void | setValueMaskOn (Index n) |
| void | setValueMaskOff (Index n) |
| void | skipCompressedValues (bool seekable, std::istream &, bool fromHalf) |
Static Protected Member Functions | |
| static void | evalNodeOrigin (Coord &xyz) |
| Compute the origin of the leaf node that contains the voxel with the given coordinates. More... | |
Templated block class to hold specific data types and a fixed number of values determined by Log2Dim. The actual coordinate dimension of the block is 2^Log2Dim, i.e. Log2Dim=3 corresponds to a LeafNode that spans a 8^3 block.
Definition at line 38 of file LeafNode.h.
| using openvdb::OPENVDB_VERSION_NAME::tree::LeafNode< T, Log2Dim >::Buffer = LeafBuffer<ValueType, Log2Dim> |
Definition at line 43 of file LeafNode.h.
| using openvdb::OPENVDB_VERSION_NAME::tree::LeafNode< T, Log2Dim >::BuildType = T |
Definition at line 41 of file LeafNode.h.
| using openvdb::OPENVDB_VERSION_NAME::tree::LeafNode< T, Log2Dim >::ChildAllCIter = DenseIter<const LeafNode, const ValueType, ChildAll> |
Definition at line 323 of file LeafNode.h.
| using openvdb::OPENVDB_VERSION_NAME::tree::LeafNode< T, Log2Dim >::ChildAllIter = DenseIter<LeafNode, ValueType, ChildAll> |
Definition at line 322 of file LeafNode.h.
| using openvdb::OPENVDB_VERSION_NAME::tree::LeafNode< T, Log2Dim >::ChildOffCIter = ChildIter<MaskOffIterator, const LeafNode, ChildOff> |
Definition at line 321 of file LeafNode.h.
| using openvdb::OPENVDB_VERSION_NAME::tree::LeafNode< T, Log2Dim >::ChildOffIter = ChildIter<MaskOffIterator, LeafNode, ChildOff> |
Definition at line 320 of file LeafNode.h.
| using openvdb::OPENVDB_VERSION_NAME::tree::LeafNode< T, Log2Dim >::ChildOnCIter = ChildIter<MaskOnIterator, const LeafNode, ChildOn> |
Definition at line 319 of file LeafNode.h.
| using openvdb::OPENVDB_VERSION_NAME::tree::LeafNode< T, Log2Dim >::ChildOnIter = ChildIter<MaskOnIterator, LeafNode, ChildOn> |
Definition at line 318 of file LeafNode.h.
| using openvdb::OPENVDB_VERSION_NAME::tree::LeafNode< T, Log2Dim >::LeafNodeType = LeafNode<ValueType, Log2Dim> |
Definition at line 44 of file LeafNode.h.
|
protected |
Definition at line 209 of file LeafNode.h.
|
protected |
Definition at line 208 of file LeafNode.h.
|
protected |
Definition at line 207 of file LeafNode.h.
| using openvdb::OPENVDB_VERSION_NAME::tree::LeafNode< T, Log2Dim >::NodeMaskType = util::NodeMask<Log2Dim> |
Definition at line 45 of file LeafNode.h.
| using openvdb::OPENVDB_VERSION_NAME::tree::LeafNode< T, Log2Dim >::Ptr = SharedPtr<LeafNode> |
Definition at line 46 of file LeafNode.h.
| using openvdb::OPENVDB_VERSION_NAME::tree::LeafNode< T, Log2Dim >::ValueAllCIter = ValueIter<MaskDenseIterator,const LeafNode,const ValueType,ValueAll> |
Definition at line 317 of file LeafNode.h.
| using openvdb::OPENVDB_VERSION_NAME::tree::LeafNode< T, Log2Dim >::ValueAllIter = ValueIter<MaskDenseIterator, LeafNode, const ValueType, ValueAll> |
Definition at line 316 of file LeafNode.h.
| using openvdb::OPENVDB_VERSION_NAME::tree::LeafNode< T, Log2Dim >::ValueOffCIter = ValueIter<MaskOffIterator,const LeafNode,const ValueType,ValueOff> |
Definition at line 315 of file LeafNode.h.
| using openvdb::OPENVDB_VERSION_NAME::tree::LeafNode< T, Log2Dim >::ValueOffIter = ValueIter<MaskOffIterator, LeafNode, const ValueType, ValueOff> |
Definition at line 314 of file LeafNode.h.
| using openvdb::OPENVDB_VERSION_NAME::tree::LeafNode< T, Log2Dim >::ValueOnCIter = ValueIter<MaskOnIterator, const LeafNode, const ValueType, ValueOn> |
Definition at line 313 of file LeafNode.h.
| using openvdb::OPENVDB_VERSION_NAME::tree::LeafNode< T, Log2Dim >::ValueOnIter = ValueIter<MaskOnIterator, LeafNode, const ValueType, ValueOn> |
Definition at line 312 of file LeafNode.h.
| using openvdb::OPENVDB_VERSION_NAME::tree::LeafNode< T, Log2Dim >::ValueType = T |
Definition at line 42 of file LeafNode.h.
|
inline |
Default constructor.
Definition at line 957 of file LeafNode.h.
|
inlineexplicit |
Constructor.
| coords | the grid index coordinates of a voxel |
| value | a value with which to fill the buffer |
| active | the active state to which to initialize all voxels |
Definition at line 966 of file LeafNode.h.
|
inline |
"Partial creation" constructor used during file input
| coords | the grid index coordinates of a voxel |
| value | a value with which to fill the buffer |
| active | the active state to which to initialize all voxels |
This constructor does not allocate memory for voxel values.
Definition at line 976 of file LeafNode.h.
|
inline |
Deep copy constructor.
Definition at line 986 of file LeafNode.h.
|
inlineexplicit |
Value conversion copy constructor.
Definition at line 999 of file LeafNode.h.
|
inline |
Topology copy constructor.
Definition at line 1031 of file LeafNode.h.
|
inline |
Topology copy constructor.
Definition at line 1018 of file LeafNode.h.
|
inline |
Destructor.
Definition at line 1045 of file LeafNode.h.
|
inline |
This function exists only to enable template instantiation.
Definition at line 728 of file LeafNode.h.
|
inline |
This function exists only to enable template instantiation.
Definition at line 730 of file LeafNode.h.
|
inline |
Definition at line 1635 of file LeafNode.h.
|
inline |
Definition at line 1642 of file LeafNode.h.
|
inline |
Definition at line 1652 of file LeafNode.h.
|
inline |
Allocate memory for this node's buffer if it has not already been allocated.
Definition at line 157 of file LeafNode.h.
|
inline |
Definition at line 354 of file LeafNode.h.
|
inline |
Definition at line 355 of file LeafNode.h.
|
inline |
Definition at line 351 of file LeafNode.h.
|
inline |
Definition at line 352 of file LeafNode.h.
|
inline |
Definition at line 348 of file LeafNode.h.
|
inline |
Definition at line 349 of file LeafNode.h.
|
inline |
Definition at line 332 of file LeafNode.h.
|
inline |
Definition at line 333 of file LeafNode.h.
|
inline |
Definition at line 329 of file LeafNode.h.
|
inline |
Definition at line 330 of file LeafNode.h.
|
inline |
Definition at line 326 of file LeafNode.h.
|
inline |
Definition at line 327 of file LeafNode.h.
|
inline |
Definition at line 373 of file LeafNode.h.
|
inline |
Definition at line 374 of file LeafNode.h.
|
inline |
Definition at line 353 of file LeafNode.h.
|
inline |
Definition at line 350 of file LeafNode.h.
|
inline |
Definition at line 347 of file LeafNode.h.
|
inline |
Definition at line 331 of file LeafNode.h.
|
inline |
Definition at line 328 of file LeafNode.h.
|
inline |
Definition at line 325 of file LeafNode.h.
|
inline |
Definition at line 363 of file LeafNode.h.
|
inline |
Definition at line 360 of file LeafNode.h.
|
inline |
Definition at line 357 of file LeafNode.h.
|
inline |
Definition at line 341 of file LeafNode.h.
|
inline |
Definition at line 338 of file LeafNode.h.
|
inline |
Definition at line 335 of file LeafNode.h.
|
inlinestatic |
Return the child count for this node, which is zero.
Definition at line 140 of file LeafNode.h.
|
inline |
Set all voxels that lie outside the given axis-aligned box to the background.
Definition at line 1176 of file LeafNode.h.
|
inline |
Definition at line 1776 of file LeafNode.h.
|
inline |
Definition at line 1795 of file LeafNode.h.
|
inline |
Definition at line 1816 of file LeafNode.h.
|
inline |
Definition at line 1835 of file LeafNode.h.
|
inline |
Definition at line 1854 of file LeafNode.h.
|
inlinestatic |
Return the linear table offset of the given global or local coordinates.
Definition at line 1065 of file LeafNode.h.
|
inline |
Copy from a dense grid into this node the values of the voxels that lie within a given bounding box.
Only values that are different (by more than the given tolerance) from the background value will be active. Other values are inactive and truncated to the background value.
| bbox | inclusive bounding box of the voxels to be copied into this node |
| dense | dense grid with a stride in z of one (see tools::Dense in tools/Dense.h for the required API) |
| background | background value of the tree that this node belongs to |
| tolerance | tolerance within which a value equals the background value |
Definition at line 1286 of file LeafNode.h.
|
inline |
Copy into a dense grid the values of the voxels that lie within a given bounding box.
| bbox | inclusive bounding box of the voxels to be copied into the dense grid |
| dense | dense grid with a stride in z of one (see tools::Dense in tools/Dense.h for the required API) |
Definition at line 1259 of file LeafNode.h.
|
inline |
Set all voxels within an axis-aligned box to the specified value and active state.
Definition at line 520 of file LeafNode.h.
|
inlinestatic |
Return the number of voxels in each coordinate dimension.
Definition at line 120 of file LeafNode.h.
|
inline |
Definition at line 364 of file LeafNode.h.
|
inline |
Definition at line 365 of file LeafNode.h.
|
inline |
Definition at line 361 of file LeafNode.h.
|
inline |
Definition at line 362 of file LeafNode.h.
|
inline |
Definition at line 358 of file LeafNode.h.
|
inline |
Definition at line 359 of file LeafNode.h.
|
inline |
Definition at line 342 of file LeafNode.h.
|
inline |
Definition at line 343 of file LeafNode.h.
|
inline |
Definition at line 339 of file LeafNode.h.
|
inline |
Definition at line 340 of file LeafNode.h.
|
inline |
Definition at line 336 of file LeafNode.h.
|
inline |
Definition at line 337 of file LeafNode.h.
|
inline |
Expand the given bounding box so that it includes this leaf node's active voxels. If visitVoxels is false this LeafNode will be approximated as dense, i.e. with all voxels active. Else the individual active voxels are visited to produce a tight bbox.
Definition at line 1504 of file LeafNode.h.
|
inlinestaticprotected |
Compute the origin of the leaf node that contains the voxel with the given coordinates.
Definition at line 924 of file LeafNode.h.
|
inline |
Set all voxels within an axis-aligned box to the specified value and active state.
Definition at line 1216 of file LeafNode.h.
|
inline |
Set all voxels to the specified value but don't change their active states.
Definition at line 1239 of file LeafNode.h.
|
inline |
Set all voxels to the specified value and active state.
Definition at line 1246 of file LeafNode.h.
|
inlinestatic |
Return the dimension of child nodes of this LeafNode, which is one for voxels.
Definition at line 130 of file LeafNode.h.
|
inline |
Return a const reference to the first value in the buffer.
Definition at line 657 of file LeafNode.h.
|
inline |
Return a const reference to the last value in the buffer.
Definition at line 659 of file LeafNode.h.
|
inlinestatic |
Return the level of this node, which by definition is zero for LeafNodes.
Definition at line 126 of file LeafNode.h.
|
inline |
Return the bounding box of this node, i.e., the full index space spanned by this leaf node.
Definition at line 170 of file LeafNode.h.
|
inlinestatic |
Append the Log2Dim of this LeafNode to the specified vector.
Definition at line 128 of file LeafNode.h.
|
inline |
This function exists only to enable template instantiation.
Definition at line 737 of file LeafNode.h.
|
inline |
Return the grid index coordinates of this node's local origin.
Definition at line 177 of file LeafNode.h.
|
inline |
Return the grid index coordinates of this node's local origin.
Definition at line 178 of file LeafNode.h.
|
inline |
Return the value of the voxel at the given coordinates.
Definition at line 1100 of file LeafNode.h.
|
inline |
Return the value of the voxel at the given linear offset.
Definition at line 1107 of file LeafNode.h.
|
inline |
Return the value of the voxel at the given coordinates and return its active state and level (i.e., 0) in state and level.
Definition at line 641 of file LeafNode.h.
|
inline |
Return the value of the voxel at the given coordinates.
Definition at line 567 of file LeafNode.h.
|
inlinestatic |
Return the level (i.e., 0) at which leaf node values reside.
Definition at line 422 of file LeafNode.h.
|
inlinestatic |
Return the LEVEL (=0) at which leaf node values reside.
Definition at line 652 of file LeafNode.h.
|
inline |
Definition at line 909 of file LeafNode.h.
|
inline |
Definition at line 910 of file LeafNode.h.
|
inline |
Return the value of the voxel at the given offset.
Definition at line 866 of file LeafNode.h.
|
inline |
Return true if the voxel at the given offset is active and set value.
Definition at line 868 of file LeafNode.h.
|
inlinestatic |
Return false since leaf nodes never contain tiles.
Definition at line 512 of file LeafNode.h.
|
inline |
Return true if the given node (which may have a different ValueType than this node) has the same active value topology as this node.
Definition at line 1522 of file LeafNode.h.
|
inline |
Return true if memory for this node's buffer has been allocated.
Definition at line 155 of file LeafNode.h.
|
inline |
Definition at line 914 of file LeafNode.h.
|
inline |
Definition at line 915 of file LeafNode.h.
|
inline |
Definition at line 913 of file LeafNode.h.
|
inline |
Return true if all of this node's values have the same active state and are in the range this->getFirstValue() +/- tolerance.
| firstValue | Is updated with the first value of this leaf node. |
| state | Is updated with the state of all values IF method returns true. Else the value is undefined! |
| tolerance | The tolerance used to determine if values are approximately equal to the for value. |
Definition at line 1530 of file LeafNode.h.
|
inline |
Return true if all of this node's values have the same active state and the range (maxValue - minValue) < tolerance.
| minValue | Is updated with the minimum of all values IF method returns true. Else the value is undefined! |
| maxValue | Is updated with the maximum of all values IF method returns true. Else the value is undefined! |
| state | Is updated with the state of all values IF method returns true. Else the value is undefined! |
| tolerance | The tolerance used to determine if values are approximately constant. |
Definition at line 1544 of file LeafNode.h.
|
inline |
Return true if this node contains only active voxels.
Definition at line 153 of file LeafNode.h.
|
inline |
Return true if this node has no active voxels.
Definition at line 151 of file LeafNode.h.
|
inline |
Return true if all of this node's values are inactive.
Definition at line 857 of file LeafNode.h.
|
inline |
Definition at line 907 of file LeafNode.h.
|
inline |
Definition at line 908 of file LeafNode.h.
|
inline |
Definition at line 905 of file LeafNode.h.
|
inline |
Definition at line 906 of file LeafNode.h.
|
inline |
Return true if the voxel at the given coordinates is inactive.
Definition at line 507 of file LeafNode.h.
|
inline |
Return true if the voxel at the given offset is inactive.
Definition at line 509 of file LeafNode.h.
|
inline |
Return true if the voxel at the given coordinates is active.
Definition at line 503 of file LeafNode.h.
|
inline |
Return true if the voxel at the given offset is active.
Definition at line 505 of file LeafNode.h.
|
inline |
Return true if the voxel at the given coordinates is active.
Definition at line 575 of file LeafNode.h.
|
inlinestatic |
Return the leaf count for this node, which is one.
Definition at line 132 of file LeafNode.h.
|
inlinestatic |
Return log2 of the dimension of this LeafNode, e.g. 3 if dimensions are 8^3.
Definition at line 118 of file LeafNode.h.
|
inline |
Computes the median value of all the active AND inactive voxels in this node.
| tmp | Optional temporary storage that can hold at least NUM_VALUES values Use of this temporary storage can improve performance when this method is called multiple times. |
Definition at line 1566 of file LeafNode.h.
|
inline |
Computes the median value of all the inactive voxels in this node.
| value | If the return value is non zero value is updated with the median value. |
| tmp | Optional temporary storage that can hold at least as many values as there are inactive voxels in this node. Use of this temporary storage can improve performance when this method is called multiple times. |
Definition at line 1608 of file LeafNode.h.
|
inline |
Computes the median value of all the active voxels in this node.
| value | If the return value is non zero value is updated with the median value. |
| tmp | Optional temporary storage that can hold at least as many values as there are active voxels in this node. Use of this temporary storage can improve performance when this method is called multiple times. |
Definition at line 1584 of file LeafNode.h.
|
inline |
Return the memory in bytes occupied by this node.
Definition at line 1484 of file LeafNode.h.
|
inline |
Definition at line 1494 of file LeafNode.h.
|
inline |
Definition at line 1686 of file LeafNode.h.
|
inline |
Definition at line 1715 of file LeafNode.h.
|
inline |
Definition at line 1706 of file LeafNode.h.
|
inline |
Apply a functor to the value of the voxel at the given offset and mark the voxel as active.
Definition at line 463 of file LeafNode.h.
|
inline |
Apply a functor to the value of the voxel at the given coordinates and mark the voxel as active.
Definition at line 477 of file LeafNode.h.
|
inline |
Apply a functor to the voxel at the given coordinates.
Definition at line 484 of file LeafNode.h.
|
inline |
Apply a functor to the voxel at the given coordinates.
Definition at line 606 of file LeafNode.h.
|
inline |
Apply a functor to the value of the voxel at the given coordinates and mark the voxel as active.
Definition at line 598 of file LeafNode.h.
|
inline |
Definition at line 1760 of file LeafNode.h.
|
inline |
no-op
Definition at line 134 of file LeafNode.h.
|
inline |
Definition at line 136 of file LeafNode.h.
|
inlinestatic |
Return the non-leaf count for this node, which is zero.
Definition at line 138 of file LeafNode.h.
|
inlinestatic |
Return the total number of voxels represented by this LeafNode.
Definition at line 124 of file LeafNode.h.
|
inline |
Definition at line 147 of file LeafNode.h.
|
inline |
Return the global coordinates for a linear table offset.
Definition at line 1089 of file LeafNode.h.
|
inlinestatic |
Return the local coordinates for a linear table offset, where offset 0 has coordinates (0, 0, 0).
Definition at line 1075 of file LeafNode.h.
|
inlinestatic |
Definition at line 149 of file LeafNode.h.
|
inline |
Return the number of voxels marked Off.
Definition at line 145 of file LeafNode.h.
|
inline |
Definition at line 146 of file LeafNode.h.
|
inlinestatic |
Definition at line 148 of file LeafNode.h.
|
inline |
Return the number of voxels marked On.
Definition at line 143 of file LeafNode.h.
|
inline |
Definition at line 204 of file LeafNode.h.
|
default |
Deep assignment operator.
|
inline |
Check for buffer, state and origin equivalence.
Definition at line 1474 of file LeafNode.h.
|
inline |
Return the grid index coordinates of this node's local origin.
Definition at line 176 of file LeafNode.h.
|
inline |
Return a pointer to this node.
Definition at line 765 of file LeafNode.h.
|
inline |
Return a pointer to this node.
Definition at line 767 of file LeafNode.h.
|
inline |
This function exists only to enable template instantiation.
Definition at line 736 of file LeafNode.h.
|
inline |
Return a pointer to this node.
Definition at line 772 of file LeafNode.h.
|
inline |
Return a pointer to this node.
Definition at line 759 of file LeafNode.h.
|
inline |
Return a pointer to this node.
Definition at line 770 of file LeafNode.h.
|
inline |
Return a pointer to this node.
Definition at line 761 of file LeafNode.h.
|
inline |
Return a pointer to this node.
Definition at line 769 of file LeafNode.h.
|
inline |
This function exists only to enable template instantiation.
Definition at line 734 of file LeafNode.h.
|
inline |
Return a pointer to this node.
Definition at line 752 of file LeafNode.h.
|
inline |
Return true if the voxel at the given coordinates is active.
| xyz | the coordinates of the voxel to be probed | |
| [out] | val | the value of the voxel at the given coordinates |
Definition at line 1116 of file LeafNode.h.
|
inline |
Return true if the voxel at the given offset is active.
| offset | the linear offset of the voxel to be probed | |
| [out] | val | the value of the voxel at the given coordinates |
Definition at line 1123 of file LeafNode.h.
|
inline |
Return true if the voxel at the given coordinates is active and return the voxel value in val.
Definition at line 632 of file LeafNode.h.
|
inline |
This function exists only to enable template instantiation.
Definition at line 727 of file LeafNode.h.
|
inline |
Read buffers from a stream.
| is | the stream from which to read |
| fromHalf | if true, floating-point input values are assumed to be 16-bit |
Definition at line 1359 of file LeafNode.h.
|
inline |
Read buffers that intersect the given bounding box.
| is | the stream from which to read |
| bbox | an index-space bounding box |
| fromHalf | if true, floating-point input values are assumed to be 16-bit |
Definition at line 1367 of file LeafNode.h.
|
inline |
Read in just the topology.
| is | the stream from which to read |
| fromHalf | if true, floating-point input values are assumed to be 16-bit |
Definition at line 1323 of file LeafNode.h.
|
inline |
Replace inactive occurrences of oldBackground with newBackground, and inactive occurrences of -oldBackground with -newBackground.
Definition at line 1664 of file LeafNode.h.
|
inline |
Set the active state of the voxel at the given coordinates but don't change its value.
Definition at line 1150 of file LeafNode.h.
|
inline |
Set the active state of the voxel at the given offset but don't change its value.
Definition at line 427 of file LeafNode.h.
|
inline |
Set the active state of the voxel at the given coordinates without changing its value.
Definition at line 623 of file LeafNode.h.
|
inline |
Set the active state of the voxel at the given offset but don't change its value.
Definition at line 870 of file LeafNode.h.
|
inline |
Set the grid index coordinates of this node's local origin.
Definition at line 173 of file LeafNode.h.
|
inline |
Set the transient data value.
Definition at line 192 of file LeafNode.h.
|
inline |
Set the value of the voxel at the given coordinates and mark the voxel as active.
Definition at line 453 of file LeafNode.h.
|
inline |
Change the value of the voxel at the given coordinates and mark it as active.
Definition at line 580 of file LeafNode.h.
|
inline |
Definition at line 912 of file LeafNode.h.
|
inlineprotected |
Definition at line 917 of file LeafNode.h.
|
inlineprotected |
Definition at line 919 of file LeafNode.h.
|
inlineprotected |
Definition at line 918 of file LeafNode.h.
|
inline |
Mark the voxel at the given coordinates as inactive but don't change its value.
Definition at line 435 of file LeafNode.h.
|
inline |
Mark the voxel at the given offset as inactive but don't change its value.
Definition at line 437 of file LeafNode.h.
|
inline |
Set the value of the voxel at the given coordinates and mark the voxel as inactive.
Definition at line 1133 of file LeafNode.h.
|
inline |
Set the value of the voxel at the given offset and mark the voxel as inactive.
Definition at line 1140 of file LeafNode.h.
|
inline |
Change the value of the voxel at the given coordinates and mark it as inactive.
Definition at line 614 of file LeafNode.h.
|
inline |
Mark the voxel at the given offset as inactive but don't change its value.
Definition at line 878 of file LeafNode.h.
|
inline |
Set the value of the voxel at the given coordinates and mark the voxel as active.
Definition at line 880 of file LeafNode.h.
|
inline |
Mark the voxel at the given coordinates as active but don't change its value.
Definition at line 445 of file LeafNode.h.
|
inline |
Mark the voxel at the given offset as active but don't change its value.
Definition at line 447 of file LeafNode.h.
|
inline |
Set the value of the voxel at the given coordinates and mark the voxel as active.
Definition at line 449 of file LeafNode.h.
|
inline |
Set the value of the voxel at the given offset and mark the voxel as active.
Definition at line 455 of file LeafNode.h.
|
inline |
Set the value of the voxel at the given coordinates but don't change its active state.
Definition at line 1158 of file LeafNode.h.
|
inline |
Set the value of the voxel at the given offset but don't change its active state.
Definition at line 1165 of file LeafNode.h.
|
inline |
Change the value of the voxel at the given coordinates but preserve its state.
Definition at line 589 of file LeafNode.h.
|
inline |
Set the value of the voxel at the given coordinates but don't change its active state.
Definition at line 872 of file LeafNode.h.
|
inline |
Mark the voxel at the given offset as active but don't change its value.
Definition at line 874 of file LeafNode.h.
|
inline |
Set the value of the voxel at the given coordinates and mark the voxel as active.
Definition at line 876 of file LeafNode.h.
|
inline |
Mark all voxels as inactive but don't change their values.
Definition at line 500 of file LeafNode.h.
|
inline |
Mark all voxels as active but don't change their values.
Definition at line 498 of file LeafNode.h.
|
inlinestatic |
Return the total number of voxels represented by this LeafNode.
Definition at line 122 of file LeafNode.h.
|
inlineprotected |
Definition at line 1343 of file LeafNode.h.
|
inline |
This function exists only to enable template instantiation.
Definition at line 732 of file LeafNode.h.
|
inline |
This function exists only to enable template instantiation.
Definition at line 738 of file LeafNode.h.
|
inline |
Return a string representation of this node.
Definition at line 1052 of file LeafNode.h.
| size_t openvdb::OPENVDB_VERSION_NAME::tree::LeafNode< T, Log2Dim >::streamingSize | ( | bool | toHalf = false | ) | const |
|
inline |
Exchange this node's data buffer with the given data buffer without changing the active states of the values.
Definition at line 372 of file LeafNode.h.
|
inline |
Difference this node's set of active values with the active values of the other node, whose ValueType may be different. So a resulting voxel will be active only if the original voxel is active in this LeafNode and inactive in the other LeafNode.
The last dummy argument is required to match the signature for InternalNode::topologyDifference.
Definition at line 1752 of file LeafNode.h.
|
inline |
Intersect this node's set of active values with the active values of the other node, whose ValueType may be different. So a resulting voxel will be active only if both of the original voxels were active.
The last dummy argument is required to match the signature for InternalNode::topologyIntersection.
Definition at line 1743 of file LeafNode.h.
|
inline |
Union this node's set of active values with the active values of the other node, whose ValueType may be different. So a resulting voxel will be active if either of the original voxels were active.
Definition at line 1735 of file LeafNode.h.
|
inline |
Return a pointer to this node.
Definition at line 748 of file LeafNode.h.
|
inline |
Return a pointer to this node.
Definition at line 750 of file LeafNode.h.
|
inline |
Return the transient data value.
Definition at line 190 of file LeafNode.h.
|
inline |
Definition at line 911 of file LeafNode.h.
|
inline |
No-op.
This function exists only to enable template instantiation.
Definition at line 669 of file LeafNode.h.
|
inline |
Write buffers to a stream.
| os | the stream to which to write |
| toHalf | if true, output floating-point values as 16-bit half floats |
Definition at line 1457 of file LeafNode.h.
|
inline |
Write out just the topology.
| os | the stream to which to write |
| toHalf | if true, output floating-point values as 16-bit half floats |
Definition at line 1331 of file LeafNode.h.
|
friend |
Definition at line 883 of file LeafNode.h.
Definition at line 884 of file LeafNode.h.
|
friend |
Definition at line 901 of file LeafNode.h.
|
friend |
Definition at line 900 of file LeafNode.h.
|
friend |
Definition at line 899 of file LeafNode.h.
Definition at line 888 of file LeafNode.h.
|
friend |
Definition at line 895 of file LeafNode.h.
|
friend |
Definition at line 892 of file LeafNode.h.
|
friend |
Definition at line 894 of file LeafNode.h.
|
friend |
Definition at line 891 of file LeafNode.h.
|
friend |
Definition at line 893 of file LeafNode.h.
|
friend |
Definition at line 890 of file LeafNode.h.
|
static |
Definition at line 51 of file LeafNode.h.
|
static |
Definition at line 55 of file LeafNode.h.
|
static |
Definition at line 49 of file LeafNode.h.
|
static |
Definition at line 52 of file LeafNode.h.
|
static |
Definition at line 53 of file LeafNode.h.
|
static |
Definition at line 54 of file LeafNode.h.
|
static |
Definition at line 50 of file LeafNode.h.