Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  

Appearance Class Reference

Class of the Shape component defining an Appearance (X3D documentation). More...

Inheritance diagram for Appearance:

X3DAppearanceNode X3DNode X3DAbstractNode List of all members.

Public Member Functions

Protected Member Functions


Detailed Description

Class of the Shape component defining an Appearance (X3D documentation).

Definition at line 24 of file Appearance.h.


Constructor & Destructor Documentation

Appearance  ) 
 

Constructor.

Appearance const X3DMaterialNode material,
const X3DTextureNode texture,
const X3DTextureTransformNode textureTransform,
const LineProperties lineProperties,
const FillProperties fillProperties
 

Constructs a Material from its attributes.

~Appearance  ) 
 

Destructor.

Appearance const Appearance &  A  )  [protected]
 

Copy constructor.


Member Function Documentation

bool addChild const SFNode &  N  )  [virtual]
 

Adds the child N.

Returns FALSE if the child already exists or N is not a valid child.

Reimplemented from X3DAbstractNode.

virtual void addScenesToChildren const MFScene &  sceneList  )  [protected, virtual]
 

Adds the sceneList to the children.

Reimplemented from X3DAbstractNode.

virtual SFNode clone  )  const [virtual]
 

Clones the node.

Reimplemented from X3DAppearanceNode.

SFNode getFillProperties  )  const [inline]
 

Gets the FillProperties attribute.

Definition at line 60 of file Appearance.h.

SFNode getLineProperties  )  const [inline]
 

Gets the LineProperties attribute.

Definition at line 58 of file Appearance.h.

SFNode getMaterial  )  const [inline]
 

Gets the Material attribute.

Definition at line 52 of file Appearance.h.

SFNode getTexture  )  const [inline]
 

Gets the Texture attribute.

Definition at line 54 of file Appearance.h.

SFNode getTextureTransform  )  const [inline]
 

Gets the TextureTransform attribute.

Definition at line 56 of file Appearance.h.

bool removeChild const SFNode &  N  )  [virtual]
 

Removes the child if exists. Returns TRUE if succeeds.

Reimplemented from X3DAbstractNode.

virtual void removeScenesToChildren const MFScene &  sceneList  )  [protected, virtual]
 

Removes the sceneList to the children.

Reimplemented from X3DAbstractNode.

bool setChild const SFNode &  N  )  [virtual]
 

Sets the child N.

Returns FALSE if N is not a valid child. If the child already exists then N becomes the new child.

Reimplemented from X3DAbstractNode.

void setFillProperties const FillProperties fillProperties  ) 
 

Sets the FillProperties attribute.

void setLineProperties const LineProperties lineProperties  ) 
 

Sets the LineProperties attribute.

void setMaterial const X3DMaterialNode material  ) 
 

Sets the Material attribute.

void setTexture const X3DTextureNode texture  ) 
 

Sets the Texture attribute.

void setTextureTransform const X3DTextureTransformNode textureTransform  ) 
 

Sets the TextureTransform attribute.


The documentation for this class was generated from the following file:
Generated on Wed May 14 10:38:11 2003 for X3DToolKit by doxygen1.3