40#ifndef vtkCompassRepresentation_h
41#define vtkCompassRepresentation_h
46#include "vtkInteractionWidgetsModule.h"
50VTK_ABI_NAMESPACE_BEGIN
a actor that draws 2D data
object to represent cell connectivity
provide a compass and distance, tilt sliders
virtual void TiltWidgetInteraction(double eventPos[2])
Methods to interface with the vtkSliderWidget.
double GetMaximumDistance()
Get/Set the distance range.
virtual double GetDistance()
Get/Set the distance.
vtkSmartPointer< vtkCenteredSliderRepresentation > TiltRepresentation
virtual double GetHeading()
Get/Set the heading in degrees.
double GetMaximumTiltAngle()
Get/Set the tilt range.
vtkProperty2D * RingProperty
int RenderOverlay(vtkViewport *viewPort) override
Methods supporting the rendering process.
virtual void SetDistance(double distance)
Get/Set the distance.
vtkPolyDataMapper2D * RingMapper
virtual std::string GetStatusText()
Return the text used for the status label.
vtkTextProperty * StatusProperty
virtual void EndDistance()
void GetCenterAndUnitRadius(int center[2], double &radius)
void SetMaximumTiltAngle(double angle)
Get/Set the tilt range.
virtual void UpdateTilt(double deltaTilt=0)
Update the tilt by the given delta in degrees.
void WidgetInteraction(double eventPos[2]) override
Methods to interface with the vtkSliderWidget.
void ReleaseGraphicsResources(vtkWindow *window) override
Methods supporting the rendering process.
void SetMinimumDistance(double distance)
Get/Set the distance range.
~vtkCompassRepresentation() override
vtkCoordinate * GetPoint1Coordinate()
Position the first end point of the slider.
int ComputeInteractionState(int X, int Y, int modify=0) override
Methods to interface with the vtkSliderWidget.
virtual void SetHeading(double heading)
Get/Set the heading in degrees.
virtual void SetTilt(double tilt)
Get/Set the tilt in degrees.
vtkCoordinate * Point1Coordinate
vtkCompassRepresentation()
static vtkCompassRepresentation * New()
Instantiate the class.
void GetActors(vtkPropCollection *propCollection) override
Methods supporting the rendering process.
void Highlight(int) override
Methods to interface with the vtkSliderWidget.
vtkTextActor * LabelActor
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for the class.
vtkProperty2D * SelectedProperty
vtkTransformPolyDataFilter * RingXForm
virtual void DistanceWidgetInteraction(double eventPos[2])
Methods to interface with the vtkSliderWidget.
void BuildRepresentation() override
Methods to interface with the vtkSliderWidget.
virtual double GetTilt()
Get/Set the tilt in degrees.
int RenderOpaqueGeometry(vtkViewport *) override
Methods supporting the rendering process.
vtkCoordinate * Point2Coordinate
void SetRenderer(vtkRenderer *renderer) override
Subclasses of vtkWidgetRepresentation must implement these methods.
void StartWidgetInteraction(double eventPos[2]) override
Methods to interface with the vtkSliderWidget.
vtkTextProperty * LabelProperty
void SetMaximumDistance(double distance)
Get/Set the distance range.
double GetMinimumDistance()
Get/Set the distance range.
vtkSmartPointer< vtkCenteredSliderRepresentation > DistanceRepresentation
virtual void UpdateDistance(double deltaDistance=0)
Update the distance by the given delta.
vtkCoordinate * GetPoint2Coordinate()
Position the second end point of the slider.
double GetMinimumTiltAngle()
Get/Set the tilt range.
void PlaceWidget(double bounds[6]) override
Methods to interface with the vtkSliderWidget.
vtkPolyDataMapper2D * BackdropMapper
void SetMinimumTiltAngle(double angle)
Get/Set the tilt range.
vtkTextActor * StatusActor
perform coordinate transformation, and represent position, in a variety of vtk coordinate systems
a simple class to control print indentation
represent and manipulate 3D points
draw vtkPolyData onto the image plane
concrete dataset represents vertices, lines, polygons, and triangle strips
represent surface properties of a 2D image
abstract specification for renderers
Hold a reference to a vtkObjectBase instance.
An actor that displays text.
represent text properties.
abstract specification for Viewports
window superclass for vtkRenderWindow