A field is volume in which voxels are computed in real-time using a pre-loaded Octree structure of events defined by a 3D position and a value (float or Vector3)
More...
|
PLATFORM_API | Field (const FieldParameters ¶meters, const Vector3ui &dimensions, const Vector3f &spacing, const Vector3f &offset, const uint32_ts &indices, const floats &values, const OctreeDataType dataType) |
| Constructs a new Field object. More...
|
|
PLATFORM_API Boxd | getBounds () const |
| Gets the bounding box of the field. More...
|
|
PLATFORM_API Vector3i | getDimensions () const |
| Get the Dimensions object. More...
|
|
PLATFORM_API Vector3f | getElementSpacing () const |
| Get the Element Spacing object. More...
|
|
PLATFORM_API Vector3f | getOffset () const |
| Get the Offset object. More...
|
|
PLATFORM_API const uint32_ts & | getOctreeIndices () const |
| Get the Octree Indices object. More...
|
|
PLATFORM_API const floats & | getOctreeValues () const |
| Get the Octree Values object. More...
|
|
PLATFORM_API OctreeDataType | getOctreeDataType () const |
| Get the Octree Data Type object. More...
|
|
void | setCurrentType (const std::string &type) |
|
const std::string & | getCurrentType () const |
|
template<typename T > |
void | updateProperty (const std::string &name, const T &value, const bool triggerCallback=true) |
|
bool | hasProperty (const std::string &name) const |
|
template<typename T > |
T | getProperty (const std::string &name) const |
|
template<typename T > |
T | getPropertyOrValue (const std::string &name, T val) const |
|
void | setProperties (const PropertyMap &properties) |
|
void | setProperties (const std::string &type, const PropertyMap &properties) |
|
void | updateProperties (const PropertyMap &properties) |
|
const auto & | getPropertyMap () const |
|
const auto & | getPropertyMap (const std::string &type) const |
|
strings | getTypes () const |
|
void | clonePropertiesFrom (const PropertyObject &obj) |
|
| BaseObject ()=default |
|
virtual | ~BaseObject ()=default |
|
| BaseObject (const BaseObject &) |
|
BaseObject & | operator= (const BaseObject &rhs) |
|
bool | isModified () const |
|
void | resetModified () |
|
void | markModified (const bool triggerCallback=true) |
|
void | onModified (const ModifiedCallback &callback) |
|
void | clearModifiedCallback () |
|
A field is volume in which voxels are computed in real-time using a pre-loaded Octree structure of events defined by a 3D position and a value (float or Vector3)
Definition at line 36 of file Field.h.