19 #ifndef vtkBoundedWidgetRepresentation_h
20 #define vtkBoundedWidgetRepresentation_h
22 #include "vtkInteractionWidgetsModule.h"
27 VTK_ABI_NAMESPACE_BEGIN
53 vtkSetMacro(OutlineTranslation,
bool);
55 vtkGetMacro(OutlineTranslation,
bool);
56 vtkBooleanMacro(OutlineTranslation,
bool);
64 vtkSetMacro(OutsideBounds,
bool);
66 vtkGetMacro(OutsideBounds,
bool);
67 vtkBooleanMacro(OutsideBounds,
bool);
75 vtkSetMacro(ConstrainToWidgetBounds,
bool);
77 vtkGetMacro(ConstrainToWidgetBounds,
bool);
78 vtkBooleanMacro(ConstrainToWidgetBounds,
bool);
88 vtkGetObjectMacro(SelectedOutlineProperty,
vtkProperty);
98 vtkSetVector6Macro(WidgetBounds,
double);
99 vtkGetVector6Macro(WidgetBounds,
double);
109 vtkGetMacro(TranslationAxis,
int);
110 vtkSetClampMacro(TranslationAxis,
int, -1, 2);
135 void HighlightOutline(
int highlight);
142 void TranslateOutline(
double* p1,
double* p2);
161 double GetDiagonalLength();
166 void SetOutlineBounds(
double bounds[6]);
168 void GetOutlineBounds(
double bounds[6]);
182 void UpdateCenterAndBounds(
double center[6]);
187 virtual void CreateDefaultProperties();
192 void SetOutlineColor(
double r,
double g,
double b);
194 void SetSelectedOutlineColor(
double r,
double g,
double b);
200 void UpdateOutline();
211 void UpdateWidgetBounds();
221 bool OutlineTranslation =
true;
222 bool OutsideBounds =
true;
223 bool ConstrainToWidgetBounds =
true;
227 double WidgetBounds[6] = { 1, -1, 1, -1, 1, -1 };
230 VTK_ABI_NAMESPACE_END
represents an object (geometry & properties) in a rendered scene
represent surface properties of a geometric object
create wireframe outline for an arbitrary data set or composite dataset
a simple class to control print indentation
topologically and geometrically regular array of data
map vtkPolyData to graphics primitives