LDM buffer object handling basic LDM tile information. More...
#include <LDM/tiles/SoCpuBufferBasicProperty.h>
Public Member Functions | |
SoCpuBufferBasicProperty () | |
virtual bool | getMinMax (double &min, double &max) |
virtual void | setMinMax (const double &min, const double &max) |
virtual size_t | getRealSize () const |
This type of buffer represents a standard LDM tile.
SoBufferPropertiesInterface, SoCpuBufferObject, SoCpuBufferUniform, SoCpuBufferCompressed
SoCpuBufferBasicProperty::SoCpuBufferBasicProperty | ( | ) |
Default constructor.
virtual bool SoCpuBufferBasicProperty::getMinMax | ( | double & | min, | |
double & | max | |||
) | [virtual] |
Get the min and max values in the buffer, if they are known.
Returns false if these values have not been set or computed. Returns true if values are available.
min | user variable to store min value | |
max | user variable to store max value |
Implements SoBufferPropertiesInterface.
virtual size_t SoCpuBufferBasicProperty::getRealSize | ( | ) | const [virtual] |
Returns the size of the buffer in bytes.
For this type of buffer the real size is the same as the size of the SoBufferObject.
Implements SoBufferPropertiesInterface.
virtual void SoCpuBufferBasicProperty::setMinMax | ( | const double & | min, | |
const double & | max | |||
) | [virtual] |
Set the min and max values for this buffer.
min | user variable containing min value | |
max | user variable containing max value |