Main Page | Namespace List | Class List | Directories | File List | Class Members | File Members

osgCal::SubMeshHardware Class Reference

List of all members.

Public Types

typedef std::map< std::string,
osg::ref_ptr< osg::Texture2D > > 
Name2Texture

Public Member Functions

 SubMeshHardware ()
 SubMeshHardware (CalModel *model, int mesh)
osg::Object * cloneType () const
void update (void)
void InitHardwareMesh (osg::ref_ptr< osg::Vec3Array > vertices, osg::ref_ptr< osg::Vec4Array > weights, osg::ref_ptr< osg::Vec3Array > normals, osg::ref_ptr< osg::Vec4Array > matrixs, osg::ref_ptr< osg::Vec2Array > uvs, CalIndex *idx, int nbIdxs, osg::VertexProgram *vp3, CalHardwareModel *hardwareModel, unsigned int *vbo, unsigned int idxVbo)
void drawImplementation (osg::State &state) const
bool computeBound () const
osg::Object * clone (const osg::CopyOp &) const
const std::string & getName (void)
void setName (const std::string &name)

Public Attributes

osg::VertexProgram * mVp
int mMeshId
osg::BoundingBox _staticbbox

Protected Member Functions

 ~SubMeshHardware ()

Member Typedef Documentation

typedef std::map<std::string, osg::ref_ptr<osg::Texture2D> > osgCal::SubMeshHardware::Name2Texture
 


Constructor & Destructor Documentation

osgCal::SubMeshHardware::~SubMeshHardware  )  [protected]
 

osgCal::SubMeshHardware::SubMeshHardware  ) 
 

osgCal::SubMeshHardware::SubMeshHardware CalModel *  model,
int  mesh
 

Creates a submesh for one model given the mesh and submesh of this mesh


Member Function Documentation

osg::Object* osgCal::SubMeshHardware::clone const osg::CopyOp &   )  const
 

osg::Object* osgCal::SubMeshHardware::cloneType  )  const [inline]
 

bool osgCal::SubMeshHardware::computeBound  )  const
 

void osgCal::SubMeshHardware::drawImplementation osg::State &  state  )  const
 

const std::string& osgCal::SubMeshHardware::getName void   )  [inline]
 

void osgCal::SubMeshHardware::InitHardwareMesh osg::ref_ptr< osg::Vec3Array >  vertices,
osg::ref_ptr< osg::Vec4Array >  weights,
osg::ref_ptr< osg::Vec3Array >  normals,
osg::ref_ptr< osg::Vec4Array >  matrixs,
osg::ref_ptr< osg::Vec2Array >  uvs,
CalIndex *  idx,
int  nbIdxs,
osg::VertexProgram *  vp3,
CalHardwareModel *  hardwareModel,
unsigned int *  vbo,
unsigned int  idxVbo
 

Init class for hardware skinning

void osgCal::SubMeshHardware::setName const std::string &  name  )  [inline]
 

void osgCal::SubMeshHardware::update void   )  [inline]
 


Member Data Documentation

osg::BoundingBox osgCal::SubMeshHardware::_staticbbox
 

int osgCal::SubMeshHardware::mMeshId
 

osg::VertexProgram* osgCal::SubMeshHardware::mVp
 


The documentation for this class was generated from the following file:
Generated on Fri Jun 17 13:19:47 2005 for osgCal by  doxygen 1.4.3-20050530