Open Inventor Release 2024.1.3
 
Loading...
Searching...
No Matches
SoBufferPropertiesInterface Class Referenceabstract

Large Data Management LDM interface to optimize memory management of tiles . More...

#include <LDM/tiles/SoBufferPropertiesInterface.h>

+ Inheritance diagram for SoBufferPropertiesInterface:

Public Member Functions

 SoBufferPropertiesInterface ()
 Default constructor.
 
virtual ~SoBufferPropertiesInterface ()
 Destructor.
 
virtual bool getMinMax (double &min, double &max)=0
 Get the min and max values in the buffer, if they are known.
 
virtual size_t getRealSize () const =0
 Returns the real size of the buffer in bytes.
 

Friends

class SoCpuBufferCompressedImpl
 
class SoCpuBufferUniformImpl
 
class SoCpuBufferBitSetImpl
 
class SoCpuBufferFromVolumeReaderImpl
 

Detailed Description

Large Data Management LDM interface to optimize memory management of tiles .

Specialized buffer object classes may implement this interface to provide additional information about the contents of the buffer.

SEE ALSO

SoBufferObject SoCpuBufferCompressed SoCpuBufferUniform

Definition at line 48 of file SoBufferPropertiesInterface.h.

Constructor & Destructor Documentation

◆ SoBufferPropertiesInterface()

SoBufferPropertiesInterface::SoBufferPropertiesInterface ( )

Default constructor.

◆ ~SoBufferPropertiesInterface()

virtual SoBufferPropertiesInterface::~SoBufferPropertiesInterface ( )
virtual

Destructor.

Member Function Documentation

◆ getMinMax()

virtual bool SoBufferPropertiesInterface::getMinMax ( double &  min,
double &  max 
)
pure 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.

Parameters
minuser variable to store min value
maxuser variable to store max value

Implemented in SoCpuBufferBasicProperty, SoCpuBufferBitSet, SoCpuBufferCompressed, SoCpuBufferFromVolumeReader, and SoCpuBufferUniform.

◆ getRealSize()

virtual size_t SoBufferPropertiesInterface::getRealSize ( ) const
pure virtual

Returns the real size of the buffer in bytes.


For a standard buffer this is the same as the size. For a compressed buffer this is the compressed size. For a uniform (single value) buffer this is the size of a single value.

Implemented in SoCpuBufferBasicProperty, SoCpuBufferBitSet, SoCpuBufferCompressed, SoCpuBufferFromVolumeReader, and SoCpuBufferUniform.

Friends And Related Symbol Documentation

◆ SoCpuBufferBitSetImpl

friend class SoCpuBufferBitSetImpl
friend

Definition at line 122 of file SoBufferPropertiesInterface.h.

◆ SoCpuBufferCompressedImpl

friend class SoCpuBufferCompressedImpl
friend

Definition at line 120 of file SoBufferPropertiesInterface.h.

◆ SoCpuBufferFromVolumeReaderImpl

friend class SoCpuBufferFromVolumeReaderImpl
friend

Definition at line 123 of file SoBufferPropertiesInterface.h.

◆ SoCpuBufferUniformImpl

friend class SoCpuBufferUniformImpl
friend

Definition at line 121 of file SoBufferPropertiesInterface.h.


The documentation for this class was generated from the following file: