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

Appearance Class Reference

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

Inherits X3DAppearanceNode.

List of all members.

Public Member Functions

Protected Member Functions


Detailed Description

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


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.

virtual ~Appearance  )  [virtual]
 

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.

SFNode getLineProperties  )  const [inline]
 

Gets the LineProperties attribute.

SFNode getMaterial  )  const [inline]
 

Gets the Material attribute.

SFNode getTexture  )  const [inline]
 

Gets the Texture attribute.

SFNode getTextureTransform  )  const [inline]
 

Gets the TextureTransform attribute.

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.


Generated on Mon May 26 16:04:20 2003 for X3DToolKit by doxygen1.3