domLight::domTechnique_common::domPoint Class Reference

#include <domLight.h>

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

List of all members.

Public Member Functions

const domTargetable_float3Ref getColor () const
const domTargetableFloat3Ref getColor () const
const domTargetable_floatRef getConstant_attenuation () const
const domTargetableFloatRef getConstant_attenuation () const
virtual COLLADA_TYPE::TypeEnum getElementType () const
virtual COLLADA_TYPE::TypeEnum getElementType () const
const domTargetable_floatRef getLinear_attenuation () const
const domTargetableFloatRef getLinear_attenuation () const
const domTargetable_floatRef getQuadratic_attenuation () const
const domTargetableFloatRef getQuadratic_attenuation () 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

 domPoint (DAE &dae)
 domPoint (DAE &dae)
virtual domPointoperator= (const domPoint &cpy)
virtual domPointoperator= (const domPoint &cpy)
virtual ~domPoint ()
virtual ~domPoint ()

Protected Attributes

domTargetable_float3Ref elemColor
domTargetableFloat3Ref elemColor
domTargetable_floatRef elemConstant_attenuation
domTargetableFloatRef elemConstant_attenuation
domTargetable_floatRef elemLinear_attenuation
domTargetableFloatRef elemLinear_attenuation
domTargetable_floatRef elemQuadratic_attenuation
domTargetableFloatRef elemQuadratic_attenuation

Detailed Description

The point element declares the parameters required to describe a point light source. A point light source radiates light in all directions from a known location in space. The intensity of a point light source is attenuated as the distance to the light source increases. The position of the light is defined by the transform of the node in which it is instantiated.

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


Constructor & Destructor Documentation

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

Constructor

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

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

Destructor

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

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

Constructor

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

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

Destructor

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


Member Function Documentation

static DLLSPEC daeElementRef domLight::domTechnique_common::domPoint::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::domPoint::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::domPoint::getColor (  )  const [inline]

Gets the color element.

Returns:
a daeSmartRef to the color element.

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

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

Gets the color element.

Returns:
a daeSmartRef to the color element.

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

const domTargetable_floatRef domLight::domTechnique_common::domPoint::getConstant_attenuation (  )  const [inline]

Gets the constant_attenuation element.

Returns:
a daeSmartRef to the constant_attenuation element.

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

const domTargetableFloatRef domLight::domTechnique_common::domPoint::getConstant_attenuation (  )  const [inline]

Gets the constant_attenuation element.

Returns:
a daeSmartRef to the constant_attenuation element.

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

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

Reimplemented from daeElement.

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

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

Reimplemented from daeElement.

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

const domTargetable_floatRef domLight::domTechnique_common::domPoint::getLinear_attenuation (  )  const [inline]

Gets the linear_attenuation element.

Returns:
a daeSmartRef to the linear_attenuation element.

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

const domTargetableFloatRef domLight::domTechnique_common::domPoint::getLinear_attenuation (  )  const [inline]

Gets the linear_attenuation element.

Returns:
a daeSmartRef to the linear_attenuation element.

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

const domTargetable_floatRef domLight::domTechnique_common::domPoint::getQuadratic_attenuation (  )  const [inline]

Gets the quadratic_attenuation element.

Returns:
a daeSmartRef to the quadratic_attenuation element.

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

const domTargetableFloatRef domLight::domTechnique_common::domPoint::getQuadratic_attenuation (  )  const [inline]

Gets the quadratic_attenuation element.

Returns:
a daeSmartRef to the quadratic_attenuation element.

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

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

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

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

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

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

Overloaded assignment operator

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

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

Overloaded assignment operator

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

static DLLSPEC daeMetaElement* domLight::domTechnique_common::domPoint::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::domPoint::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::domPoint::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 179 of file dom/domLight.h.

virtual daeInt domLight::domTechnique_common::domPoint::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 187 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 186 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 194 of file 1.4/dom/domLight.h.

The constant_attenuation is used to calculate the total attenuation of this light given a distance. The equation used is A = constant_attenuation + Dist*linear_attenuation + Dist^2*quadratic_attenuation.

See also:
domConstant_attenuation

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

The constant_attenuation is used to calculate the total attenuation of this light given a distance. The equation used is A = constant_attenuation + Dist*linear_attenuation + Dist^2*quadratic_attenuation.

See also:
domConstant_attenuation

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

The linear_attenuation is used to calculate the total attenuation of this light given a distance. The equation used is A = constant_attenuation + Dist*linear_attenuation + Dist^2*quadratic_attenuation.

See also:
domLinear_attenuation

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

The linear_attenuation is used to calculate the total attenuation of this light given a distance. The equation used is A = constant_attenuation + Dist*linear_attenuation + Dist^2*quadratic_attenuation.

See also:
domLinear_attenuation

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

The quadratic_attenuation is used to calculate the total attenuation of this light given a distance. The equation used is A = constant_attenuation + Dist*linear_attenuation + Dist^2*quadratic_attenuation.

See also:
domQuadratic_attenuation

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

The quadratic_attenuation is used to calculate the total attenuation of this light given a distance. The equation used is A = constant_attenuation + Dist*linear_attenuation + Dist^2*quadratic_attenuation.

See also:
domQuadratic_attenuation

Definition at line 212 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