vcg::Frustum< T > Class Template Reference

#include <frustum.h>

Inheritance diagram for vcg::Frustum< T >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

T Distance (Point3< T > &point, int plane)
void GetView ()
bool IsOutside (Point3< T > &point, T radius)
bool IsOutside (Point3< T > &point)
T range (Point3< T > &point, T radius, T &closest, T &farthest)
T Remoteness (Point3< T > &point, T radius)
T Resolution (float dist=1)
void SetView (const float *_proj, const float *_modelview, const int *_viewport)
Point3< TViewPoint ()

Protected Member Functions

void UpdateView ()

Protected Attributes

Plane3< Tplanes [6]
T resolution
Point3< Tview_point

Detailed Description

template<class T>
class vcg::Frustum< T >

Definition at line 66 of file frustum.h.


Member Function Documentation

template<class T>
T vcg::Frustum< T >::Distance ( Point3< T > &  point,
int  plane 
) [inline]

Definition at line 144 of file frustum.h.

template<class T >
void vcg::Frustum< T >::GetView (  )  [inline]

Reimplemented from vcg::View< T >.

Definition at line 148 of file frustum.h.

template<class T>
bool vcg::Frustum< T >::IsOutside ( Point3< T > &  point,
T  radius 
) [inline]

Definition at line 128 of file frustum.h.

template<class T>
bool vcg::Frustum< T >::IsOutside ( Point3< T > &  point  )  [inline]

Definition at line 99 of file frustum.h.

template<class T>
T vcg::Frustum< T >::range ( Point3< T > &  point,
T  radius,
T closest,
T farthest 
) [inline]

Definition at line 137 of file frustum.h.

template<class T>
T vcg::Frustum< T >::Remoteness ( Point3< T > &  point,
T  radius 
) [inline]

Definition at line 107 of file frustum.h.

template<class T >
T vcg::Frustum< T >::Resolution ( float  dist = 1  )  [inline]

Definition at line 95 of file frustum.h.

template<class T >
void vcg::Frustum< T >::SetView ( const float *  _proj = NULL,
const float *  _modelview = NULL,
const int *  _viewport = NULL 
) [inline]

Reimplemented from vcg::View< T >.

Definition at line 152 of file frustum.h.

template<class T >
void vcg::Frustum< T >::UpdateView (  )  [inline, protected]

Definition at line 159 of file frustum.h.

template<class T >
Point3< T > vcg::Frustum< T >::ViewPoint (  )  [inline]

Definition at line 91 of file frustum.h.


Member Data Documentation

template<class T>
Plane3<T> vcg::Frustum< T >::planes[6] [protected]

Definition at line 80 of file frustum.h.

template<class T>
T vcg::Frustum< T >::resolution [protected]

Definition at line 79 of file frustum.h.

template<class T>
Point3<T> vcg::Frustum< T >::view_point [protected]

Definition at line 81 of file frustum.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


vcglib
Author(s): Christian Bersch
autogenerated on Fri Jan 11 09:23:00 2013