Field3D
|
This Field subclass stores voxel data in block-allocated arrays. More...
#include <SparseField.h>
Classes | |
class | block_iterator |
class | const_iterator |
class | iterator |
Public Types | |
typedef SparseField< Data_T > | class_type |
typedef CubicGenericFieldInterp < SparseField< Data_T > > | CubicInterp |
typedef LinearGenericFieldInterp < SparseField< Data_T > > | LinearInterp |
typedef boost::intrusive_ptr < SparseField > | Ptr |
typedef std::vector< Ptr > | Vec |
![]() | |
typedef ResizableField< Data_T > | class_type |
typedef boost::intrusive_ptr < ResizableField > | Ptr |
![]() | |
typedef WritableField< Data_T > | class_type |
typedef boost::intrusive_ptr < WritableField > | Ptr |
![]() | |
typedef Field< Data_T > | class_type |
typedef boost::intrusive_ptr < Field > | Ptr |
typedef Data_T | value_type |
Allows us to reference the template class. More... | |
typedef std::vector< Ptr > | Vec |
This is a convenience typedef for the list that Field3DInputFile::readScalarLayers() and Field3DInputFile::readVectorLayers() will return its data in. More... | |
![]() | |
typedef FieldRes | class_type |
typedef boost::intrusive_ptr < FieldRes > | Ptr |
typedef std::vector< Ptr > | Vec |
![]() | |
typedef FieldBase | class_type |
typedef boost::intrusive_ptr < FieldBase > | Ptr |
![]() | |
typedef boost::intrusive_ptr < RefBase > | Ptr |
Public Member Functions | |
void | addReference (const std::string &filename, const std::string &layerPath, int valuesPerBlock, int occupiedBlocks) |
Internal function to create a Reference for the current field, for use in dynamic reading. More... | |
void | applyDataWindowOffset (int &i, int &j, int &k) const |
Applies data window offset. More... | |
int | blockId (int blockI, int blockJ, int blockK) const |
Calculates the block number based on a block i,j,k index. More... | |
bool | blockIndexIsValid (int bi, int bj, int bk) const |
Returns whether a block index is valid. More... | |
bool | blockIsAllocated (int bi, int bj, int bk) const |
Checks if a block is allocated. More... | |
int | blockOrder () const |
Returns the block order. More... | |
V3i | blockRes () const |
Returns the resolution of the block array. More... | |
int | blockSize () const |
Returns the block size. More... | |
virtual void | clear (const Data_T &value) |
Clears all the voxels in the storage. More... | |
Data_T & | fastLValue (int i, int j, int k) |
Write access to voxel. Notice that this is non-virtual. More... | |
Data_T | fastValue (int i, int j, int k) const |
Read access to voxel. Notice that this is non-virtual. More... | |
void | getBlockCoord (int i, int j, int k, int &bi, int &bj, int &bk) const |
Calculates the block coordinates that a given set of voxel coords are in. More... | |
const Data_T | getBlockEmptyValue (int bi, int bj, int bk) const |
Returns the constant value of an block, whether it's allocated already or not.. More... | |
void | getVoxelInBlock (int i, int j, int k, int &vi, int &vj, int &vk) const |
Calculates the coordinates in a block for the given voxel index. More... | |
template<typename Functor_T > | |
int | releaseBlocks (Functor_T func) |
Releases any blocks that are deemed empty. This can be used to clean up after algorithms that write "zero" values to the buffer, as well as after any narrow band levelset algorithms. More... | |
void | setBlockEmptyValue (int bi, int bj, int bk, const Data_T &val) |
Sets the constant value of an block. If the block is already allocated, it gets deallocated. More... | |
void | setBlockOrder (int order) |
Sets the block order (i.e. the power-of-2 to use as block size. More... | |
void | setupReferenceBlocks () |
Internal function to setup the Reference's block pointers, for use with dynamic reading. More... | |
bool | voxelIsInAllocatedBlock (int i, int j, int k) const |
Checks if a voxel is in an allocated block. More... | |
Constructors & destructor | |
SparseField () | |
Constructs an empty buffer. More... | |
SparseField (const SparseField &o) | |
Copy constructor. More... | |
~SparseField () | |
Destructor. More... | |
SparseField & | operator= (const SparseField &o) |
Assignment operator. For cache-managed fields, it creates a new file reference, and for non-managed fields, it copies the data. More... | |
From Field | |
virtual Data_T | value (int i, int j, int k) const |
Read access to a voxel. The coordinates are in integer voxel space . More... | |
virtual long long int | memSize () const |
Returns the memory usage (in bytes) More... | |
From WritableField | |
virtual Data_T & | lvalue (int i, int j, int k) |
Write access to a voxel. The coordinates are global coordinates. More... | |
From FieldBase | |
virtual std::string | className () const |
Returns the class name of the object. Used by the class pool and when writing the data to disk. More... | |
virtual FieldBase::Ptr | clone () const |
Returns a pointer to a copy of the field, pure virtual so ensure derived classes properly implement it. More... | |
Iterators | |
const_iterator | cbegin () const |
Const iterator to first element. "cbegin" matches the tr1 c++ standard. More... | |
const_iterator | cbegin (const Box3i &subset) const |
Const iterator to first element of specific subset. More... | |
const_iterator | cend () const |
Const iterator pointing one element past the last valid one. More... | |
const_iterator | cend (const Box3i &subset) const |
Const iterator pointing one element past the last valid one (for a subset) More... | |
iterator | begin () |
Iterator to first element. More... | |
iterator | begin (const Box3i &subset) |
Iterator to first element of specific subset. More... | |
iterator | end () |
Iterator pointing one element past the last valid one. More... | |
iterator | end (const Box3i &subset) |
Iterator pointing one element past the last valid one (for a subset) More... | |
block_iterator | blockBegin () const |
block_iterator | blockEnd () const |
Const iterator pointing to element one past the last valid block. More... | |
![]() | |
void | copyFrom (typename Field< Data_T >::Ptr other) |
Copies the data from another Field, also resizes. More... | |
template<class Data_T2 > | |
void | copyFrom (typename Field< Data_T2 >::Ptr other) |
Copies the data from another Field of another template class, also resizes. More... | |
void | matchDefinition (FieldRes::Ptr fieldToMatch) |
Sets up this field so that resolution and mapping matches the other. More... | |
void | setSize (const V3i &size) |
Resizes the object. More... | |
void | setSize (const Box3i &extents) |
Resizes the object. More... | |
void | setSize (const Box3i &extents, const Box3i &dataWindow) |
Resizes the object. More... | |
void | setSize (const V3i &size, int padding) |
Resizes the object with padding. More... | |
![]() | |
iterator | begin () |
Iterator to first element. More... | |
iterator | begin (const Box3i &subset) |
Iterator to first element of specific subset. More... | |
iterator | end () |
Iterator pointing one element past the last valid one. More... | |
iterator | end (const Box3i &subset) |
Iterator pointing one element past the last valid one (for a subset) More... | |
![]() | |
const_iterator | cbegin () const |
Const iterator to first element. "cbegin" matches the tr1 c++ standard. More... | |
const_iterator | cbegin (const Box3i &subset) const |
Const iterator to first element of specific subset. More... | |
const_iterator | cend () const |
Const iterator pointing one element past the last valid one. More... | |
const_iterator | cend (const Box3i &subset) const |
Const iterator pointing one element past the last valid one (for a subset) More... | |
virtual std::string | dataTypeString () const |
virtual | ~Field () |
Dtor. More... | |
![]() | |
V3i const | dataResolution () const |
const Box3i & | dataWindow () const |
Returns the data window. Any coordinate inside this window is safe to pass to value() in the Field subclass. More... | |
const Box3i & | extents () const |
Returns the extents of the data. This signifies the relevant area that the data exists over. However, the data window (below) may be smaller than the extents, in which case it is only safe to call value() for those coordinate inside the data window. More... | |
FieldRes () | |
This constructor ensures that we have a valid mapping at all times. More... | |
FieldRes (const FieldRes &src) | |
Base class copy constructor. More... | |
bool | isInBounds (int i, int j, int k) const |
Returns true is the indicies are in bounds of the data window. More... | |
FieldMapping::Ptr | mapping () |
Returns a pointer to the mapping. More... | |
const FieldMapping::Ptr | mapping () const |
Returns a pointer to the mapping. More... | |
void | setMapping (FieldMapping::Ptr mapping) |
Sets the field's mapping. More... | |
![]() | |
FieldBase () | |
Constructor. More... | |
FieldBase (const FieldBase &) | |
Copy Constructor. More... | |
virtual | ~FieldBase () |
Destructor. More... | |
FieldMetadata< FieldBase > & | metadata () |
accessor to the m_metadata class More... | |
const FieldMetadata< FieldBase > & | metadata () const |
Read only access to the m_metadata class. More... | |
virtual void | metadataHasChanged (const std::string &) |
This function should implemented by concrete classes to get the callback when metadata changes. More... | |
void | copyMetadata (const FieldBase &field) |
Copies the metadata from a second field. More... | |
![]() | |
void | ref () const |
Used by boost::intrusive_pointer. More... | |
size_t | refcnt () |
Used by boost::intrusive_pointer. More... | |
void | unref () const |
Used by boost::intrusive_pointer. More... | |
RefBase () | |
RefBase (const RefBase &) | |
Copy constructor. More... | |
RefBase & | operator= (const RefBase &) |
Assignment operator. More... | |
virtual | ~RefBase () |
Destructor. More... | |
virtual bool | checkRTTI (const char *typenameStr)=0 |
This function is only implemented by concrete classes and triggers the actual RTTI check through matchRTTI();. More... | |
bool | matchRTTI (const char *typenameStr) |
Performs a check to see if the given typename string matches this class' This needs to be implemented in -all- subclasses, even abstract ones. More... | |
Static Public Member Functions | |
static const char * | classType () |
static const char * | staticClassName () |
![]() | |
static const char * | classType () |
static const char * | staticClassName () |
![]() | |
static const char * | classType () |
static const char * | staticClassName () |
![]() | |
static const char * | classType () |
static const char * | staticClassName () |
![]() | |
static const char * | classType () |
static const char * | staticClassName () |
![]() | |
static const char * | classType () |
static const char * | staticClassName () |
![]() | |
static const char * | classType () |
Public Attributes | |
DEFINE_FIELD_RTTI_CONCRETE_CLASS | |
![]() | |
DEFINE_FIELD_RTTI_ABSTRACT_CLASS | |
![]() | |
DEFINE_FIELD_RTTI_ABSTRACT_CLASS | |
![]() | |
DEFINE_FIELD_RTTI_ABSTRACT_CLASS | |
![]() | |
DEFINE_FIELD_RTTI_ABSTRACT_CLASS | |
![]() | |
std::string | attribute |
Optional name of the attribute the field represents. More... | |
std::string | name |
Optional name of the field. More... | |
Protected Types | |
typedef ResizableField< Data_T > | base |
typedef Sparse::SparseBlock < Data_T > | Block |
![]() | |
typedef WritableField< Data_T > | base |
Protected Member Functions | |
virtual void | sizeChanged () |
Subclasses should re-implement this if they need to perform memory allocations, etc. every time the size of the storage changes. More... | |
Convenience methods | |
void | setupBlocks () |
Initializes the block structure. Will clear any existing data. More... | |
void | deallocBlock (Block &block, const Data_T &emptyValue) |
Deallocated the data of the given block and sets its empty value. More... | |
Protected Attributes | |
int | m_blockOrder |
Block order (size = 2^blockOrder) More... | |
V3i | m_blockRes |
Block array resolution. More... | |
std::vector< Block > | m_blocks |
Information for all blocks in the field. More... | |
int | m_blockXYSize |
Block array res.x * res.y. More... | |
Data_T | m_dummy |
Dummy value used when needing to return but indicating a failed call. More... | |
int | m_fileId |
File id. Used with m_fileManager if active. Otherwise -1. More... | |
SparseFileManager * | m_fileManager |
Pointer to SparseFileManager. Used when doing dynamic reading. NULL if not in use. More... | |
Private Member Functions | |
void | copyBlockStates (const SparseField< Data_T > &o) |
Internal function to copy empty values and allocated flags, without copying data, used when copying a dynamically read field. More... | |
void | copySparseField (const SparseField &o) |
Copies internal data, including blocks, from another SparseField, used by copy constructor and operator=. More... | |
Static Private Attributes | |
static TemplatedFieldType < SparseField< Data_T > > | ms_classType |
Friends | |
class | SparseFieldIO |
Additional Inherited Members | |
![]() | |
static TemplatedFieldType < ResizableField< Data_T > > | ms_classType |
This Field subclass stores voxel data in block-allocated arrays.
Empty blocks aren't allocated. This effectively optimizes away memory use for "empty" voxels.
Refer to using_fields for examples of how to use this in your code.
Definition at line 160 of file SparseField.h.
typedef boost::intrusive_ptr<SparseField> SparseField< Data_T >::Ptr |
Definition at line 167 of file SparseField.h.
typedef std::vector<Ptr> SparseField< Data_T >::Vec |
Definition at line 168 of file SparseField.h.
typedef LinearGenericFieldInterp<SparseField<Data_T> > SparseField< Data_T >::LinearInterp |
Definition at line 170 of file SparseField.h.
typedef CubicGenericFieldInterp<SparseField<Data_T> > SparseField< Data_T >::CubicInterp |
Definition at line 171 of file SparseField.h.
typedef SparseField<Data_T> SparseField< Data_T >::class_type |
Definition at line 175 of file SparseField.h.
|
protected |
Definition at line 366 of file SparseField.h.
|
protected |
Definition at line 367 of file SparseField.h.
SparseField< Data_T >::SparseField | ( | ) |
Constructs an empty buffer.
Definition at line 1014 of file SparseField.h.
References SparseField< Data_T >::setupBlocks().
Referenced by SparseField< Data_T >::clone().
SparseField< Data_T >::SparseField | ( | const SparseField< Data_T > & | o | ) |
Copy constructor.
Definition at line 1025 of file SparseField.h.
References SparseField< Data_T >::copySparseField().
SparseField< Data_T >::~SparseField | ( | ) |
|
inlinestatic |
Definition at line 178 of file SparseField.h.
Referenced by SparseField< Data_T >::className().
|
inlinestatic |
Definition at line 183 of file SparseField.h.
References FieldBase::name.
SparseField< Data_T > & SparseField< Data_T >::operator= | ( | const SparseField< Data_T > & | o | ) |
Assignment operator. For cache-managed fields, it creates a new file reference, and for non-managed fields, it copies the data.
Definition at line 1048 of file SparseField.h.
|
virtual |
Clears all the voxels in the storage.
Reimplemented from WritableField< Data_T >.
Definition at line 1158 of file SparseField.h.
void SparseField< Data_T >::setBlockOrder | ( | int | order | ) |
Sets the block order (i.e. the power-of-2 to use as block size.
Definition at line 1173 of file SparseField.h.
Referenced by SparseFieldIO::read().
int SparseField< Data_T >::blockOrder | ( | ) | const |
Returns the block order.
Definition at line 1182 of file SparseField.h.
int SparseField< Data_T >::blockSize | ( | ) | const |
Returns the block size.
Definition at line 1190 of file SparseField.h.
Referenced by SparseField< Data_T >::block_iterator::recomputeBlockBoundingBox().
bool SparseField< Data_T >::voxelIsInAllocatedBlock | ( | int | i, |
int | j, | ||
int | k | ||
) | const |
bool SparseField< Data_T >::blockIsAllocated | ( | int | bi, |
int | bj, | ||
int | bk | ||
) | const |
Checks if a block is allocated.
Definition at line 1209 of file SparseField.h.
References Sparse::SparseBlock< Data_T >::isAllocated.
const Data_T SparseField< Data_T >::getBlockEmptyValue | ( | int | bi, |
int | bj, | ||
int | bk | ||
) | const |
Returns the constant value of an block, whether it's allocated already or not..
Definition at line 1218 of file SparseField.h.
void SparseField< Data_T >::setBlockEmptyValue | ( | int | bi, |
int | bj, | ||
int | bk, | ||
const Data_T & | val | ||
) |
Sets the constant value of an block. If the block is already allocated, it gets deallocated.
Definition at line 1226 of file SparseField.h.
References Sparse::SparseBlock< Data_T >::emptyValue, and Sparse::SparseBlock< Data_T >::isAllocated.
bool SparseField< Data_T >::blockIndexIsValid | ( | int | bi, |
int | bj, | ||
int | bk | ||
) | const |
V3i SparseField< Data_T >::blockRes | ( | ) | const |
Returns the resolution of the block array.
Definition at line 1249 of file SparseField.h.
int SparseField< Data_T >::releaseBlocks | ( | Functor_T | func | ) |
Releases any blocks that are deemed empty. This can be used to clean up after algorithms that write "zero" values to the buffer, as well as after any narrow band levelset algorithms.
func | A function object with the method "bool check(SparseBlock&)" |
Definition at line 1258 of file SparseField.h.
References FieldRes::dataResolution().
int SparseField< Data_T >::blockId | ( | int | blockI, |
int | blockJ, | ||
int | blockK | ||
) | const |
Calculates the block number based on a block i,j,k index.
Definition at line 1558 of file SparseField.h.
void SparseField< Data_T >::getBlockCoord | ( | int | i, |
int | j, | ||
int | k, | ||
int & | bi, | ||
int & | bj, | ||
int & | bk | ||
) | const |
Calculates the block coordinates that a given set of voxel coords are in.
Definition at line 1567 of file SparseField.h.
void SparseField< Data_T >::getVoxelInBlock | ( | int | i, |
int | j, | ||
int | k, | ||
int & | vi, | ||
int & | vj, | ||
int & | vk | ||
) | const |
Calculates the coordinates in a block for the given voxel index.
Definition at line 1582 of file SparseField.h.
|
inline |
Applies data window offset.
Definition at line 265 of file SparseField.h.
References FieldRes::m_dataWindow.
|
virtual |
Read access to a voxel. The coordinates are in integer voxel space .
Implements Field< Data_T >.
Definition at line 1306 of file SparseField.h.
|
virtual |
Returns the memory usage (in bytes)
Reimplemented from FieldRes.
Definition at line 1404 of file SparseField.h.
|
virtual |
Write access to a voxel. The coordinates are global coordinates.
Implements WritableField< Data_T >.
Definition at line 1314 of file SparseField.h.
Data_T SparseField< Data_T >::fastValue | ( | int | i, |
int | j, | ||
int | k | ||
) | const |
Read access to voxel. Notice that this is non-virtual.
Definition at line 1322 of file SparseField.h.
References Sparse::SparseBlock< Data_T >::emptyValue, Sparse::SparseBlock< Data_T >::isAllocated, and Sparse::SparseBlock< Data_T >::value().
Data_T & SparseField< Data_T >::fastLValue | ( | int | i, |
int | j, | ||
int | k | ||
) |
Write access to voxel. Notice that this is non-virtual.
Definition at line 1362 of file SparseField.h.
References Sparse::SparseBlock< Data_T >::data, Sparse::SparseBlock< Data_T >::emptyValue, Sparse::SparseBlock< Data_T >::isAllocated, Msg::print(), Msg::SevWarning, and Sparse::SparseBlock< Data_T >::value().
|
inlinevirtual |
Returns the class name of the object. Used by the class pool and when writing the data to disk.
Implements FieldBase.
Definition at line 298 of file SparseField.h.
References SparseField< Data_T >::staticClassName().
|
inlinevirtual |
Returns a pointer to a copy of the field, pure virtual so ensure derived classes properly implement it.
Implements FieldBase.
Definition at line 301 of file SparseField.h.
References SparseField< Data_T >::SparseField().
SparseField< Data_T >::const_iterator SparseField< Data_T >::cbegin | ( | ) | const |
Const iterator to first element. "cbegin" matches the tr1 c++ standard.
Definition at line 1421 of file SparseField.h.
References FieldRes::dataResolution().
SparseField< Data_T >::const_iterator SparseField< Data_T >::cbegin | ( | const Box3i & | subset | ) | const |
SparseField< Data_T >::const_iterator SparseField< Data_T >::cend | ( | ) | const |
Const iterator pointing one element past the last valid one.
Definition at line 1444 of file SparseField.h.
SparseField< Data_T >::const_iterator SparseField< Data_T >::cend | ( | const Box3i & | subset | ) | const |
Const iterator pointing one element past the last valid one (for a subset)
Definition at line 1457 of file SparseField.h.
SparseField< Data_T >::iterator SparseField< Data_T >::begin | ( | ) |
Iterator to first element.
Definition at line 1469 of file SparseField.h.
References FieldRes::dataResolution().
SparseField< Data_T >::iterator SparseField< Data_T >::begin | ( | const Box3i & | subset | ) |
SparseField< Data_T >::iterator SparseField< Data_T >::end | ( | ) |
Iterator pointing one element past the last valid one.
Definition at line 1491 of file SparseField.h.
SparseField< Data_T >::iterator SparseField< Data_T >::end | ( | const Box3i & | subset | ) |
Iterator pointing one element past the last valid one (for a subset)
Definition at line 1503 of file SparseField.h.
SparseField< Data_T >::block_iterator SparseField< Data_T >::blockBegin | ( | ) | const |
SparseField< Data_T >::block_iterator SparseField< Data_T >::blockEnd | ( | ) | const |
Const iterator pointing to element one past the last valid block.
Definition at line 1526 of file SparseField.h.
void SparseField< Data_T >::addReference | ( | const std::string & | filename, |
const std::string & | layerPath, | ||
int | valuesPerBlock, | ||
int | occupiedBlocks | ||
) |
Internal function to create a Reference for the current field, for use in dynamic reading.
Definition at line 1089 of file SparseField.h.
References SparseFileManager::singleton(), and SparseFile::Reference< Data_T >::valuesPerBlock.
Referenced by SparseFieldIO::readData().
void SparseField< Data_T >::setupReferenceBlocks | ( | ) |
Internal function to setup the Reference's block pointers, for use with dynamic reading.
Definition at line 1128 of file SparseField.h.
References SparseFile::Reference< Data_T >::blocks, and SparseFile::Reference< Data_T >::fileBlockIndices.
Referenced by SparseFieldIO::readData().
|
inlineprotectedvirtual |
Subclasses should re-implement this if they need to perform memory allocations, etc. every time the size of the storage changes.
Reimplemented from ResizableField< Data_T >.
Definition at line 371 of file SparseField.h.
References SparseField< Data_T >::setupBlocks(), and ResizableField< Data_T >::sizeChanged().
|
protected |
Initializes the block structure. Will clear any existing data.
Definition at line 1535 of file SparseField.h.
Referenced by SparseField< Data_T >::sizeChanged(), and SparseField< Data_T >::SparseField().
|
protected |
Deallocated the data of the given block and sets its empty value.
Block::clear() deallocates the data
Definition at line 1596 of file SparseField.h.
References Sparse::SparseBlock< Data_T >::clear(), Sparse::SparseBlock< Data_T >::emptyValue, and Sparse::SparseBlock< Data_T >::isAllocated.
|
private |
Copies internal data, including blocks, from another SparseField, used by copy constructor and operator=.
Definition at line 1061 of file SparseField.h.
References SparseFile::Reference< Data_T >::filename, SparseFile::Reference< Data_T >::layerPath, SparseField< Data_T >::m_blockOrder, SparseField< Data_T >::m_blockRes, SparseField< Data_T >::m_blocks, SparseField< Data_T >::m_blockXYSize, SparseField< Data_T >::m_fileId, SparseField< Data_T >::m_fileManager, SparseFile::Reference< Data_T >::occupiedBlocks, and SparseFile::Reference< Data_T >::valuesPerBlock.
Referenced by SparseField< Data_T >::SparseField().
|
private |
Internal function to copy empty values and allocated flags, without copying data, used when copying a dynamically read field.
Definition at line 1107 of file SparseField.h.
References SparseField< Data_T >::m_blocks.
|
friend |
Definition at line 362 of file SparseField.h.
SparseField< Data_T >::DEFINE_FIELD_RTTI_CONCRETE_CLASS |
Definition at line 176 of file SparseField.h.
|
protected |
Block order (size = 2^blockOrder)
Definition at line 394 of file SparseField.h.
Referenced by SparseField< Data_T >::copySparseField(), SparseField< Data_T >::const_iterator::operator*(), SparseField< Data_T >::const_iterator::operator++(), SparseField< Data_T >::iterator::operator++(), SparseField< Data_T >::const_iterator::operator->(), SparseFieldIO::readData(), SparseField< Data_T >::const_iterator::setupNextBlock(), SparseField< Data_T >::iterator::setupNextBlock(), and SparseFieldIO::writeInternal().
|
protected |
Block array resolution.
Definition at line 396 of file SparseField.h.
Referenced by SparseField< Data_T >::copySparseField(), and SparseFieldIO::writeInternal().
|
protected |
Block array res.x * res.y.
Definition at line 398 of file SparseField.h.
Referenced by SparseField< Data_T >::copySparseField().
|
protected |
Information for all blocks in the field.
Definition at line 400 of file SparseField.h.
Referenced by SparseField< Data_T >::copyBlockStates(), SparseField< Data_T >::copySparseField(), SparseFieldIO::readData(), and SparseFieldIO::writeInternal().
|
protected |
Pointer to SparseFileManager. Used when doing dynamic reading. NULL if not in use.
Definition at line 404 of file SparseField.h.
Referenced by SparseField< Data_T >::copySparseField().
|
protected |
File id. Used with m_fileManager if active. Otherwise -1.
Definition at line 406 of file SparseField.h.
Referenced by SparseField< Data_T >::copySparseField().
|
protected |
Dummy value used when needing to return but indicating a failed call.
Definition at line 409 of file SparseField.h.
|
staticprivate |
Definition at line 415 of file SparseField.h.