domImage::domCreate_2d Class Reference

#include <domImage.h>

Inheritance diagram for domImage::domCreate_2d:
Inheritance graph
[legend]

List of all members.

Classes

class  domArray
class  domFormat
class  domInit_from
class  domSize_exact
class  domSize_ratio
class  domUnnormalized

Public Types

typedef daeTArray< domArrayRefdomArray_Array
typedef daeSmartRef< domArraydomArrayRef
typedef daeTArray< domFormatRefdomFormat_Array
typedef daeSmartRef< domFormatdomFormatRef
typedef daeTArray
< domInit_fromRef
domInit_from_Array
typedef daeSmartRef< domInit_fromdomInit_fromRef
typedef daeTArray
< domSize_exactRef
domSize_exact_Array
typedef daeSmartRef
< domSize_exact
domSize_exactRef
typedef daeTArray
< domSize_ratioRef
domSize_ratio_Array
typedef daeSmartRef
< domSize_ratio
domSize_ratioRef
typedef daeTArray
< domUnnormalizedRef
domUnnormalized_Array
typedef daeSmartRef
< domUnnormalized
domUnnormalizedRef

Public Member Functions

const domArrayRef getArray () const
const daeElementRefArraygetContents () const
daeElementRefArraygetContents ()
virtual COLLADA_TYPE::TypeEnum getElementType () const
const domFormatRef getFormat () const
const domInit_from_ArraygetInit_from_array () const
domInit_from_ArraygetInit_from_array ()
const domImage_mipsRef getMips () const
const domSize_exactRef getSize_exact () const
const domSize_ratioRef getSize_ratio () const
const domUnnormalizedRef getUnnormalized () const
virtual daeInt typeID () const

Static Public Member Functions

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

Protected Member Functions

 domCreate_2d (DAE &dae)
virtual domCreate_2doperator= (const domCreate_2d &cpy)
virtual ~domCreate_2d ()

Protected Attributes

daeTArray< daeCharArray * > _CMData
daeElementRefArray _contents
daeUIntArray _contentsOrder
domArrayRef elemArray
domFormatRef elemFormat
domInit_from_Array elemInit_from_array
domImage_mipsRef elemMips
domSize_exactRef elemSize_exact
domSize_ratioRef elemSize_ratio
domUnnormalizedRef elemUnnormalized

Detailed Description

Initialize a custom 2d image

Definition at line 153 of file dom/domImage.h.


Member Typedef Documentation

Definition at line 349 of file dom/domImage.h.

Definition at line 346 of file dom/domImage.h.

Definition at line 404 of file dom/domImage.h.

Definition at line 401 of file dom/domImage.h.

Definition at line 650 of file dom/domImage.h.

Definition at line 647 of file dom/domImage.h.

Definition at line 163 of file dom/domImage.h.

Definition at line 160 of file dom/domImage.h.

Definition at line 233 of file dom/domImage.h.

Definition at line 230 of file dom/domImage.h.

Definition at line 304 of file dom/domImage.h.

Definition at line 301 of file dom/domImage.h.


Constructor & Destructor Documentation

domImage::domCreate_2d::domCreate_2d ( DAE dae  )  [inline, protected]

Constructor

Definition at line 822 of file dom/domImage.h.

virtual domImage::domCreate_2d::~domCreate_2d (  )  [inline, protected, virtual]

Destructor

Definition at line 826 of file dom/domImage.h.


Member Function Documentation

static DLLSPEC daeElementRef domImage::domCreate_2d::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 domArrayRef domImage::domCreate_2d::getArray (  )  const [inline]

Gets the array element.

Returns:
a daeSmartRef to the array element.

Definition at line 791 of file dom/domImage.h.

const daeElementRefArray& domImage::domCreate_2d::getContents (  )  const [inline]

Gets the _contents array.

Returns:
Returns a constant reference to the _contents element array.

Definition at line 816 of file dom/domImage.h.

daeElementRefArray& domImage::domCreate_2d::getContents (  )  [inline]

Gets the _contents array.

Returns:
Returns a reference to the _contents element array.

Definition at line 811 of file dom/domImage.h.

virtual COLLADA_TYPE::TypeEnum domImage::domCreate_2d::getElementType (  )  const [inline, virtual]

Reimplemented from daeElement.

Definition at line 156 of file dom/domImage.h.

const domFormatRef domImage::domCreate_2d::getFormat (  )  const [inline]

Gets the format element.

Returns:
a daeSmartRef to the format element.

Definition at line 796 of file dom/domImage.h.

const domInit_from_Array& domImage::domCreate_2d::getInit_from_array (  )  const [inline]

Gets the init_from element array.

Returns:
Returns a constant reference to the array of init_from elements.

Definition at line 806 of file dom/domImage.h.

domInit_from_Array& domImage::domCreate_2d::getInit_from_array (  )  [inline]

Gets the init_from element array.

Returns:
Returns a reference to the array of init_from elements.

Definition at line 801 of file dom/domImage.h.

const domImage_mipsRef domImage::domCreate_2d::getMips (  )  const [inline]

Gets the mips element.

Returns:
a daeSmartRef to the mips element.

Definition at line 781 of file dom/domImage.h.

const domSize_exactRef domImage::domCreate_2d::getSize_exact (  )  const [inline]

Gets the size_exact element.

Returns:
a daeSmartRef to the size_exact element.

Definition at line 771 of file dom/domImage.h.

const domSize_ratioRef domImage::domCreate_2d::getSize_ratio (  )  const [inline]

Gets the size_ratio element.

Returns:
a daeSmartRef to the size_ratio element.

Definition at line 776 of file dom/domImage.h.

const domUnnormalizedRef domImage::domCreate_2d::getUnnormalized (  )  const [inline]

Gets the unnormalized element.

Returns:
a daeSmartRef to the unnormalized element.

Definition at line 786 of file dom/domImage.h.

static daeInt domImage::domCreate_2d::ID (  )  [inline, static]

Definition at line 157 of file dom/domImage.h.

virtual domCreate_2d& domImage::domCreate_2d::operator= ( const domCreate_2d cpy  )  [inline, protected, virtual]

Overloaded assignment operator

Definition at line 830 of file dom/domImage.h.

static DLLSPEC daeMetaElement* domImage::domCreate_2d::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 domImage::domCreate_2d::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 158 of file dom/domImage.h.


Member Data Documentation

Used to store information needed for some content model objects.

Definition at line 763 of file dom/domImage.h.

Used to preserve order in elements that do not specify strict sequencing of sub-elements.

Definition at line 754 of file dom/domImage.h.

Used to preserve order in elements that have a complex content model.

Definition at line 758 of file dom/domImage.h.

Definition at line 739 of file dom/domImage.h.

If not present it is assumed to be R8G8B8A8 linear.

See also:
domFormat

Definition at line 743 of file dom/domImage.h.

init the image data from one or more partial pieces of data. The load attribute indicates what portion of the image will be loaded based on the ''address" specified. mip_generate may be used to complete the image.

See also:
domInit_from

Definition at line 750 of file dom/domImage.h.

Definition at line 732 of file dom/domImage.h.

The surface should be sized to these exact dimensions

See also:
domSize_exact

Definition at line 725 of file dom/domImage.h.

Image size should be relative to the size of the viewport. Ex 1,1 is the same size as the viewport. 0.5,0.5 is 1/2 the size of the viewport

See also:
domSize_ratio

Definition at line 731 of file dom/domImage.h.

Unnormalized addressing of texels. (0-W, 0-H). This cannot be used with mips since the addressing is not uniform per level. This is equivilant to OpenGL textureRECT extension.

See also:
domUnnormalized

Definition at line 738 of file dom/domImage.h.


The documentation for this class was generated from the following file:
 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:24 2013