domImage::domCreate_2d::domSize_ratio Class Reference

#include <domImage.h>

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

List of all members.

Public Member Functions

virtual COLLADA_TYPE::TypeEnum getElementType () const
xsFloat getHeight () const
xsFloat getWidth () const
void setHeight (xsFloat atHeight)
void setWidth (xsFloat atWidth)
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

 domSize_ratio (DAE &dae)
virtual domSize_ratiooperator= (const domSize_ratio &cpy)
virtual ~domSize_ratio ()

Protected Attributes

xsFloat attrHeight
xsFloat attrWidth

Detailed Description

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

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


Constructor & Destructor Documentation

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

Constructor

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

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

Destructor

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


Member Function Documentation

static DLLSPEC daeElementRef domImage::domCreate_2d::domSize_ratio::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.
virtual COLLADA_TYPE::TypeEnum domImage::domCreate_2d::domSize_ratio::getElementType (  )  const [inline, virtual]

Reimplemented from daeElement.

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

xsFloat domImage::domCreate_2d::domSize_ratio::getHeight (  )  const [inline]

Gets the height attribute.

Returns:
Returns a xsFloat of the height attribute.

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

xsFloat domImage::domCreate_2d::domSize_ratio::getWidth (  )  const [inline]

Gets the width attribute.

Returns:
Returns a xsFloat of the width attribute.

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

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

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

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

Overloaded assignment operator

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

static DLLSPEC daeMetaElement* domImage::domCreate_2d::domSize_ratio::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.
void domImage::domCreate_2d::domSize_ratio::setHeight ( xsFloat  atHeight  )  [inline]

Sets the height attribute.

Parameters:
atHeight The new value for the height attribute.

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

void domImage::domCreate_2d::domSize_ratio::setWidth ( xsFloat  atWidth  )  [inline]

Sets the width attribute.

Parameters:
atWidth The new value for the width attribute.

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

virtual daeInt domImage::domCreate_2d::domSize_ratio::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 244 of file dom/domImage.h.


Member Data Documentation

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

Definition at line 246 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:25 2013