34 #ifndef vtkParallelopipedRepresentation_h 35 #define vtkParallelopipedRepresentation_h 37 #include "vtkInteractionWidgetsModule.h" 51 class vtkParallelopipedTopology;
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() VTK_OVERRIDE;
173 void ReleaseGraphicsResources(
vtkWindow *w) VTK_OVERRIDE;
174 int RenderOverlay(
vtkViewport *viewport) VTK_OVERRIDE;
175 int RenderOpaqueGeometry(
vtkViewport *viewport) VTK_OVERRIDE;
182 int ComputeInteractionState(
int X,
int Y,
int modify=0) VTK_OVERRIDE;
200 RotatingParallelopiped
205 virtual void Translate(
int X,
int Y );
206 virtual void Scale(
int X,
int Y );
212 virtual void PositionHandles();
222 vtkGetMacro( MinimumThickness,
double );
232 void TranslatePoint(
int n, const
double motionVector[3] );
238 void SetHandleHighlight(
int handleIdx,
vtkProperty *property );
245 void HighlightAllFaces();
246 void UnHighlightAllFaces();
252 void UpdateChairAtNode(
int node );
255 void RemoveExistingChairs();
265 void DefinePlane(
vtkPlane *,
double p[3][3]);
271 void DefinePlane( vtkPlane *,
vtkIdType, vtkIdType, vtkIdType);
281 double LastEventPosition[2];
284 int LastResizeAxisIdx;
288 int CurrentHandleIdx;
294 double InitialChairDepth;
296 vtkProperty * HandleProperty;
297 vtkProperty * HoveredHandleProperty;
298 vtkProperty * FaceProperty;
299 vtkProperty * OutlineProperty;
300 vtkProperty * SelectedHandleProperty;
301 vtkProperty * SelectedFaceProperty;
302 vtkProperty * SelectedOutlineProperty;
304 vtkParallelopipedTopology * Topology;
305 double MinimumThickness;
306 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