Bike-X  0.8
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
OVR::Rect< T > Class Template Reference

#include "OVR_Math.h"

Inheritance diagram for OVR::Rect< T >:
Inheritance graph
Collaboration diagram for OVR::Rect< T >:
Collaboration graph

Public Types

typedef CompatibleTypes< Rect
< T > >::Type 
CompatibleType
 

Public Member Functions

 Rect ()
 
 Rect (T x1, T y1, T w1, T h1)
 
 Rect (const Vector2< T > &pos, const Size< T > &sz)
 
 Rect (const Size< T > &sz)
 
 Rect (const CompatibleType &s)
 
 operator const CompatibleType & () const
 
Vector2< T > GetPos () const
 
Size< T > GetSize () const
 
void SetPos (const Vector2< T > &pos)
 
void SetSize (const Size< T > &sz)
 
bool operator== (const Rect &vp) const
 
bool operator!= (const Rect &vp) const
 

Data Fields

x
 
y
 
w
 
h
 

Detailed Description

template<class T>
class OVR::Rect< T >

Definition at line 123 of file OVR_Math.h.

Member Typedef Documentation

template<class T>
typedef CompatibleTypes<Rect<T> >::Type OVR::Rect< T >::CompatibleType

Definition at line 660 of file OVR_Math.h.

Constructor & Destructor Documentation

template<class T>
OVR::Rect< T >::Rect ( )
inline

Definition at line 654 of file OVR_Math.h.

template<class T>
OVR::Rect< T >::Rect ( x1,
y1,
w1,
h1 
)
inline

Definition at line 655 of file OVR_Math.h.

template<class T>
OVR::Rect< T >::Rect ( const Vector2< T > &  pos,
const Size< T > &  sz 
)
inline

Definition at line 656 of file OVR_Math.h.

template<class T>
OVR::Rect< T >::Rect ( const Size< T > &  sz)
inline

Definition at line 657 of file OVR_Math.h.

template<class T>
OVR::Rect< T >::Rect ( const CompatibleType s)
inline

Definition at line 662 of file OVR_Math.h.

Member Function Documentation

template<class T>
Vector2<T> OVR::Rect< T >::GetPos ( ) const
inline

Definition at line 670 of file OVR_Math.h.

template<class T>
Size<T> OVR::Rect< T >::GetSize ( void  ) const
inline

Definition at line 671 of file OVR_Math.h.

template<class T>
OVR::Rect< T >::operator const CompatibleType & ( ) const
inline

Definition at line 664 of file OVR_Math.h.

template<class T>
bool OVR::Rect< T >::operator!= ( const Rect< T > &  vp) const
inline

Definition at line 677 of file OVR_Math.h.

template<class T>
bool OVR::Rect< T >::operator== ( const Rect< T > &  vp) const
inline

Definition at line 675 of file OVR_Math.h.

template<class T>
void OVR::Rect< T >::SetPos ( const Vector2< T > &  pos)
inline

Definition at line 672 of file OVR_Math.h.

template<class T>
void OVR::Rect< T >::SetSize ( const Size< T > &  sz)
inline

Definition at line 673 of file OVR_Math.h.

Field Documentation

template<class T>
T OVR::Rect< T >::h

Definition at line 652 of file OVR_Math.h.

template<class T>
T OVR::Rect< T >::w

Definition at line 652 of file OVR_Math.h.

template<class T>
T OVR::Rect< T >::x

Definition at line 651 of file OVR_Math.h.

template<class T>
T OVR::Rect< T >::y

Definition at line 651 of file OVR_Math.h.


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