22 #ifndef vtkParallelopipedRepresentation_h
23 #define vtkParallelopipedRepresentation_h
26 #include "vtkInteractionWidgetsModule.h"
27 #include "vtkLegacy.h"
30 VTK_ABI_NAMESPACE_BEGIN
42 class vtkParallelopipedTopology;
90 vtkSetMacro(InteractionState,
int);
116 virtual
void SetHoveredHandleProperty(vtkProperty*);
117 virtual
void SetSelectedHandleProperty(vtkProperty*);
118 vtkGetObjectMacro(HandleProperty, vtkProperty);
119 vtkGetObjectMacro(HoveredHandleProperty, vtkProperty);
120 vtkGetObjectMacro(SelectedHandleProperty, vtkProperty);
140 vtkGetObjectMacro(FaceProperty, vtkProperty);
141 vtkGetObjectMacro(SelectedFaceProperty, vtkProperty);
149 vtkGetObjectMacro(OutlineProperty, vtkProperty);
150 vtkGetObjectMacro(SelectedOutlineProperty, vtkProperty);
157 void BuildRepresentation() override;
163 void ReleaseGraphicsResources(
vtkWindow* w) override;
165 int RenderOpaqueGeometry(
vtkViewport* viewport) override;
172 int ComputeInteractionState(
int X,
int Y,
int modify = 0) override;
190 RotatingParallelopiped
192 #if !defined(VTK_LEGACY_REMOVE)
199 virtual void Translate(
int X,
int Y);
200 virtual void Scale(
int X,
int Y);
206 virtual void PositionHandles();
215 vtkSetMacro(MinimumThickness,
double);
216 vtkGetMacro(MinimumThickness,
double);
226 void TranslatePoint(
int n,
const double motionVector[3]);
232 void SetHandleHighlight(
int handleIdx,
vtkProperty* property);
239 void HighlightAllFaces();
240 void UnHighlightAllFaces();
246 void UpdateChairAtNode(
int node);
249 void RemoveExistingChairs();
259 void DefinePlane(
vtkPlane*,
double p[3][3]);
275 double LastEventPosition[2];
306 VTK_ABI_NAMESPACE_END
vtkClosedSurfacePointPlacer * ChairPointPlacer
vtkPolyDataMapper * HexMapper
represents an object (geometry & properties) in a rendered scene
abstract class for representing widget handles
abstract specification for Viewports
represent surface properties of a geometric object
vtkHandleRepresentation * HandleRepresentation
vtkProperty * SelectedHandleProperty
#define VTK_DEPRECATED_IN_9_2_0(reason)
maintain a list of planes
vtkParallelopipedTopology * Topology
concrete dataset represents vertices, lines, polygons, and triangle strips
double AbsoluteMinimumThickness
vtkPolyData * HexPolyData
vtkProperty * SelectedOutlineProperty
vtkProperty * SelectedFaceProperty
window superclass for vtkRenderWindow
vtkProperty * OutlineProperty
a simple class to control print indentation
Default representation for vtkParallelopipedWidget.
vtkPolyDataMapper * HexFaceMapper
vtkProperty * HoveredHandleProperty
perform various plane computations
vtkHandleRepresentation ** HandleRepresentations
#define VTK_SIZEHINT(...)
vtkProperty * HandleProperty
map vtkPolyData to graphics primitives
object to represent cell connectivity
vtkPolyData * HexFacePolyData
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
vtkProperty * FaceProperty
PointPlacer to constrain validity within a set of convex planes.
represent and manipulate 3D points