34 #ifndef vtkParallelopipedRepresentation_h
35 #define vtkParallelopipedRepresentation_h
37 #include "vtkInteractionWidgetsModule.h"
51 class vtkParallelopipedTopology;
200 RotatingParallelopiped
222 vtkGetMacro( MinimumThickness,
double );
281 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()
void RemoveExistingChairs()
virtual int ComputeInteractionState(int X, int Y, int modify=0)
Given and x-y display coordinate, compute the interaction state of the widget.
vtkParallelopipedTopology * Topology
void GetParallelopipedBoundingPlanes(vtkPlaneCollection *pc)
void TranslatePoint(int n, const double motionVector[3])
Translate the nth PtId (0 <= n <= 15) by the specified amount.
vtkClosedSurfacePointPlacer * ChairPointPlacer
void HandlesOn()
Turns the visibility of the handles on/off.
virtual void SetSelectedHandleProperty(vtkProperty *)
vtkProperty * HandleProperty
virtual void BuildRepresentation()
This actually constructs the geometry of the widget from the various data parameters.
@ RequestTranslateParallelopiped
@ RequestScaleParallelopiped
@ ResizingParallelopipedAlongAnAxis
@ RequestRotateParallelopiped
@ RequestResizeParallelopipedAlongAnAxis
@ RequestResizeParallelopiped
@ TranslatingParallelopiped
vtkProperty * SelectedHandleProperty
void GetPolyData(vtkPolyData *pd)
The parallelopiped polydata.
virtual void SetHoveredHandleProperty(vtkProperty *)
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])
virtual void SetHandleProperty(vtkProperty *)
Set/Get the handle properties.
void UpdateChairAtNode(int node)
virtual double * GetBounds()
The parallelopiped polydata.
vtkProperty * FaceProperty
virtual int RenderOverlay(vtkViewport *viewport)
vtkHandleRepresentation ** HandleRepresentations
vtkProperty * SelectedFaceProperty
virtual void Scale(int X, int Y)
vtkParallelopipedRepresentation()
void DefinePlane(vtkPlane *, vtkIdType, vtkIdType, vtkIdType)
vtkProperty * OutlineProperty
virtual int RenderOpaqueGeometry(vtkViewport *viewport)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkPolyDataMapper * HexMapper
void SetFaceHighlight(vtkCellArray *face, vtkProperty *)
Highlight face defined by the supplied ptids with the specified property.
virtual void PlaceWidget(double bounds[6])
static vtkParallelopipedRepresentation * New()
Instantiate the class.
vtkPolyDataMapper * HexFaceMapper
void GetBoundingPlanes(vtkPlaneCollection *pc)
Get the bounding planes of the object.
void SetHandleRepresentation(vtkHandleRepresentation *handle)
virtual void GetActors(vtkPropCollection *pc)
Methods to satisfy the superclass.
void UnHighlightAllFaces()
void SetHandleHighlight(int handleIdx, vtkProperty *property)
Set the highlight state of a handle.
void DefinePlane(vtkPlane *, double p[3][3])
vtkProperty * SelectedOutlineProperty
virtual void ReleaseGraphicsResources(vtkWindow *w)
Methods required by vtkProp superclass.
vtkHandleRepresentation * GetHandleRepresentation(int index)
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
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.