NodeMaterialProperties Class Reference

#include <NodeMaterialProperties.h>

Inheritance diagram for NodeMaterialProperties:

Node List of all members.

Public Member Functions

 NodeMaterialProperties (Scene *scene, Proto *proto)
virtual ~NodeMaterialProperties ()
virtual int getType () const
virtual Nodecopy () const
virtual int getNodeClass () const
virtual void bind ()
virtual void unbind ()

Detailed Description

According to the MaterialProperties ProtoNode (for Sound purposes)

  MATERIAL_PROPERTIES {

	exposedField SFFloat ambientIntensity		0.2         # [0,1]
	exposedField SFColor diffuseColor			0.8 0.8 0.8 # [0,1]
	exposedField SFColor emissiveColor			0 0 0       # [0,1]
	exposedField SFFloat shininess				0.2         # [0,1]
	exposedField SFColor specularColor			0 0 0       # [0,1]
	exposedField SFFloat transparency			0           # [0,1]
	exposedField SFString description			"MaterialName"
	exposedField SFFloat  thickness				2
	exposedField SFFloat  materialWeight		16
	exposedField SFInt32  materialType			4 
}


Constructor & Destructor Documentation

NodeMaterialProperties::NodeMaterialProperties ( Scene scene,
Proto proto 
)

virtual NodeMaterialProperties::~NodeMaterialProperties (  )  [inline, virtual]


Member Function Documentation

virtual int NodeMaterialProperties::getType (  )  const [inline, virtual]

Returns the Type of a Node in the Node subclasses(here pure virtual). E.g. for the NodeGroup it returns NODE_GROUP

Implements Node.

virtual Node* NodeMaterialProperties::copy (  )  const [inline, virtual]

Creates a new instance of that Node in the Node subclasses(here pure virtual).

Implements Node.

virtual int NodeMaterialProperties::getNodeClass (  )  const [inline, virtual]

Returns a NODE_CHILD as a node class (used to validate the scene)

Reimplemented from Node.

void NodeMaterialProperties::bind (  )  [virtual]

To be overriden by the subclasses

Reimplemented from Node.

void NodeMaterialProperties::unbind (  )  [virtual]

To be overriden by the subclasses

Reimplemented from Node.


Generated on Thu Jan 18 10:06:19 2007 for vhdPLUS by  doxygen 1.5.1-p1