VTK
|
provide the representation for a vtkSliderWidget with a 3D skin More...
#include <vtkSliderRepresentation3D.h>
provide the representation for a vtkSliderWidget with a 3D skin
This class is used to represent and render a vtkSliderWidget. To use this class, you must at a minimum specify the end points of the slider. Optional instance variable can be used to modify the appearance of the widget.
Definition at line 54 of file vtkSliderRepresentation3D.h.
Standard methods for the class.
Reimplemented from vtkSliderRepresentation.
Definition at line 62 of file vtkSliderRepresentation3D.h.
enum vtkSliderRepresentation3D::_SliderShape [protected] |
Definition at line 224 of file vtkSliderRepresentation3D.h.
vtkSliderRepresentation3D::vtkSliderRepresentation3D | ( | ) | [protected] |
vtkSliderRepresentation3D::~vtkSliderRepresentation3D | ( | ) | [protected] |
static vtkSliderRepresentation3D* vtkSliderRepresentation3D::New | ( | ) | [static] |
Instantiate the class.
Reimplemented from vtkObject.
static int vtkSliderRepresentation3D::IsTypeOf | ( | const char * | type | ) | [static] |
Standard methods for the class.
Reimplemented from vtkSliderRepresentation.
virtual int vtkSliderRepresentation3D::IsA | ( | const char * | type | ) | [virtual] |
Standard methods for the class.
Reimplemented from vtkSliderRepresentation.
static vtkSliderRepresentation3D* vtkSliderRepresentation3D::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Standard methods for the class.
Reimplemented from vtkSliderRepresentation.
virtual vtkObjectBase* vtkSliderRepresentation3D::NewInstanceInternal | ( | ) | const [protected, virtual] |
Standard methods for the class.
Reimplemented from vtkSliderRepresentation.
Standard methods for the class.
Reimplemented from vtkSliderRepresentation.
void vtkSliderRepresentation3D::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
Standard methods for the class.
Reimplemented from vtkSliderRepresentation.
Position the first end point of the slider. Note that this point is an instance of vtkCoordinate, meaning that Point 1 can be specified in a variety of coordinate systems, and can even be relative to another point. To set the point, you'll want to get the Point1Coordinate and then invoke the necessary methods to put it into the correct coordinate system and set the correct initial value.
void vtkSliderRepresentation3D::SetPoint1InWorldCoordinates | ( | double | x, |
double | y, | ||
double | z | ||
) |
Position the first end point of the slider. Note that this point is an instance of vtkCoordinate, meaning that Point 1 can be specified in a variety of coordinate systems, and can even be relative to another point. To set the point, you'll want to get the Point1Coordinate and then invoke the necessary methods to put it into the correct coordinate system and set the correct initial value.
Position the second end point of the slider. Note that this point is an instance of vtkCoordinate, meaning that Point 1 can be specified in a variety of coordinate systems, and can even be relative to another point. To set the point, you'll want to get the Point2Coordinate and then invoke the necessary methods to put it into the correct coordinate system and set the correct initial value.
void vtkSliderRepresentation3D::SetPoint2InWorldCoordinates | ( | double | x, |
double | y, | ||
double | z | ||
) |
Position the second end point of the slider. Note that this point is an instance of vtkCoordinate, meaning that Point 1 can be specified in a variety of coordinate systems, and can even be relative to another point. To set the point, you'll want to get the Point2Coordinate and then invoke the necessary methods to put it into the correct coordinate system and set the correct initial value.
virtual void vtkSliderRepresentation3D::SetTitleText | ( | const char * | ) | [virtual] |
Specify the title text for this widget. If the value is not set, or set to the empty string "", then the title text is not displayed.
Reimplemented from vtkSliderRepresentation.
virtual const char* vtkSliderRepresentation3D::GetTitleText | ( | ) | [virtual] |
Specify the title text for this widget. If the value is not set, or set to the empty string "", then the title text is not displayed.
Reimplemented from vtkSliderRepresentation.
virtual void vtkSliderRepresentation3D::SetSliderShape | ( | int | ) | [virtual] |
Specify whether to use a sphere or cylinder slider shape. By default, a sphere shape is used.
virtual int vtkSliderRepresentation3D::GetSliderShape | ( | ) | [virtual] |
Specify whether to use a sphere or cylinder slider shape. By default, a sphere shape is used.
void vtkSliderRepresentation3D::SetSliderShapeToSphere | ( | ) | [inline] |
Specify whether to use a sphere or cylinder slider shape. By default, a sphere shape is used.
Definition at line 100 of file vtkSliderRepresentation3D.h.
void vtkSliderRepresentation3D::SetSliderShapeToCylinder | ( | ) | [inline] |
Specify whether to use a sphere or cylinder slider shape. By default, a sphere shape is used.
Definition at line 101 of file vtkSliderRepresentation3D.h.
virtual void vtkSliderRepresentation3D::SetRotation | ( | double | ) | [virtual] |
Set the rotation of the slider widget around the axis of the widget. This is used to control which way the widget is initially oriented. (This is especially important for the label and title.)
virtual double vtkSliderRepresentation3D::GetRotation | ( | ) | [virtual] |
Set the rotation of the slider widget around the axis of the widget. This is used to control which way the widget is initially oriented. (This is especially important for the label and title.)
virtual vtkProperty* vtkSliderRepresentation3D::GetSliderProperty | ( | ) | [virtual] |
Get the slider properties. The properties of the slider when selected and unselected can be manipulated.
virtual vtkProperty* vtkSliderRepresentation3D::GetTubeProperty | ( | ) | [virtual] |
Get the properties for the tube and end caps.
virtual vtkProperty* vtkSliderRepresentation3D::GetCapProperty | ( | ) | [virtual] |
Get the properties for the tube and end caps.
virtual vtkProperty* vtkSliderRepresentation3D::GetSelectedProperty | ( | ) | [virtual] |
Get the selection property. This property is used to modify the appearance of selected objects (e.g., the slider).
virtual void vtkSliderRepresentation3D::PlaceWidget | ( | double | bounds[6] | ) | [virtual] |
Methods to interface with the vtkSliderWidget.
virtual void vtkSliderRepresentation3D::BuildRepresentation | ( | ) | [virtual] |
Methods to interface with the vtkSliderWidget.
Implements vtkWidgetRepresentation.
virtual void vtkSliderRepresentation3D::StartWidgetInteraction | ( | double | eventPos[2] | ) | [virtual] |
Methods to interface with the vtkSliderWidget.
Reimplemented from vtkWidgetRepresentation.
virtual void vtkSliderRepresentation3D::WidgetInteraction | ( | double | newEventPos[2] | ) | [virtual] |
Methods to interface with the vtkSliderWidget.
Reimplemented from vtkWidgetRepresentation.
virtual void vtkSliderRepresentation3D::Highlight | ( | int | ) | [virtual] |
Methods to interface with the vtkSliderWidget.
virtual double* vtkSliderRepresentation3D::GetBounds | ( | ) | [virtual] |
Methods supporting the rendering process.
Reimplemented from vtkWidgetRepresentation.
virtual void vtkSliderRepresentation3D::GetActors | ( | vtkPropCollection * | ) | [virtual] |
Methods supporting the rendering process.
Reimplemented from vtkWidgetRepresentation.
virtual void vtkSliderRepresentation3D::ReleaseGraphicsResources | ( | vtkWindow * | ) | [virtual] |
Methods supporting the rendering process.
Reimplemented from vtkWidgetRepresentation.
virtual int vtkSliderRepresentation3D::RenderOpaqueGeometry | ( | vtkViewport * | ) | [virtual] |
Methods supporting the rendering process.
Reimplemented from vtkProp.
virtual int vtkSliderRepresentation3D::RenderTranslucentPolygonalGeometry | ( | vtkViewport * | ) | [virtual] |
Methods supporting the rendering process.
Reimplemented from vtkProp.
virtual int vtkSliderRepresentation3D::HasTranslucentPolygonalGeometry | ( | ) | [virtual] |
Methods supporting the rendering process.
Reimplemented from vtkWidgetRepresentation.
virtual unsigned long vtkSliderRepresentation3D::GetMTime | ( | ) | [virtual] |
Override GetMTime to include point coordinates
Reimplemented from vtkObject.
virtual void vtkSliderRepresentation3D::RegisterPickers | ( | ) | [protected, virtual] |
Register internal Pickers in the Picking Manager. Must be reimplemented by concrete widget representations to register their pickers.
Reimplemented from vtkWidgetRepresentation.
virtual double vtkSliderRepresentation3D::ComputePickPosition | ( | double | eventPos[2] | ) | [protected, virtual] |
vtkCoordinate* vtkSliderRepresentation3D::Point1Coordinate [protected] |
Definition at line 157 of file vtkSliderRepresentation3D.h.
vtkCoordinate* vtkSliderRepresentation3D::Point2Coordinate [protected] |
Definition at line 158 of file vtkSliderRepresentation3D.h.
double vtkSliderRepresentation3D::Length [protected] |
Definition at line 159 of file vtkSliderRepresentation3D.h.
double vtkSliderRepresentation3D::SP1[3] [protected] |
Definition at line 163 of file vtkSliderRepresentation3D.h.
double vtkSliderRepresentation3D::SP2[3] [protected] |
Definition at line 164 of file vtkSliderRepresentation3D.h.
double vtkSliderRepresentation3D::Rotation [protected] |
Definition at line 167 of file vtkSliderRepresentation3D.h.
int vtkSliderRepresentation3D::SliderShape [protected] |
Definition at line 168 of file vtkSliderRepresentation3D.h.
vtkCellPicker* vtkSliderRepresentation3D::Picker [protected] |
Definition at line 171 of file vtkSliderRepresentation3D.h.
vtkAssembly* vtkSliderRepresentation3D::WidgetAssembly [protected] |
Definition at line 182 of file vtkSliderRepresentation3D.h.
Definition at line 185 of file vtkSliderRepresentation3D.h.
Definition at line 186 of file vtkSliderRepresentation3D.h.
vtkPolyDataMapper* vtkSliderRepresentation3D::TubeMapper [protected] |
Definition at line 189 of file vtkSliderRepresentation3D.h.
vtkActor* vtkSliderRepresentation3D::TubeActor [protected] |
Definition at line 190 of file vtkSliderRepresentation3D.h.
vtkProperty* vtkSliderRepresentation3D::TubeProperty [protected] |
Definition at line 191 of file vtkSliderRepresentation3D.h.
vtkSphereSource* vtkSliderRepresentation3D::SliderSource [protected] |
Definition at line 194 of file vtkSliderRepresentation3D.h.
vtkPolyDataMapper* vtkSliderRepresentation3D::SliderMapper [protected] |
Definition at line 195 of file vtkSliderRepresentation3D.h.
vtkActor* vtkSliderRepresentation3D::SliderActor [protected] |
Definition at line 196 of file vtkSliderRepresentation3D.h.
vtkProperty* vtkSliderRepresentation3D::SliderProperty [protected] |
Definition at line 197 of file vtkSliderRepresentation3D.h.
vtkProperty* vtkSliderRepresentation3D::SelectedProperty [protected] |
Definition at line 198 of file vtkSliderRepresentation3D.h.
Definition at line 201 of file vtkSliderRepresentation3D.h.
vtkActor* vtkSliderRepresentation3D::LeftCapActor [protected] |
Definition at line 202 of file vtkSliderRepresentation3D.h.
vtkProperty* vtkSliderRepresentation3D::CapProperty [protected] |
Definition at line 203 of file vtkSliderRepresentation3D.h.
Definition at line 206 of file vtkSliderRepresentation3D.h.
vtkActor* vtkSliderRepresentation3D::RightCapActor [protected] |
Definition at line 207 of file vtkSliderRepresentation3D.h.
vtkVectorText* vtkSliderRepresentation3D::LabelText [protected] |
Definition at line 211 of file vtkSliderRepresentation3D.h.
vtkPolyDataMapper* vtkSliderRepresentation3D::LabelMapper [protected] |
Definition at line 212 of file vtkSliderRepresentation3D.h.
vtkActor* vtkSliderRepresentation3D::LabelActor [protected] |
Definition at line 213 of file vtkSliderRepresentation3D.h.
vtkVectorText* vtkSliderRepresentation3D::TitleText [protected] |
Definition at line 215 of file vtkSliderRepresentation3D.h.
vtkPolyDataMapper* vtkSliderRepresentation3D::TitleMapper [protected] |
Definition at line 216 of file vtkSliderRepresentation3D.h.
vtkActor* vtkSliderRepresentation3D::TitleActor [protected] |
Definition at line 217 of file vtkSliderRepresentation3D.h.
vtkMatrix4x4* vtkSliderRepresentation3D::Matrix [protected] |
Definition at line 220 of file vtkSliderRepresentation3D.h.
vtkTransform* vtkSliderRepresentation3D::Transform [protected] |
Definition at line 221 of file vtkSliderRepresentation3D.h.