domLight::domTechnique_common::domDirectional Class Reference

#include <domLight.h>

Inheritance diagram for domLight::domTechnique_common::domDirectional:
Inheritance graph
[legend]

List of all members.

Public Member Functions

const domTargetable_float3Ref getColor () const
const domTargetableFloat3Ref getColor () const
virtual COLLADA_TYPE::TypeEnum getElementType () const
virtual COLLADA_TYPE::TypeEnum getElementType () const
virtual daeInt typeID () const
virtual daeInt typeID () const

Static Public Member Functions

static DLLSPEC daeElementRef create (DAE &dae)
static DLLSPEC daeElementRef create (DAE &dae)
static daeInt ID ()
static daeInt ID ()
static DLLSPEC daeMetaElementregisterElement (DAE &dae)
static DLLSPEC daeMetaElementregisterElement (DAE &dae)

Protected Member Functions

 domDirectional (DAE &dae)
 domDirectional (DAE &dae)
virtual domDirectionaloperator= (const domDirectional &cpy)
virtual domDirectionaloperator= (const domDirectional &cpy)
virtual ~domDirectional ()
virtual ~domDirectional ()

Protected Attributes

domTargetable_float3Ref elemColor
domTargetableFloat3Ref elemColor

Detailed Description

The directional element declares the parameters required to describe a directional light source. A directional light is one that lights everything from the same direction, regardless of location. The light’s default direction vector in local coordinates is [0,0,-1], pointing down the -Z axis. The actual direction of the light is defined by the transform of the node where the light is instantiated.

The directional element declares the parameters required to describe a directional light source. A directional light is one that lights everything from the same direction, regardless of location. The light's default direction vector in local coordinates is [0,0,-1], pointing down the -Z axis. The actual direction of the light is defined by the transform of the node where the light is instantiated.

Definition at line 122 of file 1.4/dom/domLight.h.


Constructor & Destructor Documentation

domLight::domTechnique_common::domDirectional::domDirectional ( DAE dae  )  [inline, protected]

Constructor

Definition at line 146 of file 1.4/dom/domLight.h.

virtual domLight::domTechnique_common::domDirectional::~domDirectional (  )  [inline, protected, virtual]

Destructor

Definition at line 150 of file 1.4/dom/domLight.h.

domLight::domTechnique_common::domDirectional::domDirectional ( DAE dae  )  [inline, protected]

Constructor

Definition at line 138 of file dom/domLight.h.

virtual domLight::domTechnique_common::domDirectional::~domDirectional (  )  [inline, protected, virtual]

Destructor

Definition at line 142 of file dom/domLight.h.


Member Function Documentation

static DLLSPEC daeElementRef domLight::domTechnique_common::domDirectional::create ( DAE dae  )  [static]

Creates an instance of this class and returns a daeElementRef referencing it.

Returns:
a daeElementRef referencing an instance of this object.
static DLLSPEC daeElementRef domLight::domTechnique_common::domDirectional::create ( DAE dae  )  [static]

Creates an instance of this class and returns a daeElementRef referencing it.

Returns:
a daeElementRef referencing an instance of this object.
const domTargetable_float3Ref domLight::domTechnique_common::domDirectional::getColor (  )  const [inline]

Gets the color element.

Returns:
a daeSmartRef to the color element.

Definition at line 133 of file dom/domLight.h.

const domTargetableFloat3Ref domLight::domTechnique_common::domDirectional::getColor (  )  const [inline]

Gets the color element.

Returns:
a daeSmartRef to the color element.

Definition at line 141 of file 1.4/dom/domLight.h.

virtual COLLADA_TYPE::TypeEnum domLight::domTechnique_common::domDirectional::getElementType (  )  const [inline, virtual]

Reimplemented from daeElement.

Definition at line 117 of file dom/domLight.h.

virtual COLLADA_TYPE::TypeEnum domLight::domTechnique_common::domDirectional::getElementType (  )  const [inline, virtual]

Reimplemented from daeElement.

Definition at line 125 of file 1.4/dom/domLight.h.

static daeInt domLight::domTechnique_common::domDirectional::ID (  )  [inline, static]

Definition at line 118 of file dom/domLight.h.

static daeInt domLight::domTechnique_common::domDirectional::ID (  )  [inline, static]

Definition at line 126 of file 1.4/dom/domLight.h.

virtual domDirectional& domLight::domTechnique_common::domDirectional::operator= ( const domDirectional cpy  )  [inline, protected, virtual]

Overloaded assignment operator

Definition at line 146 of file dom/domLight.h.

virtual domDirectional& domLight::domTechnique_common::domDirectional::operator= ( const domDirectional cpy  )  [inline, protected, virtual]

Overloaded assignment operator

Definition at line 154 of file 1.4/dom/domLight.h.

static DLLSPEC daeMetaElement* domLight::domTechnique_common::domDirectional::registerElement ( DAE dae  )  [static]

Creates a daeMetaElement object that describes this element in the meta object reflection framework. If a daeMetaElement already exists it will return that instead of creating a new one.

Returns:
A daeMetaElement describing this COLLADA element.
static DLLSPEC daeMetaElement* domLight::domTechnique_common::domDirectional::registerElement ( DAE dae  )  [static]

Creates a daeMetaElement object that describes this element in the meta object reflection framework. If a daeMetaElement already exists it will return that instead of creating a new one.

Returns:
A daeMetaElement describing this COLLADA element.
virtual daeInt domLight::domTechnique_common::domDirectional::typeID (  )  const [inline, virtual]

Returns this element's type ID. Every element is an instance of a type specified in the Collada schema, and every schema type has a unique ID.

Returns:
The element's type ID.

Implements daeElement.

Definition at line 119 of file dom/domLight.h.

virtual daeInt domLight::domTechnique_common::domDirectional::typeID (  )  const [inline, virtual]

Returns this element's type ID. Every element is an instance of a type specified in the Collada schema, and every schema type has a unique ID.

Returns:
The element's type ID.

Implements daeElement.

Definition at line 127 of file 1.4/dom/domLight.h.


Member Data Documentation

The color element contains three floating point numbers specifying the color of the light. The color element must occur exactly once.

See also:
domColor

Definition at line 126 of file dom/domLight.h.

The color element contains three floating point numbers specifying the color of the light. The color element must occur exactly once.

See also:
domColor

Definition at line 134 of file 1.4/dom/domLight.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


colladadom
Author(s): Du Hung Hou, Khronos.org, Marcus Barnes, Greg Corson, Herbert Law, Sebastian Schwarz, Steven Thomas, John Hsu (ros package), Tim Field (ros package)
autogenerated on Fri Jan 11 09:31:38 2013