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

X3DTK::X3D::Appearance Class Reference

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

Inheritance diagram for X3DTK::X3D::Appearance:

X3DTK::X3D::X3DAppearanceNode X3DTK::X3D::X3DNode X3DTK::X3DAbstractNode List of all members.

Public Member Functions

Protected Member Functions


Detailed Description

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


Constructor & Destructor Documentation

X3DTK::X3D::Appearance::Appearance  ) 
 

Constructor.

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

Constructs a Material from its attributes.

virtual X3DTK::X3D::Appearance::~Appearance  )  [virtual]
 

Destructor.

X3DTK::X3D::Appearance::Appearance const Appearance &  A  )  [protected]
 

Copy constructor.


Member Function Documentation

bool X3DTK::X3D::Appearance::addChild const SFAbstractNode &  N  )  [virtual]
 

Adds the child N.

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

Reimplemented from X3DTK::X3DAbstractNode.

virtual SFNode X3DTK::X3D::Appearance::clone  )  const [virtual]
 

Clones the node.

Reimplemented from X3DTK::X3D::X3DAppearanceNode.

SFNode X3DTK::X3D::Appearance::getFillProperties  )  const [inline]
 

Gets the FillProperties attribute.

SFNode X3DTK::X3D::Appearance::getLineProperties  )  const [inline]
 

Gets the LineProperties attribute.

SFNode X3DTK::X3D::Appearance::getMaterial  )  const [inline]
 

Gets the Material attribute.

SFNode X3DTK::X3D::Appearance::getTexture  )  const [inline]
 

Gets the Texture attribute.

SFNode X3DTK::X3D::Appearance::getTextureTransform  )  const [inline]
 

Gets the TextureTransform attribute.

bool X3DTK::X3D::Appearance::removeChild const SFAbstractNode &  N  )  [virtual]
 

Removes the child if exists. Returns TRUE if succeeds.

Reimplemented from X3DTK::X3DAbstractNode.

bool X3DTK::X3D::Appearance::setChild const SFAbstractNode &  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 X3DTK::X3DAbstractNode.

void X3DTK::X3D::Appearance::setFillProperties const FillProperties fillProperties  ) 
 

Sets the FillProperties attribute.

void X3DTK::X3D::Appearance::setLineProperties const LineProperties lineProperties  ) 
 

Sets the LineProperties attribute.

void X3DTK::X3D::Appearance::setMaterial const X3DMaterialNode material  ) 
 

Sets the Material attribute.

void X3DTK::X3D::Appearance::setTexture const X3DTextureNode texture  ) 
 

Sets the Texture attribute.

void X3DTK::X3D::Appearance::setTextureTransform const X3DTextureTransformNode textureTransform  ) 
 

Sets the TextureTransform attribute.


Generated on Tue Jul 15 16:46:58 2003 for X3DToolKit by doxygen1.3