Field3D
|
#include <Field.h>
Classes | |
class | iterator |
Public Types | |
typedef WritableField< Data_T > | class_type |
typedef boost::intrusive_ptr < WritableField > | Ptr |
Public Member Functions | |
iterator | begin () |
Iterator to first element. | |
iterator | begin (const Box3i &subset) |
Iterator to first element of specific subset. | |
virtual void | clear (const Data_T &value) |
Clears all the voxels in the storage. Should be re-implemented by subclasses that can provide a more efficient version. | |
iterator | end () |
Iterator pointing one element past the last valid one. | |
iterator | end (const Box3i &subset) |
Iterator pointing one element past the last valid one (for a subset) | |
virtual Data_T & | lvalue (int i, int j, int k)=0 |
Write access to a voxel. The coordinates are global coordinates. | |
Static Public Member Functions | |
static const char * | classType () |
static const char * | staticClassName () |
Public Attributes | |
DEFINE_FIELD_RTTI_ABSTRACT_CLASS | |
Private Types | |
typedef Field< Data_T > | base |
Convenience typedef for referring to base class. | |
Static Private Attributes | |
static TemplatedFieldType < WritableField< Data_T > > | ms_classType |
This class brings together both read- and write-access to voxels. The buffer can not be resized. Resizing is added by ResizableField.
typedef boost::intrusive_ptr<WritableField> WritableField::Ptr |
Reimplemented from Field< Data_T >.
Reimplemented in ResizableField.
typedef WritableField<Data_T> WritableField::class_type |
Reimplemented from Field< Data_T >.
Reimplemented in ResizableField.
typedef Field<Data_T> WritableField::base [private] |
Convenience typedef for referring to base class.
Reimplemented from Field< Data_T >.
Reimplemented in ResizableField.
static const char* WritableField::staticClassName | ( | ) | [inline, static] |
Reimplemented from Field< Data_T >.
Reimplemented in ResizableField.
Definition at line 610 of file Field.h.
{ return "WritableField"; }
static const char* WritableField::classType | ( | ) | [inline, static] |
Reimplemented from Field< Data_T >.
Reimplemented in ResizableField.
Definition at line 615 of file Field.h.
{ return WritableField<Data_T>::ms_classType.name(); }
iterator WritableField::begin | ( | ) | [inline] |
Iterator to first element.
Referenced by WritableField< Data_T >::clear().
Iterator to first element of specific subset.
iterator WritableField::end | ( | ) | [inline] |
Iterator pointing one element past the last valid one.
Referenced by WritableField< Data_T >::clear(), and WritableField< Data_T >::begin().
Iterator pointing one element past the last valid one (for a subset)
virtual Data_T& WritableField::lvalue | ( | int | i, |
int | j, | ||
int | k | ||
) | [pure virtual] |
Write access to a voxel. The coordinates are global coordinates.
virtual void WritableField::clear | ( | const Data_T & | value | ) | [inline, virtual] |
Reimplemented from Field< Data_T >.
Reimplemented in ResizableField.
TemplatedFieldType<WritableField<Data_T> > WritableField::ms_classType [static, private] |
Reimplemented from Field< Data_T >.
Reimplemented in ResizableField.