#include <VISU_PlanesWidget.hxx>

Public Member Functions | |
| vtkTypeRevisionMacro (VISU_PlanesWidget, VISU_ImplicitFunctionWidget) | |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| void | SetDistance (const vtkFloatingPointType theDistance) |
| vtkFloatingPointType | Distance () const |
| vtkGetMacro (InitialLength, vtkFloatingPointType) | |
| virtual vtkImplicitFunction * | ImplicitFunction () |
| virtual void | SetEnabled (int) |
| virtual void | PlaceWidget (vtkFloatingPointType bounds[6]) |
| void | SetOrigin (vtkFloatingPointType x, vtkFloatingPointType y, vtkFloatingPointType z) |
| void | SetOrigin (vtkFloatingPointType x[3]) |
| vtkFloatingPointType * | GetOrigin () |
| void | GetOrigin (vtkFloatingPointType xyz[3]) |
| void | SetNormal (vtkFloatingPointType x, vtkFloatingPointType y, vtkFloatingPointType z) |
| void | SetNormal (vtkFloatingPointType x[3]) |
| vtkFloatingPointType * | GetNormal () |
| void | GetNormal (vtkFloatingPointType xyz[3]) |
| void | SetNormalToXAxis (int) |
| vtkGetMacro (NormalToXAxis, int) | |
| vtkBooleanMacro (NormalToXAxis, int) | |
| void | SetNormalToYAxis (int) |
| vtkGetMacro (NormalToYAxis, int) | |
| vtkBooleanMacro (NormalToYAxis, int) | |
| void | SetNormalToZAxis (int) |
| vtkGetMacro (NormalToZAxis, int) | |
| vtkBooleanMacro (NormalToZAxis, int) | |
| void | SetDrawPlane (int plane) |
| int | GetDrawPlane () |
| vtkSetMacro (OutlineTranslation, int) | |
| vtkGetMacro (OutlineTranslation, int) | |
| vtkBooleanMacro (OutlineTranslation, int) | |
| void | GetPolyData (vtkPolyData *pd) |
| void | GetPlane (vtkPlane *plane) |
| void | UpdatePlacement (void) |
| vtkGetObjectMacro (NormalProperty, vtkProperty) | |
| vtkGetObjectMacro (SelectedNormalProperty, vtkProperty) | |
| vtkGetObjectMacro (PlaneProperty, vtkProperty) | |
| vtkGetObjectMacro (SelectedPlaneProperty, vtkProperty) | |
| vtkGetObjectMacro (OutlineProperty, vtkProperty) | |
| vtkGetObjectMacro (SelectedOutlineProperty, vtkProperty) | |
| vtkGetObjectMacro (EdgesProperty, vtkProperty) | |
| void | InitialPlaceWidget (vtkFloatingPointType bds[6]) |
| vtkTypeRevisionMacro (VISU_ImplicitFunctionWidget, vtk3DWidget) | |
Static Public Member Functions | |
| static VISU_PlanesWidget * | New () |
Protected Types | |
| enum | WidgetState { Start = 0, MovingPlane, MovingOutline, MovingOrigin, Scaling, Pushing, Rotating, Outside, ChangeDistance } |
Protected Member Functions | |
| VISU_PlanesWidget () | |
| ~VISU_PlanesWidget () | |
| void | OnLeftButtonDown () |
| void | OnLeftButtonUp () |
| void | OnMiddleButtonDown () |
| void | OnMiddleButtonUp () |
| void | OnRightButtonDown () |
| void | OnRightButtonUp () |
| void | OnMouseMove () |
| void | ConstrainOrigin (vtkFloatingPointType x[3]) |
| void | Rotate (int X, int Y, double *p1, double *p2, double *vpn) |
| void | TranslatePlane (double *p1, double *p2) |
| void | TranslateOutline (double *p1, double *p2) |
| void | TranslateOrigin (double *p1, double *p2) |
| void | Push (double *p1, double *p2) |
| void | Scale (double *p1, double *p2, int X, int Y) |
| void | PushDistance (double *p1, double *p2) |
| void | CreateDefaultProperties () |
| void | GeneratePlane () |
| void | HighlightPlane (int highlight) |
| void | HighlightNormal (int highlight) |
| void | HighlightOutline (int highlight) |
| void | UpdateRepresentation () |
| void | SetOriginInternal (vtkFloatingPointType x[3]) |
Static Protected Member Functions | |
| static void | ProcessEvents (vtkObject *object, unsigned long event, void *clientdata, void *calldata) |
Protected Attributes | |
| int | State |
| int | NormalToXAxis |
| int | NormalToYAxis |
| int | NormalToZAxis |
| bool | HandleMoveEvent |
| bool | HandleLeftButtonEvent |
| bool | HandleMiddleButtonEvent |
| bool | HandleRightButtonEvent |
| vtkPlane * | myPlane1 |
| vtkPlane * | myPlane2 |
| vtkFloatingPointType | myDistance |
| vtkImplicitBoolean * | myImplicitFunction |
| vtkImageData * | myBox |
| vtkOutlineFilter * | myOutline |
| vtkPolyDataMapper * | myOutlineMapper |
| vtkActor * | myOutlineActor |
| int | OutlineTranslation |
| vtkCutter * | myCutter1 |
| vtkPolyDataMapper * | myCutMapper1 |
| vtkActor * | myCutActor1 |
| vtkCutter * | myCutter2 |
| vtkPolyDataMapper * | myCutMapper2 |
| vtkActor * | myCutActor2 |
| vtkFeatureEdges * | myEdges2 |
| vtkPolyDataMapper * | myEdgesMapper2 |
| vtkActor * | myEdgesActor2 |
| int | myDrawPlane |
| vtkFeatureEdges * | myEdges1 |
| vtkPolyDataMapper * | myEdgesMapper1 |
| vtkActor * | myEdgesActor1 |
| vtkConeSource * | ConeSource |
| vtkPolyDataMapper * | ConeMapper |
| VISU_UnScaledActor * | ConeActor |
| vtkLineSource * | LineSource |
| vtkPolyDataMapper * | LineMapper |
| vtkActor * | LineActor |
| vtkConeSource * | ConeSource2 |
| vtkPolyDataMapper * | ConeMapper2 |
| VISU_UnScaledActor * | ConeActor2 |
| vtkLineSource * | LineSource2 |
| vtkPolyDataMapper * | LineMapper2 |
| vtkActor * | LineActor2 |
| vtkSphereSource * | Sphere |
| vtkPolyDataMapper * | SphereMapper |
| VISU_UnScaledActor * | SphereActor |
| vtkCellPicker * | Picker |
| vtkTransform * | Transform |
| vtkProperty * | NormalProperty |
| vtkProperty * | SelectedNormalProperty |
| vtkProperty * | PlaneProperty |
| vtkProperty * | SelectedPlaneProperty |
| vtkProperty * | OutlineProperty |
| vtkProperty * | SelectedOutlineProperty |
| vtkProperty * | EdgesProperty |
Private Member Functions | |
| VISU_PlanesWidget (const VISU_PlanesWidget &) | |
| void | operator= (const VISU_ImplicitFunctionWidget &) |
enum VISU_PlanesWidget::WidgetState [protected] |
| VISU_PlanesWidget::VISU_PlanesWidget | ( | ) | [protected] |
References ConeActor, ConeActor2, ConeMapper, ConeMapper2, ConeSource, ConeSource2, CreateDefaultProperties(), HandleLeftButtonEvent, HandleMiddleButtonEvent, HandleMoveEvent, HandleRightButtonEvent, LineActor, LineActor2, LineMapper, LineMapper2, LineSource, LineSource2, myBox, myCutActor1, myCutActor2, myCutMapper1, myCutMapper2, myCutter1, myCutter2, myDistance, myDrawPlane, myEdges1, myEdges2, myEdgesActor1, myEdgesActor2, myEdgesMapper1, myEdgesMapper2, myImplicitFunction, myOutline, myOutlineActor, myOutlineMapper, myPlane1, myPlane2, New(), NormalToXAxis, NormalToYAxis, NormalToZAxis, OutlineTranslation, Picker, PlaceWidget(), ProcessEvents(), VISU_UnScaledActor.SetCenter(), VISU_UnScaledActor.SetSize(), Sphere, SphereActor, SphereMapper, Start, State, and Transform.
| VISU_PlanesWidget::~VISU_PlanesWidget | ( | ) | [protected] |
References ConeActor, ConeActor2, ConeMapper, ConeMapper2, ConeSource, ConeSource2, EdgesProperty, LineActor, LineActor2, LineMapper, LineMapper2, LineSource, LineSource2, myBox, myCutActor1, myCutActor2, myCutMapper1, myCutMapper2, myCutter1, myCutter2, myEdges1, myEdges2, myEdgesActor1, myEdgesActor2, myEdgesMapper1, myEdgesMapper2, myImplicitFunction, myOutline, myOutlineActor, myOutlineMapper, myPlane1, myPlane2, NormalProperty, OutlineProperty, Picker, PlaneProperty, SelectedNormalProperty, SelectedOutlineProperty, SelectedPlaneProperty, Sphere, SphereActor, SphereMapper, and Transform.
| VISU_PlanesWidget.VISU_PlanesWidget | ( | const VISU_PlanesWidget & | ) | [private] |
| static VISU_PlanesWidget* VISU_PlanesWidget.New | ( | ) | [static] |
| VISU_PlanesWidget.vtkTypeRevisionMacro | ( | VISU_PlanesWidget | , |
| VISU_ImplicitFunctionWidget | |||
| ) |
| void VISU_PlanesWidget::PrintSelf | ( | ostream & | os, |
| vtkIndent | indent | ||
| ) |
| void VISU_PlanesWidget::SetDistance | ( | const vtkFloatingPointType | theDistance | ) |
| vtkFloatingPointType VISU_PlanesWidget::Distance | ( | ) | const |
| VISU_PlanesWidget.vtkGetMacro | ( | InitialLength | , |
| vtkFloatingPointType | |||
| ) |
| vtkImplicitFunction * VISU_PlanesWidget::ImplicitFunction | ( | ) | [virtual] |
Implements VISU_ImplicitFunctionWidget.
References myImplicitFunction.
| void VISU_PlanesWidget::SetEnabled | ( | int | enabling | ) | [virtual] |
References ConeActor, ConeActor2, EdgesProperty, HandleLeftButtonEvent, HandleMiddleButtonEvent, HandleMoveEvent, HandleRightButtonEvent, LineActor, LineActor2, myCutActor1, myCutActor2, myDrawPlane, myEdgesActor1, myEdgesActor2, myImplicitFunction, myOutlineActor, myPlane1, myPlane2, NormalProperty, OutlineProperty, PlaneProperty, SphereActor, and UpdateRepresentation().
| void VISU_PlanesWidget::PlaceWidget | ( | vtkFloatingPointType | bounds[6] | ) | [virtual] |
References AdjustBounds(), LineSource, myBox, myOutline, myPlane1, myPlane2, NormalToYAxis, NormalToZAxis, and UpdateRepresentation().
| void VISU_PlanesWidget::SetOrigin | ( | vtkFloatingPointType | x, |
| vtkFloatingPointType | y, | ||
| vtkFloatingPointType | z | ||
| ) |
| void VISU_PlanesWidget::SetOrigin | ( | vtkFloatingPointType | x[3] | ) |
References myDistance, myOutline, myPlane1, myPlane2, and UpdateRepresentation().
| vtkFloatingPointType * VISU_PlanesWidget::GetOrigin | ( | ) |
References myPlane1.
| void VISU_PlanesWidget::GetOrigin | ( | vtkFloatingPointType | xyz[3] | ) |
References myPlane1.
| void VISU_PlanesWidget::SetNormal | ( | vtkFloatingPointType | x, |
| vtkFloatingPointType | y, | ||
| vtkFloatingPointType | z | ||
| ) |
References myPlane1, myPlane2, and UpdateRepresentation().
| void VISU_PlanesWidget::SetNormal | ( | vtkFloatingPointType | x[3] | ) |
References SetNormal().
| vtkFloatingPointType * VISU_PlanesWidget::GetNormal | ( | ) |
References myPlane1.
| void VISU_PlanesWidget::GetNormal | ( | vtkFloatingPointType | xyz[3] | ) |
References myPlane1.
| void VISU_PlanesWidget::SetNormalToXAxis | ( | int | var | ) |
References NormalToXAxis.
| VISU_PlanesWidget.vtkGetMacro | ( | NormalToXAxis | , |
| int | |||
| ) |
| VISU_PlanesWidget.vtkBooleanMacro | ( | NormalToXAxis | , |
| int | |||
| ) |
| void VISU_PlanesWidget::SetNormalToYAxis | ( | int | var | ) |
References NormalToYAxis.
| VISU_PlanesWidget.vtkGetMacro | ( | NormalToYAxis | , |
| int | |||
| ) |
| VISU_PlanesWidget.vtkBooleanMacro | ( | NormalToYAxis | , |
| int | |||
| ) |
| void VISU_PlanesWidget::SetNormalToZAxis | ( | int | var | ) |
References NormalToZAxis.
| VISU_PlanesWidget.vtkGetMacro | ( | NormalToZAxis | , |
| int | |||
| ) |
| VISU_PlanesWidget.vtkBooleanMacro | ( | NormalToZAxis | , |
| int | |||
| ) |
| void VISU_PlanesWidget::SetDrawPlane | ( | int | plane | ) |
References myCutActor1, myCutActor2, and myDrawPlane.
| int VISU_PlanesWidget.GetDrawPlane | ( | ) |
| VISU_PlanesWidget.vtkSetMacro | ( | OutlineTranslation | , |
| int | |||
| ) |
| VISU_PlanesWidget.vtkGetMacro | ( | OutlineTranslation | , |
| int | |||
| ) |
| VISU_PlanesWidget.vtkBooleanMacro | ( | OutlineTranslation | , |
| int | |||
| ) |
| void VISU_PlanesWidget::GetPolyData | ( | vtkPolyData * | pd | ) |
References myCutter1.
| VISU_PlanesWidget.vtkGetObjectMacro | ( | NormalProperty | , |
| vtkProperty | |||
| ) |
| VISU_PlanesWidget.vtkGetObjectMacro | ( | SelectedNormalProperty | , |
| vtkProperty | |||
| ) |
| VISU_PlanesWidget.vtkGetObjectMacro | ( | PlaneProperty | , |
| vtkProperty | |||
| ) |
| VISU_PlanesWidget.vtkGetObjectMacro | ( | SelectedPlaneProperty | , |
| vtkProperty | |||
| ) |
| VISU_PlanesWidget.vtkGetObjectMacro | ( | OutlineProperty | , |
| vtkProperty | |||
| ) |
| VISU_PlanesWidget.vtkGetObjectMacro | ( | SelectedOutlineProperty | , |
| vtkProperty | |||
| ) |
| VISU_PlanesWidget.vtkGetObjectMacro | ( | EdgesProperty | , |
| vtkProperty | |||
| ) |
| void VISU_PlanesWidget::InitialPlaceWidget | ( | vtkFloatingPointType | bds[6] | ) |
References AdjustBounds(), PlaceWidget(), SetDistance(), SetOrigin(), and UpdateRepresentation().
| static void VISU_PlanesWidget.ProcessEvents | ( | vtkObject * | object, |
| unsigned long | event, | ||
| void * | clientdata, | ||
| void * | calldata | ||
| ) | [static, protected] |
| void VISU_PlanesWidget::OnLeftButtonDown | ( | ) | [protected] |
| void VISU_PlanesWidget::OnLeftButtonUp | ( | ) | [protected] |
References HighlightNormal(), HighlightOutline(), HighlightPlane(), Outside, Start, and State.
| void VISU_PlanesWidget::OnMiddleButtonDown | ( | ) | [protected] |
References HighlightNormal(), HighlightPlane(), MovingPlane, Outside, Picker, and State.
| void VISU_PlanesWidget::OnMiddleButtonUp | ( | ) | [protected] |
References HighlightNormal(), HighlightOutline(), HighlightPlane(), Outside, Start, and State.
| void VISU_PlanesWidget::OnRightButtonDown | ( | ) | [protected] |
References HighlightNormal(), HighlightOutline(), HighlightPlane(), Outside, Picker, Scaling, and State.
| void VISU_PlanesWidget::OnRightButtonUp | ( | ) | [protected] |
References HighlightNormal(), HighlightOutline(), HighlightPlane(), Outside, Start, and State.
| void VISU_PlanesWidget::OnMouseMove | ( | ) | [protected] |
References ChangeDistance, MovingOrigin, MovingOutline, MovingPlane, Outside, Push(), PushDistance(), Pushing, Rotate(), Rotating, Scaling, Start, State, and TranslateOrigin().
| void VISU_PlanesWidget.ConstrainOrigin | ( | vtkFloatingPointType | x[3] | ) | [protected] |
| void VISU_PlanesWidget::Rotate | ( | int | X, |
| int | Y, | ||
| double * | p1, | ||
| double * | p2, | ||
| double * | vpn | ||
| ) | [protected] |
References IsValidPlane2Position(), myBox, myDistance, myPlane1, myPlane2, New(), Transform, and UpdateRepresentation().
| void VISU_PlanesWidget::TranslatePlane | ( | double * | p1, |
| double * | p2 | ||
| ) | [protected] |
References myPlane1, myPlane2, and UpdateRepresentation().
| void VISU_PlanesWidget::TranslateOutline | ( | double * | p1, |
| double * | p2 | ||
| ) | [protected] |
References myBox, myPlane1, myPlane2, and UpdateRepresentation().
| void VISU_PlanesWidget::TranslateOrigin | ( | double * | p1, |
| double * | p2 | ||
| ) | [protected] |
References myPlane1, SetOriginInternal(), and UpdateRepresentation().
| void VISU_PlanesWidget::Push | ( | double * | p1, |
| double * | p2 | ||
| ) | [protected] |
References GetOrigin(), myPlane1, myPlane2, SetOriginInternal(), and UpdateRepresentation().
| void VISU_PlanesWidget.Scale | ( | double * | p1, |
| double * | p2, | ||
| int | X, | ||
| int | Y | ||
| ) | [protected] |
| void VISU_PlanesWidget::PushDistance | ( | double * | p1, |
| double * | p2 | ||
| ) | [protected] |
References DistanceToPlane(), IsValidPlane2Position(), myBox, myDistance, myPlane1, myPlane2, New(), and UpdateRepresentation().
| void VISU_PlanesWidget::CreateDefaultProperties | ( | ) | [protected] |
| void VISU_PlanesWidget.GeneratePlane | ( | ) | [protected] |
| void VISU_PlanesWidget::HighlightPlane | ( | int | highlight | ) | [protected] |
References myCutActor1, myCutActor2, PlaneProperty, and SelectedPlaneProperty.
| void VISU_PlanesWidget::HighlightNormal | ( | int | highlight | ) | [protected] |
References ConeActor, ConeActor2, LineActor, LineActor2, NormalProperty, SelectedNormalProperty, and SphereActor.
| void VISU_PlanesWidget::HighlightOutline | ( | int | highlight | ) | [protected] |
References myOutlineActor, OutlineProperty, and SelectedOutlineProperty.
| void VISU_PlanesWidget::UpdateRepresentation | ( | ) | [protected] |
References ConeActor, ConeActor2, ConeSource, ConeSource2, LineSource, LineSource2, myEdges1, myEdgesMapper1, myOutline, myPlane1, VISU_UnScaledActor.SetCenter(), Sphere, and SphereActor.
| void VISU_PlanesWidget::SetOriginInternal | ( | vtkFloatingPointType | x[3] | ) | [protected] |
References IsValidPlane2Position(), myBox, myDistance, myOutline, myPlane1, myPlane2, and New().
| void VISU_PlanesWidget.operator= | ( | const VISU_ImplicitFunctionWidget & | ) | [private] |
Reimplemented from VISU_ImplicitFunctionWidget.
| VISU_ImplicitFunctionWidget.vtkTypeRevisionMacro | ( | VISU_ImplicitFunctionWidget | , |
| vtk3DWidget | |||
| ) | [inherited] |
int VISU_PlanesWidget.State [protected] |
int VISU_PlanesWidget.NormalToXAxis [protected] |
int VISU_PlanesWidget.NormalToYAxis [protected] |
int VISU_PlanesWidget.NormalToZAxis [protected] |
bool VISU_PlanesWidget.HandleMoveEvent [protected] |
bool VISU_PlanesWidget.HandleLeftButtonEvent [protected] |
bool VISU_PlanesWidget.HandleMiddleButtonEvent [protected] |
bool VISU_PlanesWidget.HandleRightButtonEvent [protected] |
vtkPlane* VISU_PlanesWidget.myPlane1 [protected] |
vtkPlane* VISU_PlanesWidget.myPlane2 [protected] |
vtkFloatingPointType VISU_PlanesWidget.myDistance [protected] |
vtkImplicitBoolean* VISU_PlanesWidget.myImplicitFunction [protected] |
vtkImageData* VISU_PlanesWidget.myBox [protected] |
vtkOutlineFilter* VISU_PlanesWidget.myOutline [protected] |
vtkPolyDataMapper* VISU_PlanesWidget.myOutlineMapper [protected] |
vtkActor* VISU_PlanesWidget.myOutlineActor [protected] |
int VISU_PlanesWidget.OutlineTranslation [protected] |
vtkCutter* VISU_PlanesWidget.myCutter1 [protected] |
vtkPolyDataMapper* VISU_PlanesWidget.myCutMapper1 [protected] |
vtkActor* VISU_PlanesWidget.myCutActor1 [protected] |
vtkCutter* VISU_PlanesWidget.myCutter2 [protected] |
vtkPolyDataMapper* VISU_PlanesWidget.myCutMapper2 [protected] |
vtkActor* VISU_PlanesWidget.myCutActor2 [protected] |
vtkFeatureEdges* VISU_PlanesWidget.myEdges2 [protected] |
vtkPolyDataMapper* VISU_PlanesWidget.myEdgesMapper2 [protected] |
vtkActor* VISU_PlanesWidget.myEdgesActor2 [protected] |
int VISU_PlanesWidget.myDrawPlane [protected] |
vtkFeatureEdges* VISU_PlanesWidget.myEdges1 [protected] |
vtkPolyDataMapper* VISU_PlanesWidget.myEdgesMapper1 [protected] |
vtkActor* VISU_PlanesWidget.myEdgesActor1 [protected] |
vtkConeSource* VISU_PlanesWidget.ConeSource [protected] |
vtkPolyDataMapper* VISU_PlanesWidget.ConeMapper [protected] |
VISU_UnScaledActor* VISU_PlanesWidget.ConeActor [protected] |
vtkLineSource* VISU_PlanesWidget.LineSource [protected] |
vtkPolyDataMapper* VISU_PlanesWidget.LineMapper [protected] |
vtkActor* VISU_PlanesWidget.LineActor [protected] |
vtkConeSource* VISU_PlanesWidget.ConeSource2 [protected] |
vtkPolyDataMapper* VISU_PlanesWidget.ConeMapper2 [protected] |
VISU_UnScaledActor* VISU_PlanesWidget.ConeActor2 [protected] |
vtkLineSource* VISU_PlanesWidget.LineSource2 [protected] |
vtkPolyDataMapper* VISU_PlanesWidget.LineMapper2 [protected] |
vtkActor* VISU_PlanesWidget.LineActor2 [protected] |
vtkSphereSource* VISU_PlanesWidget.Sphere [protected] |
vtkPolyDataMapper* VISU_PlanesWidget.SphereMapper [protected] |
VISU_UnScaledActor* VISU_PlanesWidget.SphereActor [protected] |
vtkCellPicker* VISU_PlanesWidget.Picker [protected] |
vtkTransform* VISU_PlanesWidget.Transform [protected] |
vtkProperty* VISU_PlanesWidget.NormalProperty [protected] |
vtkProperty* VISU_PlanesWidget.SelectedNormalProperty [protected] |
vtkProperty* VISU_PlanesWidget.PlaneProperty [protected] |
vtkProperty* VISU_PlanesWidget.SelectedPlaneProperty [protected] |
vtkProperty* VISU_PlanesWidget.OutlineProperty [protected] |
vtkProperty* VISU_PlanesWidget.SelectedOutlineProperty [protected] |
vtkProperty* VISU_PlanesWidget.EdgesProperty [protected] |