Go to the documentation of this file.
42 #ifndef vtkBorderRepresentation_h
43 #define vtkBorderRepresentation_h
45 #include "vtkInteractionWidgetsModule.h"
84 vtkViewportCoordinateMacro(Position);
85 vtkViewportCoordinateMacro(Position2);
116 vtkSetClampMacro(ShowVerticalBorder,
int,BORDER_OFF,BORDER_ACTIVE);
117 vtkGetMacro(ShowVerticalBorder,
int);
125 vtkSetClampMacro(ShowHorizontalBorder,
int,BORDER_OFF,BORDER_ACTIVE);
126 vtkGetMacro(ShowHorizontalBorder,
int);
145 vtkGetMacro(ProportionalResize,
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);
186 vtkGetMacro(Moving,
int);
250 double SelectionPoint[2];
267 double StartPosition[2];
represent and manipulate 3D points
virtual int HasTranslucentPolygonalGeometry()
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
draw vtkPolyData onto the image plane
represent a vtkBorderWidget
virtual void GetActors2D(vtkPropCollection *)
These methods are necessary to make this representation behave as a vtkProp.
virtual void SetShowBorder(int border)
Specify when and if the border should appear.
virtual void UpdateShowBorder()
static vtkBorderRepresentation * New()
Instantiate this class.
vtkTransform * BWTransform
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *)
vtkCoordinate * Position2Coordinate
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkCoordinate * PositionCoordinate
virtual void StartWidgetInteraction(double eventPos[2])
void SetShowBorderToOff()
virtual int GetShowBorderMaxValue()
vtkTransformPolyDataFilter * BWTransformFilter
void SetShowBorderToActive()
~vtkBorderRepresentation()
window superclass for vtkRenderWindow
vtkTypeUInt64 vtkMTimeType
vtkBorderRepresentation()
virtual void WidgetInteraction(double eventPos[2])
virtual int RenderOpaqueGeometry(vtkViewport *)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
vtkProperty2D * BorderProperty
virtual void NegotiateLayout()
a simple class to control print indentation
virtual void GetSize(double size[2])
virtual void BuildRepresentation()
Subclasses should implement these methods.
virtual int GetShowBorderMinValue()
virtual int GetShowBorder()
virtual vtkMTimeType GetMTime()
Return the MTime of this object.
perform coordinate transformation, and represent position, in a variety of vtk coordinate systems
abstract specification for Viewports
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
virtual int RenderOverlay(vtkViewport *)
represent surface properties of a 2D image
a actor that draws 2D data
_InteractionState
Define the various states that the representation can be in.
virtual void ReleaseGraphicsResources(vtkWindow *)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being...
concrete dataset represents vertices, lines, polygons, and triangle strips
vtkPolyDataMapper2D * BWMapper
virtual int ComputeInteractionState(int X, int Y, int modify=0)