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