42 #ifndef vtkBorderRepresentation_h 43 #define vtkBorderRepresentation_h 45 #include "vtkInteractionWidgetsModule.h" 84 vtkViewportCoordinateMacro(Position);
85 vtkViewportCoordinateMacro(Position2);
102 virtual void SetShowBorder(
int border);
103 virtual int GetShowBorderMinValue();
104 virtual int GetShowBorderMaxValue();
105 virtual int GetShowBorder();
116 vtkSetClampMacro(ShowVerticalBorder,
int,BORDER_OFF,BORDER_ACTIVE);
117 vtkGetMacro(ShowVerticalBorder,
int);
125 vtkSetClampMacro(ShowHorizontalBorder,
int,BORDER_OFF,BORDER_ACTIVE);
126 vtkGetMacro(ShowHorizontalBorder,
int);
155 vtkSetVector2Macro(MinimumSize,
int);
156 vtkGetVector2Macro(MinimumSize,
int);
157 vtkSetVector2Macro(MaximumSize,
int);
158 vtkGetVector2Macro(MaximumSize,
int);
167 vtkSetClampMacro(Tolerance,
int,1,10);
168 vtkGetMacro(Tolerance,
int);
176 vtkGetVectorMacro(SelectionPoint,
double,2);
222 {size[0]=1.0; size[1]=1.0;}
250 double SelectionPoint[2];
259 virtual void NegotiateLayout();
264 virtual void UpdateShowBorder();
267 double StartPosition[2];
vtkTransform * BWTransform
vtkTypeUInt32 vtkMTimeType
abstract specification for Viewports
vtkTransformPolyDataFilter * BWTransformFilter
a actor that draws 2D data
vtkCoordinate * PositionCoordinate
void SetShowBorderToOff()
Specify when and if the border should appear.
concrete dataset represents vertices, lines, polygons, and triangle strips
vtkProperty2D * BorderProperty
vtkCoordinate * Position2Coordinate
window superclass for vtkRenderWindow
virtual void GetSize(double size[2])
Subclasses should implement these methods.
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 ...
_InteractionState
Define the various states that the representation can be in.
represent surface properties of a 2D image
vtkPolyDataMapper2D * BWMapper
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
vtkTypeBool ProportionalResize
draw vtkPolyData onto the image plane
represent and manipulate 3D points