DecalLocator Class Reference


Detailed Description

DecalLocator is a 3d representation of a decal assignment in the scene.

It is always associated with a node that the decal is assigned to.

#include <DecalLocator.h>

Inheritance diagram for DecalLocator:
Inheritance graph
[legend]

List of all members.

Public Member Functions

  DecalLocator ()
  DecalLocator (const DecalLocator &nodeToCopy)
DecalLocator operator= (const DecalLocator &)
virtual bool  isLeafNode () const
virtual void  accept (NodeVisitor &visitor)
virtual bool  isDisplayed () const
  isDisplayed returns true iff both the visibility and the alternate visibility flag are both set.
virtual void  setLabel (const awString::IString &)
virtual awString::IString  getLabel () const
virtual bool  hasDefaultLabel () const
virtual awString::IString  getTemplateGeomId () const
  Returns an id of the root node of its template geometry.
void  setBaseMaterial (MaterialRef material)
virtual MaterialRef  getBaseMaterial () const
  Return the base material for the node.
void  setModelNodeId (const awString::IString &id)
virtual const awString::IString &  getModelNodeId () const
void  setVisibilityDirty ()

Static Public Member Functions

static const awString::IString &  getGeometryId ()

Protected Member Functions

virtual  ~DecalLocator ()

Constructor & Destructor Documentation

DecalLocator ( const DecalLocator nodeToCopy )
virtual ~DecalLocator ( ) [protected, virtual]

Member Function Documentation

DecalLocator& operator= ( const DecalLocator )
virtual bool isLeafNode ( ) const [virtual]

Reimplemented from Node.

virtual void accept ( NodeVisitor visitor ) [virtual]

Reimplemented from Node.

virtual bool isDisplayed ( ) const [virtual]

isDisplayed returns true iff both the visibility and the alternate visibility flag are both set.

Reimplemented from Locator.

virtual void setLabel ( const awString::IString &  ) [virtual]

Reimplemented from Node.

virtual awString::IString getLabel ( ) const [virtual]

Reimplemented from Node.

virtual bool hasDefaultLabel ( ) const [virtual]

Reimplemented from Node.

virtual awString::IString getTemplateGeomId ( ) const [virtual]

Returns an id of the root node of its template geometry.

Implements Locator.

static const awString::IString& getGeometryId ( ) [static]
void setBaseMaterial ( MaterialRef  material )
virtual MaterialRef getBaseMaterial ( ) const [virtual]

Return the base material for the node.

Reimplemented from Node.

void setModelNodeId ( const awString::IString &  id )
virtual const awString::IString& getModelNodeId ( ) const [virtual]

Reimplemented from Node.

void setVisibilityDirty ( )

DecalLocator DecalLocator DecalLocator DecalLocator DecalLocator DecalLocator DecalLocator DecalLocator DecalLocator DecalLocator
DecalLocator DecalLocator DecalLocator DecalLocator DecalLocator DecalLocator DecalLocator DecalLocator DecalLocator DecalLocator