IS3D::VRMLModel Class Reference

#include <VRMLModel.H>

List of all members.

Public Member Functions

virtual ~VRMLModel ()
virtual PosedModelRef pose (const CoordinateFrame &cframe, bool perVertexNormals=true)
virtual PosedModelRef pose (const CoordinateFrame &cframe, const GMaterial &material, bool perVertexNormals=true)
virtual size_t mainMemorySize () const
virtual const MeshAlg::Geometry & getGeometry ()

Static Public Member Functions

static VRMLModelRef create (const std::string &filename, const Vector3 &scale=Vector3(1, 1, 1), const CoordinateFrame &cframe=CoordinateFrame())
static VRMLModelRef create (const std::string &filename, const double scale, const CoordinateFrame &cframe=CoordinateFrame())

Friends

class PosedVRMLModel
class VRMLObj

Classes

class  PosedVRMLModel


Constructor & Destructor Documentation

virtual IS3D::VRMLModel::~VRMLModel (  )  [virtual]


Member Function Documentation

static VRMLModelRef IS3D::VRMLModel::create ( const std::string &  filename,
const Vector3 &  scale = Vector3(1, 1, 1),
const CoordinateFrame &  cframe = CoordinateFrame() 
) [static]

Throws an std::string describing the error if anything goes wrong.

Parameters:
scale 3D scale factors to apply to vertices while loading (*after* cframe)
cframe Coordinate transform to apply to vertices while loading. This is not part of the object to world transformation for the model when posed; it really modifies the object space geometry.

static VRMLModelRef IS3D::VRMLModel::create ( const std::string &  filename,
const double  scale,
const CoordinateFrame &  cframe = CoordinateFrame() 
) [static]

virtual PosedModelRef IS3D::VRMLModel::pose ( const CoordinateFrame &  cframe,
bool  perVertexNormals = true 
) [virtual]

If perVertexNormals is false, the model is rendered with per-face normals, which are slower. No color or texture is set when rendered (that is, the existing RenderDevice values are used.)

virtual PosedModelRef IS3D::VRMLModel::pose ( const CoordinateFrame &  cframe,
const GMaterial &  material,
bool  perVertexNormals = true 
) [virtual]

If perVertexNormals is false, the model is rendered with per-face normals, which are slower.

virtual size_t IS3D::VRMLModel::mainMemorySize (  )  const [virtual]

virtual const MeshAlg::Geometry& IS3D::VRMLModel::getGeometry (  )  [inline, virtual]


Friends And Related Function Documentation

friend class PosedVRMLModel [friend]

friend class VRMLObj [friend]


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

Generated on Wed Jan 26 06:31:21 2011 for IS3D by  doxygen 1.5.6