Cast3dImport::Part Class Reference

class Part, 3D geometrical part data container. More...

#include <part.h>

Inheritance diagram for Cast3dImport::Part:

Cast3dImport::Streamble Cast3dImport::Skin

List of all members.

Public Member Functions

void addGeometry (Geometry *geometry)
 Adds geometry.
void addMaterialBinding (const MaterialBinding &material_binding)
 Adds material binding.
void setLocalMatrix (const Matrix4 &m)
 Sets local position/orientation matrix for target geometry of node.
void translate (float x, float y, float z)
 Translates target geometry of part.
void scale (float x, float y, float z)
 Scales target geometry of part.
void rotate (float x, float y, float z, float angle)
 Rotates target geometry of part.

Classes

class  MaterialBinding
 class MaterialBinding, part binding data container. More...


Detailed Description

class Part, 3D geometrical part data container.

Member Function Documentation

void Cast3dImport::Part::addGeometry ( Geometry geometry  )  [inline]

Adds geometry.

Parameters:
geometry pointer Geometry data container.

void Cast3dImport::Part::setLocalMatrix ( const Matrix4 &  m  )  [inline]

Sets local position/orientation matrix for target geometry of node.

Parameters:
m position/orientation.

void Cast3dImport::Part::translate ( float  x,
float  y,
float  z 
) [inline]

Translates target geometry of part.

Parameters:
x,y,z position values.

void Cast3dImport::Part::scale ( float  x,
float  y,
float  z 
) [inline]

Scales target geometry of part.

Parameters:
x,y,z scale values.

void Cast3dImport::Part::rotate ( float  x,
float  y,
float  z,
float  angle 
) [inline]

Rotates target geometry of part.

Parameters:
x,y,z axis of rotation.
angle rotation angle in radians.


The documentation for this class was generated from the following file:
Generated at Thu Oct 9 09:50:24 2008 for the Cast3D by doxygen 1.5.4.