osg::TextureRecord Struct Reference

*put brief class description here* Auxiliary class for DVRVolume. It is intended for texture management and bricking.

#include <OSGTextureManager.h>

List of all members.

Public Member Functions

 TextureRecord (ImagePtr img, UInt32 internal, UInt32 externalFormat, Int32 stage0, Int32 stage1)
 ! --- CLASS TextureRecord -------------------------------------------------
 ~TextureRecord (void)

Public Attributes

ImagePtr _image
UInt32 _internalFormat
UInt32 _externalFormat
Int32 _textureStage0
Int32 _textureStage1

Private Member Functions

 TextureRecord (const TextureRecord &source)
void operator= (const TextureRecord &source)


Detailed Description

Definition at line 33 of file OSGTextureManager.h.


Constructor & Destructor Documentation

osg::TextureRecord::TextureRecord ( ImagePtr  img,
UInt32  internal,
UInt32  externalFormat,
Int32  stage0,
Int32  stage1 
)

Definition at line 30 of file OSGTextureManager.cpp.

References _image, and osg::addRefCP().

00034                                               :
00035     _internalFormat(internal      ),
00036     _externalFormat(externalFormat),
00037     _textureStage0 (stage0        ),
00038     _textureStage1 (stage1        )
00039 {
00040     _image = img;
00041     addRefCP(_image);
00042 }

osg::TextureRecord::~TextureRecord ( void   ) 

Definition at line 44 of file OSGTextureManager.cpp.

References _image, osg::NullFC, and osg::subRefCP().

00045 {
00046     subRefCP(_image);
00047     _image = NullFC;
00048 }

osg::TextureRecord::TextureRecord ( const TextureRecord source  )  [private]

! We do not want the copy constructor to be called - ! would require deep copy


Member Function Documentation

void osg::TextureRecord::operator= ( const TextureRecord source  )  [private]


Member Data Documentation

Definition at line 35 of file OSGTextureManager.h.

Referenced by TextureRecord(), and ~TextureRecord().

Definition at line 36 of file OSGTextureManager.h.

Definition at line 37 of file OSGTextureManager.h.

Definition at line 38 of file OSGTextureManager.h.

Definition at line 39 of file OSGTextureManager.h.


The documentation for this struct was generated from the following files:

Generated on Mon Mar 17 12:08:35 2008 for OpenSG by  doxygen 1.5.5