provide the representation for a vtkCenteredSliderWidget
More...
#include <vtkCenteredSliderRepresentation.h>
provide the representation for a vtkCenteredSliderWidget
This class is used to represent and render a vtkCenteredSliderWidget. 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
Definition at line 59 of file vtkCenteredSliderRepresentation.h.
vtkCenteredSliderRepresentation::vtkCenteredSliderRepresentation |
( |
| ) |
|
|
protected |
vtkCenteredSliderRepresentation::~vtkCenteredSliderRepresentation |
( |
| ) |
|
|
protected |
static int vtkCenteredSliderRepresentation::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
Standard methods for the class.
virtual int vtkCenteredSliderRepresentation::IsA |
( |
const char * |
type | ) |
|
|
virtual |
Standard methods for the class.
virtual vtkObjectBase* vtkCenteredSliderRepresentation::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
Standard methods for the class.
void vtkCenteredSliderRepresentation::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
Standard methods for the class.
vtkCoordinate* vtkCenteredSliderRepresentation::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* vtkCenteredSliderRepresentation::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 vtkCenteredSliderRepresentation::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* vtkCenteredSliderRepresentation::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* vtkCenteredSliderRepresentation::GetTubeProperty |
( |
| ) |
|
|
virtual |
Get the properties for the tube and slider
virtual vtkProperty2D* vtkCenteredSliderRepresentation::GetSliderProperty |
( |
| ) |
|
|
virtual |
Get the properties for the tube and slider
virtual vtkProperty2D* vtkCenteredSliderRepresentation::GetSelectedProperty |
( |
| ) |
|
|
virtual |
Get the selection property. This property is used to modify the appearance of selected objects (e.g., the slider).
virtual vtkTextProperty* vtkCenteredSliderRepresentation::GetLabelProperty |
( |
| ) |
|
|
virtual |
Set/Get the properties for the label and title text.
virtual void vtkCenteredSliderRepresentation::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 vtkCenteredSliderRepresentation::BuildRepresentation |
( |
| ) |
|
|
virtual |
virtual void vtkCenteredSliderRepresentation::StartWidgetInteraction |
( |
double |
eventPos[2] | ) |
|
|
virtual |
virtual int vtkCenteredSliderRepresentation::ComputeInteractionState |
( |
int |
X, |
|
|
int |
Y, |
|
|
int |
modify = 0 |
|
) |
| |
|
virtual |
virtual void vtkCenteredSliderRepresentation::WidgetInteraction |
( |
double |
eventPos[2] | ) |
|
|
virtual |
virtual void vtkCenteredSliderRepresentation::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 vtkCenteredSliderRepresentation::GetActors |
( |
vtkPropCollection * |
| ) |
|
|
virtual |
virtual void vtkCenteredSliderRepresentation::ReleaseGraphicsResources |
( |
vtkWindow * |
| ) |
|
|
virtual |
virtual int vtkCenteredSliderRepresentation::RenderOverlay |
( |
vtkViewport * |
| ) |
|
|
virtual |
Methods supporting the rendering process.
virtual int vtkCenteredSliderRepresentation::RenderOpaqueGeometry |
( |
vtkViewport * |
| ) |
|
|
virtual |
Methods supporting the rendering process.
virtual double vtkCenteredSliderRepresentation::ComputePickPosition |
( |
double |
x, |
|
|
double |
y |
|
) |
| |
|
protectedvirtual |
void vtkCenteredSliderRepresentation::BuildTube |
( |
| ) |
|
|
protected |
vtkCoordinate* vtkCenteredSliderRepresentation::Point1Coordinate |
|
protected |
vtkCoordinate* vtkCenteredSliderRepresentation::Point2Coordinate |
|
protected |
vtkPoints* vtkCenteredSliderRepresentation::Points |
|
protected |
vtkPolyDataMapper2D* vtkCenteredSliderRepresentation::SliderMapper |
|
protected |
vtkActor2D* vtkCenteredSliderRepresentation::SliderActor |
|
protected |
vtkProperty2D* vtkCenteredSliderRepresentation::SliderProperty |
|
protected |
vtkPolyDataMapper2D* vtkCenteredSliderRepresentation::TubeMapper |
|
protected |
vtkActor2D* vtkCenteredSliderRepresentation::TubeActor |
|
protected |
vtkProperty2D* vtkCenteredSliderRepresentation::TubeProperty |
|
protected |
vtkTextProperty* vtkCenteredSliderRepresentation::LabelProperty |
|
protected |
vtkTextActor* vtkCenteredSliderRepresentation::LabelActor |
|
protected |
vtkProperty2D* vtkCenteredSliderRepresentation::SelectedProperty |
|
protected |
int vtkCenteredSliderRepresentation::HighlightState |
|
protected |
The documentation for this class was generated from the following file: