Version: 6.3.1
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions

VISU_WidgetCtrl Class Reference

#include <VISU_WidgetCtrl.hxx>

Inheritance diagram for VISU_WidgetCtrl:
Inheritance graph

Public Member Functions

 vtkTypeRevisionMacro (VISU_WidgetCtrl, vtkObject)
vtkImplicitFunctionImplicitFunction ()
virtual vtkFloatingPointType EvaluateFunction (vtkFloatingPointType theX[3])
virtual void EvaluateGradient (vtkFloatingPointType theX[3], vtkFloatingPointType theG[3])
virtual unsigned long GetMTime ()
void PlaceWidget (vtkFloatingPointType theBounds[6])
void SetEnabled (int theFlag)
int GetEnabled ()
void On ()
void Off ()
void SetInteractor (vtkRenderWindowInteractor *theRWI)
vtkRenderWindowInteractor * GetInteractor ()
void SetPlaceFactor (vtkFloatingPointType theFactor)
vtkFloatingPointType GetPlaceFactor ()
void SetActiveIndex (const int theFlag)
int GetActiveIndex () const
bool HasActiveIndex () const
bool IsPlanesActive () const
bool IsSphereActive () const
VISU_ImplicitFunctionWidgetGetActiveWidget ()
VISU_ImplicitFunctionWidgetGetWidget (const int)
int GetNbWidgets () const
int GetDisableAll () const
VISU_PlanesWidgetGetPlanesWidget ()
VISU_SphereWidgetGetSphereWidget ()

Static Public Member Functions

static VISU_WidgetCtrlNew ()
static void ProcessEvents (vtkObject *theObject, unsigned long theEvent, void *theClientData, void *theCalldata)

Protected Member Functions

 VISU_WidgetCtrl ()
 ~VISU_WidgetCtrl ()

Protected Attributes

int myNbWidgets
int myActiveIndex
int myCounter
int myDisableAll
vtkFloatingPointType myPriority
VISU_ImplicitFunctionWidgetmyWidgets [2]
VISU_ImplicitFunctionWidgetmyDummyWidget
VISU_PlanesWidgetmyPlanesWidget
VISU_SphereWidgetmySphereWidget
vtkCallbackCommand * myEventCallbackCommand

Private Member Functions

 VISU_WidgetCtrl (const VISU_WidgetCtrl &)
void operator= (const VISU_WidgetCtrl &)

Constructor & Destructor Documentation

VISU_WidgetCtrl::VISU_WidgetCtrl ( ) [protected]
VISU_WidgetCtrl::~VISU_WidgetCtrl ( ) [protected]
VISU_WidgetCtrl.VISU_WidgetCtrl ( const VISU_WidgetCtrl ) [private]

Member Function Documentation

static VISU_WidgetCtrl* VISU_WidgetCtrl.New ( ) [static]
VISU_WidgetCtrl.vtkTypeRevisionMacro ( VISU_WidgetCtrl  ,
vtkObject   
)
vtkImplicitFunction * VISU_WidgetCtrl::ImplicitFunction ( )
vtkFloatingPointType VISU_WidgetCtrl::EvaluateFunction ( vtkFloatingPointType  theX[3]) [virtual]
void VISU_WidgetCtrl::EvaluateGradient ( vtkFloatingPointType  theX[3],
vtkFloatingPointType  theG[3] 
) [virtual]
unsigned long VISU_WidgetCtrl::GetMTime ( ) [virtual]
void VISU_WidgetCtrl::PlaceWidget ( vtkFloatingPointType  theBounds[6])

References myNbWidgets, and myWidgets.

void VISU_WidgetCtrl::SetEnabled ( int  theFlag)
int VISU_WidgetCtrl::GetEnabled ( )
void VISU_WidgetCtrl.On ( )
void VISU_WidgetCtrl.Off ( )
void VISU_WidgetCtrl::SetInteractor ( vtkRenderWindowInteractor *  theRWI)

References myNbWidgets, and myWidgets.

vtkRenderWindowInteractor * VISU_WidgetCtrl::GetInteractor ( )

References myWidgets.

void VISU_WidgetCtrl::SetPlaceFactor ( vtkFloatingPointType  theFactor)

References myNbWidgets, and myWidgets.

vtkFloatingPointType VISU_WidgetCtrl::GetPlaceFactor ( )

References myWidgets.

void VISU_WidgetCtrl::SetActiveIndex ( const int  theFlag)

References myActiveIndex, and myNbWidgets.

int VISU_WidgetCtrl::GetActiveIndex ( ) const

References myActiveIndex.

bool VISU_WidgetCtrl::HasActiveIndex ( ) const

References myActiveIndex, and myNbWidgets.

bool VISU_WidgetCtrl::IsPlanesActive ( ) const

References myActiveIndex.

bool VISU_WidgetCtrl::IsSphereActive ( ) const

References myActiveIndex.

VISU_ImplicitFunctionWidget * VISU_WidgetCtrl::GetActiveWidget ( )
VISU_ImplicitFunctionWidget * VISU_WidgetCtrl::GetWidget ( const int  theIndex)

References myDummyWidget, myNbWidgets, and myWidgets.

int VISU_WidgetCtrl::GetNbWidgets ( ) const

References myNbWidgets.

int VISU_WidgetCtrl::GetDisableAll ( ) const

References myDisableAll.

VISU_PlanesWidget * VISU_WidgetCtrl::GetPlanesWidget ( )

References myPlanesWidget.

VISU_SphereWidget * VISU_WidgetCtrl::GetSphereWidget ( )

References mySphereWidget.

static void VISU_WidgetCtrl.ProcessEvents ( vtkObject theObject,
unsigned long  theEvent,
void *  theClientData,
void *  theCalldata 
) [static]
void VISU_WidgetCtrl.operator= ( const VISU_WidgetCtrl ) [private]

Field Documentation

int VISU_WidgetCtrl.myNbWidgets [protected]
int VISU_WidgetCtrl.myCounter [protected]
vtkFloatingPointType VISU_WidgetCtrl.myPriority [protected]
vtkCallbackCommand* VISU_WidgetCtrl.myEventCallbackCommand [protected]
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS