OGRE  2.0
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Ogre::TRect< T > Struct Template Reference

#include <OgreCommon.h>

Public Member Functions

 TRect ()
 
 TRect (T const &l, T const &t, T const &r, T const &b)
 
 TRect (TRect const &o)
 
height () const
 
TRect intersect (const TRect &rhs) const
 
bool isNull () const
 
TRectmerge (const TRect &rhs)
 
TRectoperator= (TRect const &o)
 
void setNull ()
 
width () const
 

Public Attributes

bottom
 
left
 
right
 
top
 

Detailed Description

template<typename T>
struct Ogre::TRect< T >

Definition at line 585 of file OgreCommon.h.

Constructor & Destructor Documentation

template<typename T>
Ogre::TRect< T >::TRect ( )
inline

Definition at line 588 of file OgreCommon.h.

template<typename T>
Ogre::TRect< T >::TRect ( T const &  l,
T const &  t,
T const &  r,
T const &  b 
)
inline

Definition at line 589 of file OgreCommon.h.

template<typename T>
Ogre::TRect< T >::TRect ( TRect< T > const &  o)
inline

Definition at line 593 of file OgreCommon.h.

Member Function Documentation

template<typename T>
T Ogre::TRect< T >::height ( ) const
inline

Definition at line 609 of file OgreCommon.h.

Referenced by Ogre::TRect< Real >::isNull().

template<typename T>
TRect Ogre::TRect< T >::intersect ( const TRect< T > &  rhs) const
inline

Definition at line 638 of file OgreCommon.h.

template<typename T>
bool Ogre::TRect< T >::isNull ( void  ) const
inline

Definition at line 613 of file OgreCommon.h.

Referenced by Ogre::TRect< Real >::intersect(), and Ogre::TRect< Real >::merge().

template<typename T>
TRect& Ogre::TRect< T >::merge ( const TRect< T > &  rhs)
inline

Definition at line 621 of file OgreCommon.h.

template<typename T>
TRect& Ogre::TRect< T >::operator= ( TRect< T > const &  o)
inline

Definition at line 597 of file OgreCommon.h.

template<typename T>
void Ogre::TRect< T >::setNull ( )
inline

Definition at line 617 of file OgreCommon.h.

template<typename T>
T Ogre::TRect< T >::width ( ) const
inline

Definition at line 605 of file OgreCommon.h.

Referenced by Ogre::TRect< Real >::isNull().

Member Data Documentation


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