34 #ifndef vtkParallelopipedRepresentation_h
35 #define vtkParallelopipedRepresentation_h
38 #include "vtkInteractionWidgetsModule.h"
52 class vtkParallelopipedTopology;
100 vtkSetMacro(InteractionState,
int);
126 virtual
void SetHoveredHandleProperty(vtkProperty*);
127 virtual
void SetSelectedHandleProperty(vtkProperty*);
128 vtkGetObjectMacro(HandleProperty, vtkProperty);
129 vtkGetObjectMacro(HoveredHandleProperty, vtkProperty);
130 vtkGetObjectMacro(SelectedHandleProperty, vtkProperty);
150 vtkGetObjectMacro(FaceProperty, vtkProperty);
151 vtkGetObjectMacro(SelectedFaceProperty, vtkProperty);
159 vtkGetObjectMacro(OutlineProperty, vtkProperty);
160 vtkGetObjectMacro(SelectedOutlineProperty, vtkProperty);
167 void BuildRepresentation() override;
173 void ReleaseGraphicsResources(
vtkWindow* w) override;
175 int RenderOpaqueGeometry(
vtkViewport* viewport) override;
182 int ComputeInteractionState(
int X,
int Y,
int modify = 0) override;
200 RotatingParallelopiped
202 #if !defined(VTK_LEGACY_REMOVE)
209 virtual void Translate(
int X,
int Y);
210 virtual void Scale(
int X,
int Y);
216 virtual void PositionHandles();
225 vtkSetMacro(MinimumThickness,
double);
226 vtkGetMacro(MinimumThickness,
double);
236 void TranslatePoint(
int n,
const double motionVector[3]);
242 void SetHandleHighlight(
int handleIdx,
vtkProperty* property);
249 void HighlightAllFaces();
250 void UnHighlightAllFaces();
256 void UpdateChairAtNode(
int node);
259 void RemoveExistingChairs();
269 void DefinePlane(
vtkPlane*,
double p[3][3]);
285 double LastEventPosition[2];
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