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);
126 virtual
void SetHoveredHandleProperty (
vtkProperty *);
127 virtual
void SetSelectedHandleProperty (
vtkProperty *);
129 vtkGetObjectMacro(HoveredHandleProperty,
vtkProperty );
130 vtkGetObjectMacro(SelectedHandleProperty,
vtkProperty );
151 vtkGetObjectMacro(SelectedFaceProperty,
vtkProperty);
160 vtkGetObjectMacro(SelectedOutlineProperty,
vtkProperty);
167 void BuildRepresentation() override;
173 void ReleaseGraphicsResources(
vtkWindow *w) override;
175 int RenderOpaqueGeometry(
vtkViewport *viewport) override;
182 int ComputeInteractionState(
int X,
int Y,
int modify=0) override;
200 RotatingParallelopiped
205 virtual void Translate(
int X,
int Y );
206 virtual void Scale(
int X,
int Y );
212 virtual void PositionHandles();
221 vtkSetMacro( MinimumThickness,
double );
222 vtkGetMacro( MinimumThickness,
double );
232 void TranslatePoint(
int n,
const double motionVector[3] );
238 void SetHandleHighlight(
int handleIdx,
vtkProperty *property );
245 void HighlightAllFaces();
246 void UnHighlightAllFaces();
252 void UpdateChairAtNode(
int node );
255 void RemoveExistingChairs();
265 void DefinePlane(
vtkPlane *,
double p[3][3]);
281 double LastEventPosition[2];
map vtkPolyData to graphics primitives
represent and manipulate 3D points
perform various plane computations
vtkProperty * SelectedOutlineProperty
vtkHandleRepresentation ** HandleRepresentations
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
abstract class for representing widget handles
vtkClosedSurfacePointPlacer * ChairPointPlacer
double AbsoluteMinimumThickness
window superclass for vtkRenderWindow
#define VTK_SIZEHINT(...)
vtkHandleRepresentation * HandleRepresentation
represents an object (geometry & properties) in a rendered scene
a simple class to control print indentation
object to represent cell connectivity
abstract specification for Viewports
vtkPolyDataMapper * HexMapper
vtkProperty * OutlineProperty
vtkParallelopipedTopology * Topology
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
vtkPolyData * HexFacePolyData
vtkProperty * HandleProperty