39 #ifndef vtkBorderRepresentation_h
40 #define vtkBorderRepresentation_h
43 #include "vtkInteractionWidgetsModule.h"
80 vtkViewportCoordinateMacro(Position);
81 vtkViewportCoordinateMacro(Position2);
117 vtkSetClampMacro(ShowVerticalBorder,
int, BORDER_OFF, BORDER_ACTIVE);
118 vtkGetMacro(ShowVerticalBorder,
int);
126 vtkSetClampMacro(ShowHorizontalBorder,
int, BORDER_OFF, BORDER_ACTIVE);
127 vtkGetMacro(ShowHorizontalBorder,
int);
156 vtkSetVector2Macro(MinimumSize,
int);
157 vtkGetVector2Macro(MinimumSize,
int);
158 vtkSetVector2Macro(MaximumSize,
int);
159 vtkGetVector2Macro(MaximumSize,
int);
168 vtkSetClampMacro(Tolerance,
int, 1, 10);
169 vtkGetMacro(Tolerance,
int);
177 vtkGetVectorMacro(SelectionPoint,
double, 2);
254 double SelectionPoint[2];
271 double StartPosition[2];
a actor that draws 2D data
represent a vtkBorderWidget
virtual void GetSize(double size[2])
static vtkBorderRepresentation * New()
Instantiate this class.
int RenderTranslucentPolygonalGeometry(vtkViewport *) override
vtkTypeBool ProportionalResize
virtual int GetShowBorderMinValue()
vtkPolyDataMapper2D * BWMapper
void SetShowBorderToActive()
_InteractionState
Define the various states that the representation can be in.
void WidgetInteraction(double eventPos[2]) override
void GetActors2D(vtkPropCollection *) override
These methods are necessary to make this representation behave as a vtkProp.
vtkTransform * BWTransform
vtkCoordinate * Position2Coordinate
~vtkBorderRepresentation() override
vtkCoordinate * PositionCoordinate
vtkTransformPolyDataFilter * BWTransformFilter
vtkBorderRepresentation()
virtual void NegotiateLayout()
vtkTypeBool HasTranslucentPolygonalGeometry() override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
int ComputeInteractionState(int X, int Y, int modify=0) override
virtual void SetShowBorder(int border)
Specify when and if the border should appear.
void StartWidgetInteraction(double eventPos[2]) override
int RenderOpaqueGeometry(vtkViewport *) override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
virtual int GetShowBorderMaxValue()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RenderOverlay(vtkViewport *) override
void BuildRepresentation() override
Subclasses should implement these methods.
virtual int GetShowBorder()
vtkProperty2D * BorderProperty
void SetShowBorderToOff()
void ReleaseGraphicsResources(vtkWindow *) override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being...
vtkMTimeType GetMTime() override
Return the MTime of this object.
virtual void UpdateShowBorder()
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 Viewports
window superclass for vtkRenderWindow
vtkTypeUInt32 vtkMTimeType