#include <VISU_SphereWidget.hxx>

Public Member Functions | |
| vtkTypeRevisionMacro (VISU_SphereWidget, VISU_ImplicitFunctionWidget) | |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| virtual vtkImplicitFunction * | ImplicitFunction () |
| virtual void | SetEnabled (int) |
| virtual void | PlaceWidget (vtkFloatingPointType bounds[6]) |
| void | SetThetaResolution (int r) |
| int | GetThetaResolution () |
| void | SetPhiResolution (int r) |
| int | GetPhiResolution () |
| void | SetRadius (vtkFloatingPointType r) |
| vtkFloatingPointType | GetRadius () |
| void | SetCenter (vtkFloatingPointType x, vtkFloatingPointType y, vtkFloatingPointType z) |
| void | SetCenter (vtkFloatingPointType x[3]) |
| vtkFloatingPointType * | GetCenter () |
| void | GetCenter (vtkFloatingPointType xyz[3]) |
| void | SetRatio (vtkFloatingPointType r) |
| vtkFloatingPointType | GetRatio () |
| void | ChangeRadius (bool up) |
| void | GetPolyData (vtkPolyData *pd) |
| void | GetSphere (vtkSphere *sphere) |
| vtkProperty * | GetSphereProperty () |
| vtkProperty * | GetSelectedSphereProperty () |
| vtkTypeRevisionMacro (VISU_ImplicitFunctionWidget, vtk3DWidget) | |
Static Public Member Functions | |
| static VISU_SphereWidget * | New () |
Protected Types | |
| enum | WidgetState { Start = 0, Moving, Scaling, Positioning, Outside } |
Protected Member Functions | |
| VISU_SphereWidget () | |
| ~VISU_SphereWidget () | |
| void | OnLeftButtonDown () |
| void | OnLeftButtonUp () |
| void | OnMiddleButtonDown () |
| void | OnMiddleButtonUp () |
| void | OnMouseMove () |
| void | HighlightSphere (int highlight) |
| void | Translate (double *p1, double *p2) |
| void | Scale (double *p1, double *p2, int X, int Y) |
| void | CreateDefaultProperties () |
Static Protected Member Functions | |
| static void | ProcessEvents (vtkObject *object, unsigned long event, void *clientdata, void *calldata) |
Protected Attributes | |
| int | myState |
| vtkActor * | mySphereActor |
| vtkPolyDataMapper * | mySphereMapper |
| vtkSphereSource * | mySphereSource |
| vtkCellPicker * | myPicker |
| vtkProperty * | mySphereProperty |
| vtkProperty * | mySelectedSphereProperty |
| vtkFloatingPointType | myRmin |
| vtkSphere * | mySphere |
| vtkImplicitSum * | myImplicitSum |
| vtkFloatingPointType | myRatio |
Private Member Functions | |
| VISU_SphereWidget (const VISU_SphereWidget &) | |
| void | operator= (const VISU_SphereWidget &) |
enum VISU_SphereWidget::WidgetState [protected] |
| VISU_SphereWidget::VISU_SphereWidget | ( | ) | [protected] |
| VISU_SphereWidget::~VISU_SphereWidget | ( | ) | [protected] |
References myImplicitSum, myPicker, mySelectedSphereProperty, mySphere, mySphereActor, mySphereMapper, mySphereProperty, and mySphereSource.
| VISU_SphereWidget.VISU_SphereWidget | ( | const VISU_SphereWidget & | ) | [private] |
| static VISU_SphereWidget* VISU_SphereWidget.New | ( | ) | [static] |
| VISU_SphereWidget.vtkTypeRevisionMacro | ( | VISU_SphereWidget | , |
| VISU_ImplicitFunctionWidget | |||
| ) |
| void VISU_SphereWidget::PrintSelf | ( | ostream & | os, |
| vtkIndent | indent | ||
| ) |
| vtkImplicitFunction * VISU_SphereWidget::ImplicitFunction | ( | ) | [virtual] |
Implements VISU_ImplicitFunctionWidget.
References myImplicitSum.
| void VISU_SphereWidget::SetEnabled | ( | int | enabling | ) | [virtual] |
!!see what will be done
References mySphere, mySphereActor, mySphereProperty, and mySphereSource.
| void VISU_SphereWidget::PlaceWidget | ( | vtkFloatingPointType | bounds[6] | ) | [virtual] |
References AdjustBounds(), EPS, myRmin, and mySphereSource.
| void VISU_SphereWidget::SetThetaResolution | ( | int | r | ) |
References mySphereSource.
| int VISU_SphereWidget::GetThetaResolution | ( | ) |
References mySphereSource.
| void VISU_SphereWidget::SetPhiResolution | ( | int | r | ) |
References mySphereSource.
| int VISU_SphereWidget::GetPhiResolution | ( | ) |
References mySphereSource.
| void VISU_SphereWidget::SetRadius | ( | vtkFloatingPointType | r | ) |
References myRmin, mySphere, and mySphereSource.
| vtkFloatingPointType VISU_SphereWidget::GetRadius | ( | ) |
References mySphereSource.
| void VISU_SphereWidget::SetCenter | ( | vtkFloatingPointType | x, |
| vtkFloatingPointType | y, | ||
| vtkFloatingPointType | z | ||
| ) |
| void VISU_SphereWidget::SetCenter | ( | vtkFloatingPointType | x[3] | ) |
References mySphere, and mySphereSource.
| vtkFloatingPointType * VISU_SphereWidget::GetCenter | ( | ) |
References mySphereSource.
| void VISU_SphereWidget::GetCenter | ( | vtkFloatingPointType | xyz[3] | ) |
References mySphereSource.
| void VISU_SphereWidget.SetRatio | ( | vtkFloatingPointType | r | ) |
| vtkFloatingPointType VISU_SphereWidget.GetRatio | ( | ) |
| void VISU_SphereWidget::ChangeRadius | ( | bool | up | ) |
References GetRadius(), myRatio, and SetRadius().
| void VISU_SphereWidget::GetPolyData | ( | vtkPolyData * | pd | ) |
References mySphereSource.
| void VISU_SphereWidget::GetSphere | ( | vtkSphere * | sphere | ) |
References mySphereSource.
| vtkProperty * VISU_SphereWidget::GetSphereProperty | ( | ) |
References mySphereProperty.
| vtkProperty * VISU_SphereWidget::GetSelectedSphereProperty | ( | ) |
References mySelectedSphereProperty.
| static void VISU_SphereWidget.ProcessEvents | ( | vtkObject * | object, |
| unsigned long | event, | ||
| void * | clientdata, | ||
| void * | calldata | ||
| ) | [static, protected] |
| void VISU_SphereWidget::OnLeftButtonDown | ( | ) | [protected] |
References HighlightSphere(), Moving, myPicker, mySphereActor, myState, and Outside.
| void VISU_SphereWidget::OnLeftButtonUp | ( | ) | [protected] |
References HighlightSphere(), myState, Outside, and Start.
| void VISU_SphereWidget::OnMiddleButtonDown | ( | ) | [protected] |
References HighlightSphere(), myPicker, myState, Outside, and Scaling.
| void VISU_SphereWidget::OnMiddleButtonUp | ( | ) | [protected] |
References HighlightSphere(), myState, Outside, and Start.
| void VISU_SphereWidget::OnMouseMove | ( | ) | [protected] |
| void VISU_SphereWidget::HighlightSphere | ( | int | highlight | ) | [protected] |
References myPicker, mySelectedSphereProperty, mySphereActor, and mySphereProperty.
| void VISU_SphereWidget::Translate | ( | double * | p1, |
| double * | p2 | ||
| ) | [protected] |
References mySphere, and mySphereSource.
| void VISU_SphereWidget::Scale | ( | double * | p1, |
| double * | p2, | ||
| int | X, | ||
| int | Y | ||
| ) | [protected] |
| void VISU_SphereWidget::CreateDefaultProperties | ( | ) | [protected] |
References mySelectedSphereProperty, mySphereProperty, and New().
| void VISU_SphereWidget.operator= | ( | const VISU_SphereWidget & | ) | [private] |
| VISU_ImplicitFunctionWidget.vtkTypeRevisionMacro | ( | VISU_ImplicitFunctionWidget | , |
| vtk3DWidget | |||
| ) | [inherited] |
int VISU_SphereWidget.myState [protected] |
vtkActor* VISU_SphereWidget.mySphereActor [protected] |
vtkPolyDataMapper* VISU_SphereWidget.mySphereMapper [protected] |
vtkSphereSource* VISU_SphereWidget.mySphereSource [protected] |
vtkCellPicker* VISU_SphereWidget.myPicker [protected] |
vtkProperty* VISU_SphereWidget.mySphereProperty [protected] |
vtkProperty* VISU_SphereWidget.mySelectedSphereProperty [protected] |
vtkFloatingPointType VISU_SphereWidget.myRmin [protected] |
vtkSphere* VISU_SphereWidget.mySphere [protected] |
vtkImplicitSum* VISU_SphereWidget.myImplicitSum [protected] |
vtkFloatingPointType VISU_SphereWidget.myRatio [protected] |