 |
VTK
9.0.1
|
Go to the documentation of this file.
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];
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