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.
- See Also
- vtkSliderWidget
- Examples:
- vtkSliderRepresentation3D (Examples)
- Tests:
- vtkSliderRepresentation3D (Tests)
Definition at line 54 of file vtkSliderRepresentation3D.h.
vtkSliderRepresentation3D::vtkSliderRepresentation3D |
( |
| ) |
|
|
protected |
vtkSliderRepresentation3D::~vtkSliderRepresentation3D |
( |
| ) |
|
|
protected |
static int vtkSliderRepresentation3D::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
Standard methods for the class.
virtual int vtkSliderRepresentation3D::IsA |
( |
const char * |
type | ) |
|
|
virtual |
Standard methods for the class.
virtual vtkObjectBase* vtkSliderRepresentation3D::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
Standard methods for the class.
void vtkSliderRepresentation3D::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
Standard methods for the class.
vtkCoordinate* vtkSliderRepresentation3D::GetPoint1Coordinate |
( |
| ) |
|
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.
vtkCoordinate* vtkSliderRepresentation3D::GetPoint2Coordinate |
( |
| ) |
|
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 |
virtual void vtkSliderRepresentation3D::BuildRepresentation |
( |
| ) |
|
|
virtual |
virtual void vtkSliderRepresentation3D::StartWidgetInteraction |
( |
double |
eventPos[2] | ) |
|
|
virtual |
virtual void vtkSliderRepresentation3D::WidgetInteraction |
( |
double |
newEventPos[2] | ) |
|
|
virtual |
virtual void vtkSliderRepresentation3D::Highlight |
( |
int |
| ) |
|
|
virtual |
virtual double* vtkSliderRepresentation3D::GetBounds |
( |
| ) |
|
|
virtual |
virtual void vtkSliderRepresentation3D::GetActors |
( |
vtkPropCollection * |
| ) |
|
|
virtual |
virtual void vtkSliderRepresentation3D::ReleaseGraphicsResources |
( |
vtkWindow * |
| ) |
|
|
virtual |
virtual int vtkSliderRepresentation3D::RenderOpaqueGeometry |
( |
vtkViewport * |
| ) |
|
|
virtual |
Methods supporting the rendering process.
virtual int vtkSliderRepresentation3D::RenderTranslucentPolygonalGeometry |
( |
vtkViewport * |
| ) |
|
|
virtual |
Methods supporting the rendering process.
virtual int vtkSliderRepresentation3D::HasTranslucentPolygonalGeometry |
( |
| ) |
|
|
virtual |
virtual unsigned long vtkSliderRepresentation3D::GetMTime |
( |
| ) |
|
|
virtual |
Override GetMTime to include point coordinates
virtual void vtkSliderRepresentation3D::RegisterPickers |
( |
| ) |
|
|
protectedvirtual |
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] | ) |
|
|
protectedvirtual |
vtkCoordinate* vtkSliderRepresentation3D::Point1Coordinate |
|
protected |
vtkCoordinate* vtkSliderRepresentation3D::Point2Coordinate |
|
protected |
double vtkSliderRepresentation3D::Length |
|
protected |
double vtkSliderRepresentation3D::SP1[3] |
|
protected |
double vtkSliderRepresentation3D::SP2[3] |
|
protected |
double vtkSliderRepresentation3D::Rotation |
|
protected |
int vtkSliderRepresentation3D::SliderShape |
|
protected |
vtkCellPicker* vtkSliderRepresentation3D::Picker |
|
protected |
vtkAssembly* vtkSliderRepresentation3D::WidgetAssembly |
|
protected |
vtkPolyDataMapper* vtkSliderRepresentation3D::TubeMapper |
|
protected |
vtkActor* vtkSliderRepresentation3D::TubeActor |
|
protected |
vtkProperty* vtkSliderRepresentation3D::TubeProperty |
|
protected |
vtkPolyDataMapper* vtkSliderRepresentation3D::SliderMapper |
|
protected |
vtkActor* vtkSliderRepresentation3D::SliderActor |
|
protected |
vtkProperty* vtkSliderRepresentation3D::SliderProperty |
|
protected |
vtkProperty* vtkSliderRepresentation3D::SelectedProperty |
|
protected |
vtkPolyDataMapper* vtkSliderRepresentation3D::LeftCapMapper |
|
protected |
vtkActor* vtkSliderRepresentation3D::LeftCapActor |
|
protected |
vtkProperty* vtkSliderRepresentation3D::CapProperty |
|
protected |
vtkPolyDataMapper* vtkSliderRepresentation3D::RightCapMapper |
|
protected |
vtkActor* vtkSliderRepresentation3D::RightCapActor |
|
protected |
vtkVectorText* vtkSliderRepresentation3D::LabelText |
|
protected |
vtkPolyDataMapper* vtkSliderRepresentation3D::LabelMapper |
|
protected |
vtkActor* vtkSliderRepresentation3D::LabelActor |
|
protected |
vtkVectorText* vtkSliderRepresentation3D::TitleText |
|
protected |
vtkPolyDataMapper* vtkSliderRepresentation3D::TitleMapper |
|
protected |
vtkActor* vtkSliderRepresentation3D::TitleActor |
|
protected |
The documentation for this class was generated from the following file: