SoBufferPropertiesInterface Class Reference
[Tiles]

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

#include <LDM/tiles/SoBufferPropertiesInterface.h>

Inheritance diagram for SoBufferPropertiesInterface:
SoCpuBufferBasicProperty SoCpuBufferBitSet SoCpuBufferCompressed SoCpuBufferFromVolumeReader SoCpuBufferUniform SoCpuBufferAsyncBasicProperty

List of all members.

Public Member Functions

 SoBufferPropertiesInterface ()
virtual ~SoBufferPropertiesInterface ()
virtual bool getMinMax (double &min, double &max)=0
virtual size_t getRealSize () const =0

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


Constructor & Destructor Documentation

SoBufferPropertiesInterface::SoBufferPropertiesInterface (  ) 

Default constructor.

virtual SoBufferPropertiesInterface::~SoBufferPropertiesInterface (  )  [virtual]

Destructor.


Member Function Documentation

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:
min user variable to store min value
max user variable to store max value

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

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 Function Documentation

friend class SoCpuBufferBitSetImpl [friend]

Reimplemented in SoCpuBufferBitSet.

friend class SoCpuBufferCompressedImpl [friend]

Reimplemented in SoCpuBufferCompressed.

friend class SoCpuBufferFromVolumeReaderImpl [friend]

Reimplemented in SoCpuBufferFromVolumeReader.

friend class SoCpuBufferUniformImpl [friend]

Reimplemented in SoCpuBufferUniform.


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

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/