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

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.


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

Open Inventor by FEI reference manual, generated on 19 Aug 2019
Copyright © FEI S.A.S. All rights reserved.
http://www.openinventor.com/