version 3.3

VRS::TEXT::UniformValue Class Reference

A class for specifying coordinates in screen values (0.0 to 1.0) and pixel offsets at the same time. More...

#include <vrs/text/uniformvalue.h>

Inheritance diagram for VRS::TEXT::UniformValue:

VRS::SharedObj VRS::Visitable

List of all members.

Public Member Functions

 UniformValue (float absolute=0.0f, int relative=0)
 Constructor.
virtual ~UniformValue ()
 Destructor.
void operator= (class UniformValue const &)
int getRelative () const
 Sets the pixel values added to the relative screen position.
void setRelative (int relative)
 Returns the pixel values added to the relative screen position.
float getAbsolute () const
 Return the size to Screen/Full from 0.0 to 1.0.
void setAbsolute (float absolute)
 Sets the size to Screen/Full from 0.0 to 1.0.
 VRS_TYPEINFO (UniformValue, SharedObj)
 VRS_SERIALIZABLE (UniformValue)

Static Public Attributes

static const UniformValue ZERO
 Zero constant.
static const UniformValue UNIT


Detailed Description

A class for specifying coordinates in screen values (0.0 to 1.0) and pixel offsets at the same time.

Constructor & Destructor Documentation

VRS::TEXT::UniformValue::UniformValue ( float  absolute = 0.0f,
int  relative = 0 
)

Constructor.

virtual VRS::TEXT::UniformValue::~UniformValue (  )  [inline, virtual]

Destructor.


Member Function Documentation

void VRS::TEXT::UniformValue::operator= ( class UniformValue const &   ) 

int VRS::TEXT::UniformValue::getRelative (  )  const

Sets the pixel values added to the relative screen position.

void VRS::TEXT::UniformValue::setRelative ( int  relative  ) 

Returns the pixel values added to the relative screen position.

float VRS::TEXT::UniformValue::getAbsolute (  )  const

Return the size to Screen/Full from 0.0 to 1.0.

void VRS::TEXT::UniformValue::setAbsolute ( float  absolute  ) 

Sets the size to Screen/Full from 0.0 to 1.0.

VRS::TEXT::UniformValue::VRS_TYPEINFO ( UniformValue  ,
SharedObj   
)

VRS::TEXT::UniformValue::VRS_SERIALIZABLE ( UniformValue   ) 


Member Data Documentation

Zero constant.


The documentation for this class was generated from the following file:

Generated on Wed May 23 06:00:35 2012 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact