31 #ifndef vtkParallelopipedRepresentation_h
32 #define vtkParallelopipedRepresentation_h
34 #include "vtkInteractionWidgetsModule.h"
48 class vtkParallelopipedTopology;
123 virtual
void SetHoveredHandleProperty (vtkProperty *);
124 virtual
void SetSelectedHandleProperty (vtkProperty *);
125 vtkGetObjectMacro(HandleProperty, vtkProperty );
126 vtkGetObjectMacro(HoveredHandleProperty, vtkProperty );
127 vtkGetObjectMacro(SelectedHandleProperty, vtkProperty );
147 vtkGetObjectMacro(FaceProperty,vtkProperty);
148 vtkGetObjectMacro(SelectedFaceProperty,vtkProperty);
156 vtkGetObjectMacro(OutlineProperty,vtkProperty);
157 vtkGetObjectMacro(SelectedOutlineProperty,vtkProperty);
164 void BuildRepresentation() VTK_OVERRIDE;
170 void ReleaseGraphicsResources(
vtkWindow *w) VTK_OVERRIDE;
171 int RenderOverlay(
vtkViewport *viewport) VTK_OVERRIDE;
172 int RenderOpaqueGeometry(
vtkViewport *viewport) VTK_OVERRIDE;
179 int ComputeInteractionState(
int X,
int Y,
int modify=0) VTK_OVERRIDE;
197 RotatingParallelopiped
202 virtual void Translate(
int X,
int Y );
203 virtual void Scale(
int X,
int Y );
209 virtual void PositionHandles();
219 vtkGetMacro( MinimumThickness,
double );
229 void TranslatePoint(
int n, const
double motionVector[3] );
235 void SetHandleHighlight(
int handleIdx,
vtkProperty *property );
242 void HighlightAllFaces();
243 void UnHighlightAllFaces();
249 void UpdateChairAtNode(
int node );
252 void RemoveExistingChairs();
262 void DefinePlane(
vtkPlane *,
double p[3][3]);
268 void DefinePlane( vtkPlane *,
vtkIdType, vtkIdType, vtkIdType);
278 double LastEventPosition[2];
281 int LastResizeAxisIdx;
285 int CurrentHandleIdx;
291 double InitialChairDepth;
293 vtkProperty * HandleProperty;
294 vtkProperty * HoveredHandleProperty;
295 vtkProperty * FaceProperty;
296 vtkProperty * OutlineProperty;
297 vtkProperty * SelectedHandleProperty;
298 vtkProperty * SelectedFaceProperty;
299 vtkProperty * SelectedOutlineProperty;
301 vtkParallelopipedTopology * Topology;
302 double MinimumThickness;
303 double AbsoluteMinimumThickness;
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
maintain a list of planes
concrete dataset represents vertices, lines, polygons, and triangle strips
window superclass for vtkRenderWindow
a simple class to control print indentation
Default representation for vtkParallelopipedWidget.
perform various plane computations
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
map vtkPolyData to graphics primitives
object to represent cell connectivity
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
PointPlacer to constrain validity within a set of convex planes.
represent and manipulate 3D points