Allows accessing a 2D buffer for slice and volumeSkin rendering. More...
#include <LDM/SoLDMTileManager.h>
Public Member Functions | |
virtual | ~LDMSliceAccessor () |
virtual SoBufferObject * | getOrthoSliceBuffer (const SoLDMTileID &tile, int sliceAxis, int slice, SoState *state=NULL, bool useExtendedData=false)=0 |
virtual void | releaseOrthoSliceBuffer (SoBufferObject *)=0 |
virtual void | setLargeSliceSupport (SbBool flag)=0 |
Allows accessing a 2D buffer for slice and volumeSkin rendering.
When needing to render an SoOrthoSlice or SoVolumeSkin, LDM accesses the 2D buffer needed by calling the functions of the tile manager inner slice accessor object.
virtual SoLDMTileManager::LDMSliceAccessor::~LDMSliceAccessor | ( | ) | [inline, virtual] |
Default Destructor.
virtual SoBufferObject* SoLDMTileManager::LDMSliceAccessor::getOrthoSliceBuffer | ( | const SoLDMTileID & | tile, | |
int | sliceAxis, | |||
int | slice, | |||
SoState * | state = NULL , |
|||
bool | useExtendedData = false | |||
) | [pure virtual] |
Access the 2D buffer of the given slice along the sliceAxis axis at sliceNumber position within the tile.
virtual void SoLDMTileManager::LDMSliceAccessor::releaseOrthoSliceBuffer | ( | SoBufferObject * | ) | [pure virtual] |
Release the buffer returned by getOrthoSliceBuffer.
virtual void SoLDMTileManager::LDMSliceAccessor::setLargeSliceSupport | ( | SbBool | flag | ) | [pure virtual] |
Specifies the kind of slice the accessor is managing.