provide the representation for a vtkSliderWidget with a 3D skin
More...
#include <vtkSliderRepresentation2D.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:
- vtkSliderRepresentation2D (Examples)
- Tests:
- vtkSliderRepresentation2D (Tests)
Definition at line 58 of file vtkSliderRepresentation2D.h.
vtkSliderRepresentation2D::vtkSliderRepresentation2D |
( |
| ) |
|
|
protected |
vtkSliderRepresentation2D::~vtkSliderRepresentation2D |
( |
| ) |
|
|
protected |
static int vtkSliderRepresentation2D::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
Standard methods for the class.
virtual int vtkSliderRepresentation2D::IsA |
( |
const char * |
type | ) |
|
|
virtual |
Standard methods for the class.
virtual vtkObjectBase* vtkSliderRepresentation2D::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
Standard methods for the class.
void vtkSliderRepresentation2D::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
Standard methods for the class.
vtkCoordinate* vtkSliderRepresentation2D::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.
vtkCoordinate* vtkSliderRepresentation2D::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.
virtual void vtkSliderRepresentation2D::SetTitleText |
( |
const char * |
| ) |
|
|
virtual |
Specify the label text for this widget. If the value is not set, or set to the empty string "", then the label text is not displayed.
Reimplemented from vtkSliderRepresentation.
virtual const char* vtkSliderRepresentation2D::GetTitleText |
( |
| ) |
|
|
virtual |
Specify the label text for this widget. If the value is not set, or set to the empty string "", then the label text is not displayed.
Reimplemented from vtkSliderRepresentation.
virtual vtkProperty2D* vtkSliderRepresentation2D::GetSliderProperty |
( |
| ) |
|
|
virtual |
Get the slider properties. The properties of the slider when selected and unselected can be manipulated.
virtual vtkProperty2D* vtkSliderRepresentation2D::GetTubeProperty |
( |
| ) |
|
|
virtual |
Get the properties for the tube and end caps.
virtual vtkProperty2D* vtkSliderRepresentation2D::GetCapProperty |
( |
| ) |
|
|
virtual |
Get the properties for the tube and end caps.
virtual vtkProperty2D* vtkSliderRepresentation2D::GetSelectedProperty |
( |
| ) |
|
|
virtual |
Get the selection property. This property is used to modify the appearance of selected objects (e.g., the slider).
virtual vtkTextProperty* vtkSliderRepresentation2D::GetLabelProperty |
( |
| ) |
|
|
virtual |
Set/Get the properties for the label and title text.
virtual vtkTextProperty* vtkSliderRepresentation2D::GetTitleProperty |
( |
| ) |
|
|
virtual |
Set/Get the properties for the label and title text.
virtual void vtkSliderRepresentation2D::PlaceWidget |
( |
double |
bounds[6] | ) |
|
|
virtual |
Methods to interface with the vtkSliderWidget. The PlaceWidget() method assumes that the parameter bounds[6] specifies the location in display space where the widget should be placed.
virtual void vtkSliderRepresentation2D::BuildRepresentation |
( |
| ) |
|
|
virtual |
virtual void vtkSliderRepresentation2D::StartWidgetInteraction |
( |
double |
eventPos[2] | ) |
|
|
virtual |
virtual void vtkSliderRepresentation2D::WidgetInteraction |
( |
double |
newEventPos[2] | ) |
|
|
virtual |
virtual void vtkSliderRepresentation2D::Highlight |
( |
int |
| ) |
|
|
virtual |
Methods to interface with the vtkSliderWidget. The PlaceWidget() method assumes that the parameter bounds[6] specifies the location in display space where the widget should be placed.
virtual void vtkSliderRepresentation2D::GetActors2D |
( |
vtkPropCollection * |
| ) |
|
|
virtual |
virtual void vtkSliderRepresentation2D::ReleaseGraphicsResources |
( |
vtkWindow * |
| ) |
|
|
virtual |
virtual int vtkSliderRepresentation2D::RenderOverlay |
( |
vtkViewport * |
| ) |
|
|
virtual |
Methods supporting the rendering process.
virtual int vtkSliderRepresentation2D::RenderOpaqueGeometry |
( |
vtkViewport * |
| ) |
|
|
virtual |
Methods supporting the rendering process.
virtual double vtkSliderRepresentation2D::ComputePickPosition |
( |
double |
eventPos[2] | ) |
|
|
protectedvirtual |
vtkCoordinate* vtkSliderRepresentation2D::Point1Coordinate |
|
protected |
vtkCoordinate* vtkSliderRepresentation2D::Point2Coordinate |
|
protected |
vtkPoints* vtkSliderRepresentation2D::Points |
|
protected |
vtkPolyDataMapper2D* vtkSliderRepresentation2D::SliderMapper |
|
protected |
vtkActor2D* vtkSliderRepresentation2D::SliderActor |
|
protected |
vtkProperty2D* vtkSliderRepresentation2D::SliderProperty |
|
protected |
vtkPolyDataMapper2D* vtkSliderRepresentation2D::TubeMapper |
|
protected |
vtkActor2D* vtkSliderRepresentation2D::TubeActor |
|
protected |
vtkProperty2D* vtkSliderRepresentation2D::TubeProperty |
|
protected |
vtkPolyDataMapper2D* vtkSliderRepresentation2D::CapMapper |
|
protected |
vtkActor2D* vtkSliderRepresentation2D::CapActor |
|
protected |
vtkProperty2D* vtkSliderRepresentation2D::CapProperty |
|
protected |
vtkTextProperty* vtkSliderRepresentation2D::LabelProperty |
|
protected |
vtkTextMapper* vtkSliderRepresentation2D::LabelMapper |
|
protected |
vtkActor2D* vtkSliderRepresentation2D::LabelActor |
|
protected |
vtkTextProperty* vtkSliderRepresentation2D::TitleProperty |
|
protected |
vtkTextMapper* vtkSliderRepresentation2D::TitleMapper |
|
protected |
vtkActor2D* vtkSliderRepresentation2D::TitleActor |
|
protected |
vtkProperty2D* vtkSliderRepresentation2D::SelectedProperty |
|
protected |
double vtkSliderRepresentation2D::X |
|
protected |
The documentation for this class was generated from the following file: