mod_base::Craft::Part Class Reference

Defines a part of a mesh. More...

#include <mod_base_craft.hh>

List of all members.

Public Member Functions

 Part (Craft &craft, const string &partitionName, const Degree degreeMin, const Degree degreeMax)
void Enable (const bool enable=true)
bool IfEnabled (void) const

Public Attributes

bool mEnabled
Degree mDegree
const Degree mDegreeMin
const Degree mDegreeMax
const PartitionNode::Ptr mPartitionNode
const Node::Ptr mParentNode
const TransformNode::Ptr mTransformNode

Friends

class Craft


Detailed Description

Defines a part of a mesh.

Constructor & Destructor Documentation

mod_base::Craft::Part::Part ( Craft craft,
const string &  partitionName,
const Degree  degreeMin,
const Degree  degreeMax 
)

ctor.


Member Function Documentation

void mod_base::Craft::Part::Enable ( const bool  enable = true  ) 

Enable/disable by attaching/detaching PartitionNode.

bool mod_base::Craft::Part::IfEnabled ( void   )  const

Returns:
True if Part is enabled/drawable.


Friends And Related Function Documentation

friend class Craft [friend]


Member Data Documentation

bool mod_base::Craft::Part::mEnabled

Degree mod_base::Craft::Part::mDegree

const Degree mod_base::Craft::Part::mDegreeMin

const Degree mod_base::Craft::Part::mDegreeMax

const PartitionNode::Ptr mod_base::Craft::Part::mPartitionNode

const Node::Ptr mod_base::Craft::Part::mParentNode

const TransformNode::Ptr mod_base::Craft::Part::mTransformNode


The documentation for this class was generated from the following files: Palomino 3D Engine documents generated by doxygen 1.5.3 on Fri Nov 23 11:26:29 2007