31#ifndef vtkParallelopipedRepresentation_h
32#define vtkParallelopipedRepresentation_h
34#include "vtkInteractionWidgetsModule.h"
48class vtkParallelopipedTopology;
96 vtkSetMacro(InteractionState,
int);
163 void BuildRepresentation() override;
178 int ComputeInteractionState(
int X,
int Y,
int modify = 0) override;
196 RotatingParallelopiped
217 vtkSetMacro(MinimumThickness,
double);
218 vtkGetMacro(MinimumThickness,
double);
277 double LastEventPosition[2];
represents an object (geometry & properties) in a rendered scene
object to represent cell connectivity
PointPlacer to constrain validity within a set of convex planes.
abstract class for representing widget handles
a simple class to control print indentation
Default representation for vtkParallelopipedWidget.
~vtkParallelopipedRepresentation() override
void RemoveExistingChairs()
vtkParallelopipedTopology * Topology
void GetParallelopipedBoundingPlanes(vtkPlaneCollection *pc)
void PlaceWidget(double bounds[6]) override
Place the widget in the scene.
void TranslatePoint(int n, const double motionVector[3])
Translate the nth PtId (0 <= n <= 15) by the specified amount.
double * GetBounds() override
The parallelopiped polydata.
vtkClosedSurfacePointPlacer * ChairPointPlacer
vtkProperty * HandleProperty
@ RequestTranslateParallelopiped
@ RequestScaleParallelopiped
@ ResizingParallelopipedAlongAnAxis
@ RequestRotateParallelopiped
@ RequestResizeParallelopipedAlongAnAxis
@ RequestResizeParallelopiped
@ TranslatingParallelopiped
vtkProperty * SelectedHandleProperty
void GetPolyData(vtkPolyData *pd)
The parallelopiped polydata.
void HighlightAllFaces()
Highlight face defined by the supplied ptids with the specified property.
virtual void PositionHandles()
Synchronize the parallelopiped handle positions with the Polygonal datastructure.
vtkHandleRepresentation * HandleRepresentation
vtkProperty * HoveredHandleProperty
virtual void Translate(int X, int Y)
virtual void Translate(double translation[3])
static vtkParallelopipedRepresentation * New()
Instantiate the class.
void UpdateChairAtNode(int node)
vtkProperty * FaceProperty
void GetActors(vtkPropCollection *pc) override
Methods to satisfy the superclass.
vtkHandleRepresentation ** HandleRepresentations
vtkProperty * SelectedFaceProperty
virtual void Scale(int X, int Y)
vtkParallelopipedRepresentation()
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instances of this class.
void DefinePlane(vtkPlane *, vtkIdType, vtkIdType, vtkIdType)
vtkProperty * OutlineProperty
vtkPolyDataMapper * HexMapper
void SetFaceHighlight(vtkCellArray *face, vtkProperty *)
Highlight face defined by the supplied ptids with the specified property.
vtkPolyDataMapper * HexFaceMapper
void GetBoundingPlanes(vtkPlaneCollection *pc)
Get the bounding planes of the object.
void UnHighlightAllFaces()
Highlight face defined by the supplied ptids with the specified property.
void SetHandleHighlight(int handleIdx, vtkProperty *property)
Set the highlight state of a handle.
void DefinePlane(vtkPlane *, double p[3][3])
vtkProperty * SelectedOutlineProperty
vtkPolyData * HexPolyData
virtual void PlaceWidget(double corners[8][3])
Place the widget in the scene.
double AbsoluteMinimumThickness
vtkPolyData * HexFacePolyData
maintain a list of planes
perform various plane computations
represent and manipulate 3D points
map vtkPolyData to graphics primitives
concrete dataset represents vertices, lines, polygons, and triangle strips
represent surface properties of a geometric object
abstract specification for Viewports
window superclass for vtkRenderWindow
#define VTK_SIZEHINT(...)