Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

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

ImagePtr osg::TextureRecord::_image
 

Definition at line 35 of file OSGTextureManager.h.

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

UInt32 osg::TextureRecord::_internalFormat
 

Definition at line 36 of file OSGTextureManager.h.

UInt32 osg::TextureRecord::_externalFormat
 

Definition at line 37 of file OSGTextureManager.h.

Int32 osg::TextureRecord::_textureStage0
 

Definition at line 38 of file OSGTextureManager.h.

Int32 osg::TextureRecord::_textureStage1
 

Definition at line 39 of file OSGTextureManager.h.


The documentation for this struct was generated from the following files:
Generated on Thu Aug 25 04:16:59 2005 for OpenSG by  doxygen 1.4.3