COLLADA 1.4 DOM: domPerspective Class Reference

COLLADA

domPerspective Class Reference

#include <domPerspective.h>

Inheritance diagram for domPerspective:

Inheritance graph
[legend]
Collaboration diagram for domPerspective:

Collaboration graph
[legend]
List of all members.

Detailed Description

The perspective element contains the horizontal field of view of the viewer or 'camera'.

Perspective embodies the appearance of objects relative to each other as determined by their distance from a viewer. Computer graphics techniques apply a perspective projection in order to render 3-D objects onto 2-D surfaces to create properly proportioned images on display monitors. As in the RenderMan® specification, the focal point of the operation is at the local origin and the direction is along the z-axis. The focal length of the implied 'camera' is 1.0.

Public Member Functions

xsNCName getSid () const
 Gets the sid attribute.
void setSid (xsNCName atSid)
 Sets the sid attribute.
domFloat getValue () const
 Gets the value of this element.
void setValue (domFloat val)
 Sets the _value of this element.

Static Public Member Functions

static daeElementRef create (daeInt bytes)
 Creates an instance of this class and returns a daeElementRef referencing it.
static daeMetaElementregisterElement ()
 Creates a daeMetaElement object that describes this element in the meta object reflection framework.

Static Public Attributes

static daeMetaElement_Meta = NULL
 The daeMetaElement that describes this element in the meta object reflection framework.

Protected Member Functions

 domPerspective ()
 Constructor.
virtual ~domPerspective ()
 Destructor.
 domPerspective (const domPerspective &cpy)
 Copy Constructor.
virtual domPerspectiveoperator= (const domPerspective &cpy)
 Overloaded assignment operator.

Protected Attributes

xsNCName attrSid
 The sid attribute is a text string value containing the sub-identifier of this element.
domFloat _value
 The domFloat value of the text data of this element.

Member Function Documentation

daeElementRef domPerspective::create daeInt  bytes  )  [static]
 

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

Parameters:
bytes The size allocated for this instance.
Returns:
a daeElementRef referencing an instance of this object.

xsNCName domPerspective::getSid  )  const [inline]
 

Gets the sid attribute.

Returns:
Returns a xsNCName of the sid attribute.

domFloat domPerspective::getValue  )  const [inline]
 

Gets the value of this element.

Returns:
a domFloat of the value.

daeMetaElement * domPerspective::registerElement  )  [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.

void domPerspective::setSid xsNCName  atSid  )  [inline]
 

Sets the sid attribute.

Parameters:
atSid The new value for the sid attribute.

void domPerspective::setValue domFloat  val  )  [inline]
 

Sets the _value of this element.

Parameters:
val The new value for this element.


Member Data Documentation

xsNCName domPerspective::attrSid [protected]
 

The sid attribute is a text string value containing the sub-identifier of this element.

This value must be unique within the scope of the parent element. Optional attribute.


The documentation for this class was generated from the following files:
  • C:/SVN_wf/COLLADA_DOM/include/1.3/dom/domPerspective.h
  • C:/SVN_wf/COLLADA_DOM/src/1.3/dom/domPerspective.cpp

©2005 Sony Computer Entertainment Inc.. All Rights Reserved.
Generated on Fri Feb 10 16:49:26 2006 for COLLADA 1.4 DOM by doxygen 1.4.3