Go to the documentation of this file.
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];
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()
virtual void ReleaseGraphicsResources(vtkWindow *w)
Methods required by vtkProp superclass.
virtual int RenderOverlay(vtkViewport *viewport)
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
virtual void PlaceWidget(double bounds[6])
@ TranslatingParallelopiped
virtual void Translate(int X, int Y)
virtual int ComputeInteractionState(int X, int Y, int modify=0)
Given and x-y display coordinate, compute the interaction state of the widget.
virtual void GetActors(vtkPropCollection *pc)
Methods to satisfy the superclass.
virtual int RenderOpaqueGeometry(vtkViewport *viewport)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
vtkClosedSurfacePointPlacer * ChairPointPlacer
double AbsoluteMinimumThickness
window superclass for vtkRenderWindow
~vtkParallelopipedRepresentation()
void SetHandleRepresentation(vtkHandleRepresentation *handle)
@ ResizingParallelopipedAlongAnAxis
vtkHandleRepresentation * HandleRepresentation
virtual void BuildRepresentation()
This actually constructs the geometry of the widget from the various data parameters.
virtual void SetSelectedHandleProperty(vtkProperty *)
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
virtual void SetHandleProperty(vtkProperty *)
Set/Get the handle properties.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkPolyDataMapper * HexMapper
vtkProperty * OutlineProperty
vtkHandleRepresentation * GetHandleRepresentation(int index)
virtual double * GetBounds()
The parallelopiped polydata.
void GetPolyData(vtkPolyData *pd)
The parallelopiped polydata.
vtkParallelopipedTopology * Topology
void HandlesOn()
Turns the visibility of the handles on/off.
@ 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
virtual void SetHoveredHandleProperty(vtkProperty *)
void DefinePlane(vtkPlane *, vtkIdType, vtkIdType, vtkIdType)
vtkParallelopipedRepresentation()
vtkPolyData * HexFacePolyData
virtual void PositionHandles()
Synchronize the parallelopiped handle positions with the Polygonal datastructure.
@ RequestTranslateParallelopiped
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
@ RequestResizeParallelopiped
vtkProperty * HandleProperty
@ RequestScaleParallelopiped
void GetParallelopipedBoundingPlanes(vtkPlaneCollection *pc)