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 Methods

Protected Methods


Detailed Description

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


Constructor & Destructor Documentation

X3DTK::X3D::Appearance::Appearance  
 

Constructor.

X3DTK::X3D::Appearance::Appearance X3DMaterialNode   material,
X3DTextureNode   texture,
X3DTextureTransformNode   textureTransform,
LineProperties   lineProperties,
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

virtual 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 SFAbstractNode X3DTK::X3D::Appearance::clone   [virtual]
 

Clones the node.

Reimplemented from X3DTK::X3DAbstractNode.

virtual MFAbstractNode X3DTK::X3D::Appearance::getChildrenList   [virtual]
 

Gets the children list.

Reimplemented from X3DTK::X3DAbstractNode.

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.

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

Removes the child if exists. Returns TRUE if succeeds.

Reimplemented from X3DTK::X3DAbstractNode.

virtual 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 FillProperties   fillProperties
 

Sets the FillProperties attribute.

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

Sets the LineProperties attribute.

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

Sets the Material attribute.

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

Sets the Texture attribute.

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

Sets the TextureTransform attribute.


Generated on Thu Dec 4 13:25:59 2003 for X3DToolKit by doxygen1.2.18