IS3D::NektarModel Class Reference

#include <NektarModel.H>

List of all members.

Public Member Functions

virtual ~NektarModel ()
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 NektarModelRef create (const std::string &filename, int numTriangles, int numTimesteps, const Vector3 &scale=Vector3(1, 1, 1), const CoordinateFrame &cframe=CoordinateFrame())
static NektarModelRef create (const std::string &filename, int numTriangles, int numTimesteps, const double scale, const CoordinateFrame &cframe=CoordinateFrame())

Friends

class PosedNektarModel
class NektarModelObj

Classes

class  PosedNektarModel


Constructor & Destructor Documentation

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


Member Function Documentation

static NektarModelRef IS3D::NektarModel::create ( const std::string &  filename,
int  numTriangles,
int  numTimesteps,
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 NektarModelRef IS3D::NektarModel::create ( const std::string &  filename,
int  numTriangles,
int  numTimesteps,
const double  scale,
const CoordinateFrame &  cframe = CoordinateFrame() 
) [static]

virtual PosedModelRef IS3D::NektarModel::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::NektarModel::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::NektarModel::mainMemorySize (  )  const [virtual]

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


Friends And Related Function Documentation

friend class PosedNektarModel [friend]

friend class NektarModelObj [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