sofa::component::visualmodel::ClipPlane Class Reference

#include <ClipPlane.h>

Inheritance diagram for sofa::component::visualmodel::ClipPlane:

Inheritance graph
[legend]
Collaboration diagram for sofa::component::visualmodel::ClipPlane:

Collaboration graph
[legend]

Public Member Functions

 ClipPlane ()
virtual ~ClipPlane ()
virtual void init ()
 Initialization method called at graph modification, during bottom-up traversal.
virtual void reinit ()
 Update method called when variables used in precomputation are modified.
virtual void fwdDraw (Pass)
 Called before objects in the current branch are displayed.
virtual void bwdDraw (Pass)
 Called after objects in the current branch are displayed.

Data Fields

Data< Vector3 > position
Data< Vector3 > normal
Data< int > id
Data< bool > active

Protected Attributes

GLboolean wasActive
double saveEq [4]

Detailed Description

Definition at line 44 of file ClipPlane.h.


Constructor & Destructor Documentation

sofa::component::visualmodel::ClipPlane::ClipPlane (  ) 

Definition at line 44 of file ClipPlane.cpp.

sofa::component::visualmodel::ClipPlane::~ClipPlane (  )  [virtual]

Definition at line 53 of file ClipPlane.cpp.


Member Function Documentation

void sofa::component::visualmodel::ClipPlane::bwdDraw ( Pass   )  [virtual]

Called after objects in the current branch are displayed.

Reimplemented from sofa::core::VisualModel.

Definition at line 85 of file ClipPlane.cpp.

References active, sofa::core::objectmodel::Data< T >::getValue(), saveEq, and wasActive.

void sofa::component::visualmodel::ClipPlane::fwdDraw ( Pass   )  [virtual]

Called before objects in the current branch are displayed.

Reimplemented from sofa::core::VisualModel.

Definition at line 65 of file ClipPlane.cpp.

References active, sofa::core::objectmodel::Data< T >::getValue(), normal, position, saveEq, and wasActive.

void sofa::component::visualmodel::ClipPlane::init ( void   )  [virtual]

Initialization method called at graph modification, during bottom-up traversal.

Reimplemented from sofa::core::objectmodel::BaseObject.

Definition at line 57 of file ClipPlane.cpp.

void sofa::component::visualmodel::ClipPlane::reinit (  )  [virtual]

Update method called when variables used in precomputation are modified.

Reimplemented from sofa::core::objectmodel::BaseObject.

Definition at line 61 of file ClipPlane.cpp.


Field Documentation

Definition at line 49 of file ClipPlane.h.

Referenced by bwdDraw(), and fwdDraw().

Definition at line 48 of file ClipPlane.h.

Definition at line 47 of file ClipPlane.h.

Referenced by fwdDraw().

Definition at line 46 of file ClipPlane.h.

Referenced by fwdDraw().

Definition at line 61 of file ClipPlane.h.

Referenced by bwdDraw(), and fwdDraw().

Definition at line 60 of file ClipPlane.h.

Referenced by bwdDraw(), and fwdDraw().


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

Generated on Sun Nov 23 04:21:42 2008 for Sofa by  doxygen 1.5.7.1