34#ifndef vtkParallelopipedRepresentation_h
35#define vtkParallelopipedRepresentation_h
38#include "vtkInteractionWidgetsModule.h"
52class vtkParallelopipedTopology;
202#if !defined(VTK_LEGACY_REMOVE)
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
~vtkParallelopipedRepresentation() override
void RemoveExistingChairs()
int ComputeInteractionState(int X, int Y, int modify=0) override
Given and x-y display coordinate, compute the interaction state of the widget.
vtkHandleRepresentation * GetHandleRepresentation(int index)
void HandlesOff()
Turns the visibility of the handles on/off.
void BuildRepresentation() override
This actually constructs the geometry of the widget from the various data parameters.
vtkParallelopipedTopology * Topology
void GetParallelopipedBoundingPlanes(vtkPlaneCollection *pc)
void PlaceWidget(double bounds[6]) override
Place the widget in the scene.
InteractionStateType _InteractionState
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
void HandlesOn()
Turns the visibility of the handles on/off.
virtual void SetSelectedHandleProperty(vtkProperty *)
Set/Get the handle properties.
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 SetHoveredHandleProperty(vtkProperty *)
Set/Get the handle properties.
virtual void PositionHandles()
Synchronize the parallelopiped handle positions with the Polygonal datastructure.
vtkHandleRepresentation * HandleRepresentation
void ReleaseGraphicsResources(vtkWindow *w) override
Methods required by vtkProp superclass.
int RenderOverlay(vtkViewport *viewport) override
Methods required by vtkProp superclass.
@ RequestTranslateParallelopiped
@ RequestScaleParallelopiped
@ ResizingParallelopipedAlongAnAxis
@ RequestRotateParallelopiped
@ RequestResizeParallelopipedAlongAnAxis
@ RequestResizeParallelopiped
@ TranslatingParallelopiped
int RenderOpaqueGeometry(vtkViewport *viewport) override
Methods required by vtkProp superclass.
vtkProperty * HoveredHandleProperty
virtual void Translate(int X, int Y)
virtual void Translate(double translation[3])
static vtkParallelopipedRepresentation * New()
Instantiate the class.
double LastEventPosition[2]
virtual void SetHandleProperty(vtkProperty *)
Set/Get the handle properties.
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 SetHandleRepresentation(vtkHandleRepresentation *handle)
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_DEPRECATED_IN_9_2_0(reason)
#define VTK_SIZEHINT(...)