22#ifndef vtkParallelopipedRepresentation_h
23#define vtkParallelopipedRepresentation_h
25#include "vtkInteractionWidgetsModule.h"
29VTK_ABI_NAMESPACE_BEGIN
41class vtkParallelopipedTopology;
90 vtkSetMacro(InteractionState,
int);
157 void BuildRepresentation() override;
172 int ComputeInteractionState(
int X,
int Y,
int modify = 0) override;
190 RotatingParallelopiped
211 vtkSetMacro(MinimumThickness,
double);
212 vtkGetMacro(MinimumThickness,
double);
271 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
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
@ RequestTranslateParallelopiped
@ RequestScaleParallelopiped
@ ResizingParallelopipedAlongAnAxis
@ RequestRotateParallelopiped
@ RequestResizeParallelopipedAlongAnAxis
@ RequestResizeParallelopiped
@ TranslatingParallelopiped
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(...)