COLLADA 1.4 DOM: domCamera::domTechnique Class Reference

COLLADA

domCamera::domTechnique

domCamera::domTechnique Class Reference

#include <domCamera.h>

Inheritance diagram for domCamera::domTechnique:

Inheritance graph
[legend]
Collaboration diagram for domCamera::domTechnique:

Collaboration graph
[legend]
List of all members.

Detailed Description

The camera element contains one or more technique elements that describe its operating parameters for optics and imaging.

The camera technique element must contain an optics element and zero or more imager elements. The optics and imager elements each contain a program element. For simple cameras, a generic technique need only contain an optics element that describes the field of view and viewing frustum using canonical parameters.

Public Types

typedef daeSmartRef< domOptics > domOpticsRef
typedef daeTArray< domOpticsRefdomOptics_Array
typedef daeSmartRef< domImager > domImagerRef
typedef daeTArray< domImagerRefdomImager_Array

Public Member Functions

xsString getProfile () const
 Gets the profile attribute.
void setProfile (xsString atProfile)
 Sets the profile attribute.
const domAssetRef getAsset () const
 Gets the asset element.
const domOpticsRef getOptics () const
 Gets the optics element.
const domImagerRef getImager () const
 Gets the imager 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

 domTechnique ()
 Constructor.
virtual ~domTechnique ()
 Destructor.
 domTechnique (const domTechnique &cpy)
 Copy Constructor.
virtual domTechniqueoperator= (const domTechnique &cpy)
 Overloaded assignment operator.

Protected Attributes

xsString attrProfile
 The profile attribute indicates the type of profile.
domAssetRef elemAsset
 The asset element may occur zero or one time.
domOpticsRef elemOptics
domImagerRef elemImager

Member Function Documentation

daeElementRef domCamera::domTechnique::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.

const domAssetRef domCamera::domTechnique::getAsset  )  const [inline]
 

Gets the asset element.

Returns:
a daeSmartRef to the asset element.

const domImagerRef domCamera::domTechnique::getImager  )  const [inline]
 

Gets the imager element.

Returns:
a daeSmartRef to the imager element.

const domOpticsRef domCamera::domTechnique::getOptics  )  const [inline]
 

Gets the optics element.

Returns:
a daeSmartRef to the optics element.

xsString domCamera::domTechnique::getProfile  )  const [inline]
 

Gets the profile attribute.

Returns:
Returns a xsString of the profile attribute.

daeMetaElement * domCamera::domTechnique::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 domCamera::domTechnique::setProfile xsString  atProfile  )  [inline]
 

Sets the profile attribute.

Parameters:
atProfile The new value for the profile attribute.


Member Data Documentation

xsString domCamera::domTechnique::attrProfile [protected]
 

The profile attribute indicates the type of profile.

This is a vendor defined character string that indicates the platform or capability target for the technique. Required attribute.

domAssetRef domCamera::domTechnique::elemAsset [protected]
 

The asset element may occur zero or one time.

See also:
domAsset

domImagerRef domCamera::domTechnique::elemImager [protected]
 

See also:
domImager

domOpticsRef domCamera::domTechnique::elemOptics [protected]
 

See also:
domOptics


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

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