27 #ifndef vtkPointHandleRepresentationSphere_h 28 #define vtkPointHandleRepresentationSphere_h 30 #include "vtkHandleRepresentation.h" 31 #include "vtkPVVTKExtensionsDefaultModule.h" 37 class vtkPolyDataAlgorithm;
38 class vtkPolyDataMapper;
42 :
public vtkHandleRepresentation
55 void PrintSelf(ostream& os, vtkIndent indent);
64 void SetCursorShape(vtkPolyData* cursorShape);
65 vtkPolyData* GetCursorShape();
73 virtual void SetDisplayPosition(
double xyz[3]);
79 void SetProperty(vtkProperty*);
80 void SetSelectedProperty(vtkProperty*);
81 vtkGetObjectMacro(Property, vtkProperty);
82 vtkGetObjectMacro(SelectedProperty, vtkProperty);
91 virtual double* GetBounds();
92 virtual void BuildRepresentation();
93 virtual void StartWidgetInteraction(
double eventPos[2]);
94 virtual void WidgetInteraction(
double eventPos[2]);
95 virtual int ComputeInteractionState(
int X,
int Y,
int modify = 0);
102 virtual void ShallowCopy(vtkProp* prop);
103 virtual void GetActors(vtkPropCollection*);
104 virtual void ReleaseGraphicsResources(vtkWindow*);
105 virtual int RenderOpaqueGeometry(vtkViewport* viewport);
112 vtkSetMacro(Scalar,
double);
113 vtkGetMacro(Scalar,
double);
120 void SetAddCircleAroundSphere(
int);
121 vtkGetMacro(AddCircleAroundSphere,
int);
122 vtkBooleanMacro(AddCircleAroundSphere,
int);
128 void Highlight(
int highlight);
143 double LastPickPosition[3];
144 double LastEventPosition[2];
148 void Translate(
double eventPos[2]);
149 void Scale(
double eventPos[2]);
156 void CreateDefaultDiskSource();
162 void CreateDefaultProperties();
165 int DetermineConstraintAxis(
int constraint,
double eventPos[2]);
vtkPolyDataMapper * DiskMapper
represent the position of a point in display coordinates
vtkPolyDataMapper * Mapper
vtkProperty * SelectedProperty
int AddCircleAroundSphere
vtkPolyData * CursorShape