![]() |
Blue Brain BioExplorer
|
#include <OSPRayVolume.h>
Public Member Functions | |
OSPRayBrickedVolume (const Vector3ui &dimensions, const Vector3f &spacing, const DataType type, const VolumeParameters ¶ms, OSPTransferFunction transferFunction) | |
Constructs a new BrickedVolume object. More... | |
void | setBrick (const void *data, const Vector3ui &position, const Vector3ui &size) final |
![]() | |
PLATFORM_API | Volume (const Vector3ui &dimensions, const Vector3f &spacing, const DataType type) |
Constructs a Volume object. More... | |
PLATFORM_API Vector2f | getDataRange () const |
PLATFORM_API size_t | getSizeInBytes () const |
Gets the size of the volume in bytes. More... | |
PLATFORM_API Boxd | getBounds () const |
Gets the bounding box of the volume. More... | |
PLATFORM_API Vector3f | 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 Vector2f | getValueRange () const |
Get the Value Range object. More... | |
![]() | |
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 () |
![]() | |
OSPRayVolume (const Vector3ui &dimensions, const Vector3f &spacing, const DataType type, const VolumeParameters ¶ms, OSPTransferFunction transferFunction, const std::string &volumeType) | |
~OSPRayVolume () | |
void | setDataRange (const Vector2f &range) final |
void | commit () final |
Commits changes to the volume. More... | |
OSPVolume | impl () const |
Additional Inherited Members | |
![]() | |
using | ModifiedCallback = std::function< void(const BaseObject &)> |
![]() | |
BrickedVolume (const Vector3ui &dimensions, const Vector3f &spacing, const DataType type) | |
Constructs a new BrickedVolume object. More... | |
![]() | |
template<typename T > | |
void | _updateValue (T &member, const T &newValue, const bool triggerCallback=true) |
template<class T > | |
bool | _isEqual (const T &a, const T &b, typename std::enable_if< std::is_floating_point< T >::value >::type *=0) |
template<class T > | |
bool | _isEqual (const T &a, const T &b, typename std::enable_if<!std::is_floating_point< T >::value >::type *=0) |
![]() | |
std::atomic_size_t | _sizeInBytes {0} |
const Vector3ui | _dimensions |
const Vector3f | _spacing |
Vector3f | _offset |
const DataType | _dataType |
Vector2f | _valueRange {-1e6f, 1e6f} |
![]() | |
size_t | _dataSize {0} |
const VolumeParameters & | _parameters |
OSPVolume | _volume |
OSPDataType | _ospType |
Definition at line 58 of file OSPRayVolume.h.
core::engine::ospray::OSPRayBrickedVolume::OSPRayBrickedVolume | ( | const Vector3ui & | dimensions, |
const Vector3f & | spacing, | ||
const DataType | type, | ||
const VolumeParameters & | params, | ||
OSPTransferFunction | transferFunction | ||
) |
Constructs a new BrickedVolume object.
dimensions | The dimensions of the volume as a Vector3ui object. |
spacing | The spacing between voxels as a Vector3f object. |
type | The data type of the volume. |
Definition at line 86 of file OSPRayVolume.cpp.
|
finalvirtual |
Implements core::BrickedVolume.
Definition at line 110 of file OSPRayVolume.cpp.