39 #ifndef vtkBorderRepresentation_h 40 #define vtkBorderRepresentation_h 42 #include "vtkInteractionWidgetsModule.h" 81 vtkViewportCoordinateMacro(Position);
82 vtkViewportCoordinateMacro(Position2);
99 virtual void SetShowBorder(
int border);
100 virtual int GetShowBorderMinValue();
101 virtual int GetShowBorderMaxValue();
102 virtual int GetShowBorder();
113 vtkSetClampMacro(ShowVerticalBorder,
int,BORDER_OFF,BORDER_ACTIVE);
114 vtkGetMacro(ShowVerticalBorder,
int);
122 vtkSetClampMacro(ShowHorizontalBorder,
int,BORDER_OFF,BORDER_ACTIVE);
123 vtkGetMacro(ShowHorizontalBorder,
int);
142 vtkGetMacro(ProportionalResize,
int);
152 vtkSetVector2Macro(MinimumSize,
int);
153 vtkGetVector2Macro(MinimumSize,
int);
154 vtkSetVector2Macro(MaximumSize,
int);
155 vtkGetVector2Macro(MaximumSize,
int);
164 vtkSetClampMacro(Tolerance,
int,1,10);
165 vtkGetMacro(Tolerance,
int);
173 vtkGetVectorMacro(SelectionPoint,
double,2);
183 vtkGetMacro(Moving,
int);
215 void BuildRepresentation() VTK_OVERRIDE;
216 void StartWidgetInteraction(
double eventPos[2]) VTK_OVERRIDE;
217 void WidgetInteraction(
double eventPos[2]) VTK_OVERRIDE;
218 virtual
void GetSize(
double size[2])
229 void ReleaseGraphicsResources(
vtkWindow*) VTK_OVERRIDE;
231 int RenderOpaqueGeometry(
vtkViewport*) VTK_OVERRIDE;
232 int RenderTranslucentPolygonalGeometry(
vtkViewport*) VTK_OVERRIDE;
233 int HasTranslucentPolygonalGeometry() VTK_OVERRIDE;
241 int ShowVerticalBorder;
242 int ShowHorizontalBorder;
244 int ProportionalResize;
247 double SelectionPoint[2];
256 virtual
void NegotiateLayout();
261 virtual
void UpdateShowBorder();
264 double StartPosition[2];
vtkTypeUInt32 vtkMTimeType
abstract specification for Viewports
a actor that draws 2D data
void SetShowBorderToOff()
Specify when and if the border should appear.
concrete dataset represents vertices, lines, polygons, and triangle strips
window superclass for vtkRenderWindow
void SetShowBorderToOn()
Specify when and if the border should appear.
a simple class to control print indentation
void SetShowBorderToActive()
Specify when and if the border should appear.
virtual vtkMTimeType GetMTime()
Return this object's modified time.
represent a vtkBorderWidget
perform coordinate transformation, and represent position, in a variety of vtk coordinate systems ...
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
_InteractionState
Define the various states that the representation can be in.
represent surface properties of a 2D image
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
draw vtkPolyData onto the image plane
represent and manipulate 3D points