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