Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   Related Pages  

sglProbeTemplate Class Template Reference

#include <sglProbe.hpp>

Inheritance diagram for sglProbeTemplate::

sglProbe sglTraverser sglPick List of all members.

Public Methods

 sglProbeTemplate ()
virtual ~sglProbeTemplate ()
virtual void reset ()
void setMode (unsigned int mode)
unsigned int getMode () const
void setViewportSize (unsigned int x, unsigned int y)
void getViewportSize (unsigned int &x, unsigned int &y)
void setViewFrustum (const sglFrustum< T > &frustum)
sglFrustum<T>& getOrigViewFrustum ()
sglFrustum<T>& getViewFrustum ()
sglMat4<T>& getModelViewMatrix ()
void setModelViewMatrix (const sglMat4< T > &mat)

Protected Attributes

unsigned int m_mode
unsigned int m_viewport_x
unsigned int m_viewport_y
sglFrustum<T> m_orig_view_frustum
sglFrustum<T> m_current_view_frustum
sglMat4<T> m_modelview_matrix

Detailed Description

template<class T> class sglProbeTemplate

Base traversal class for intersect and pick traversals

Definition at line 96 of file sglProbe.hpp.

Member Function Documentation

template<class T>
void sglProbeTemplate<T>::setViewFrustum ( const sglFrustum< T > & frustum ) [inline]

Used only to initialize before a traversal (NOT DURING).

Definition at line 144 of file sglProbe.hpp.

template<class T>
sglFrustum< T > & sglProbeTemplate<T>::getOrigViewFrustum ( ) [inline]

Used internally by the sglUnScale::pick|intersect(..) functions to retrieve the untransformed frustum.

Definition at line 153 of file sglProbe.hpp.

template<class T>
sglMat4< T > & sglProbeTemplate<T>::getModelViewMatrix ( ) [inline]

Used to determine which lod to intersect for eLOD_VIEW, or to transform billboards for eBILLBOARD_VIEW.

Definition at line 160 of file sglProbe.hpp.

template<class T>
void sglProbeTemplate<T>::setModelViewMatrix ( const sglMat4< T > & mat ) [inline]

Used by transform group nodes to set the new modelview matrix

Definition at line 164 of file sglProbe.hpp.

The documentation for this class was generated from the following file:
Generated at Mon Jul 1 18:00:09 2002 for SGL by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001