41 #ifndef vtkAffineRepresentation2D_h 42 #define vtkAffineRepresentation2D_h 44 #include "vtkInteractionWidgetsModule.h" 84 vtkGetMacro(BoxWidth,
int);
86 vtkGetMacro(CircleWidth,
int);
88 vtkGetMacro(AxesWidth,
int);
98 void SetOrigin(
double ox,
double oy,
double oz);
99 vtkGetVector3Macro(Origin,
double);
131 vtkGetMacro(DisplayText,
int);
148 void BuildRepresentation() VTK_OVERRIDE;
155 void ShallowCopy(
vtkProp *prop) VTK_OVERRIDE;
157 void ReleaseGraphicsResources(
vtkWindow *) VTK_OVERRIDE;
158 int RenderOverlay(
vtkViewport *viewport) VTK_OVERRIDE;
166 void Translate(
double eventPos[2]);
167 void Scale(
double eventPos[2]);
168 void Rotate(
double eventPos[2]);
169 void Shear(
double eventPos[2]);
170 void Highlight(
int highlight) VTK_OVERRIDE;
171 void UpdateText(const
char *text,
double eventPos[2]);
183 double CurrentRadius;
184 double CurrentAxesWidth;
191 double DisplayOrigin[3];
192 double CurrentTranslation[3];
193 double StartWorldPosition[4];
196 double CurrentScale[2];
197 double CurrentShear[2];
205 void CreateDefaultProperties();
207 double SelectedOpacity;
210 double LastEventPosition[2];
abstract superclass for all actors, volumes and annotations
abstract class for representing affine transformation widgets
abstract specification for Viewports
a actor that draws 2D data
virtual void GetTransform(vtkTransform *t)=0
Retrieve a linear transform characterizing the affine transformation generated by this widget...
concrete dataset represents vertices, lines, polygons, and triangle strips
void SetOrigin(const double o[3])
Specify the origin of the widget (in world coordinates).
window superclass for vtkRenderWindow
a simple class to control print indentation
create a leader with optional label and arrows
represent 2D affine transformations
represent text properties.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
object to represent cell connectivity
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instances of this class.
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