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 *);
128 vtkGetObjectMacro(HandleProperty, vtkProperty );
129 vtkGetObjectMacro(HoveredHandleProperty, vtkProperty );
130 vtkGetObjectMacro(SelectedHandleProperty, vtkProperty );
150 vtkGetObjectMacro(FaceProperty,vtkProperty);
151 vtkGetObjectMacro(SelectedFaceProperty,vtkProperty);
159 vtkGetObjectMacro(OutlineProperty,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];
vtkClosedSurfacePointPlacer * ChairPointPlacer
vtkPolyDataMapper * HexMapper
represents an object (geometry & properties) in a rendered scene
abstract class for representing widget handles
abstract specification for Viewports
represent surface properties of a geometric object
vtkHandleRepresentation * HandleRepresentation
vtkProperty * SelectedHandleProperty
maintain a list of planes
vtkParallelopipedTopology * Topology
concrete dataset represents vertices, lines, polygons, and triangle strips
double AbsoluteMinimumThickness
vtkPolyData * HexPolyData
vtkProperty * SelectedOutlineProperty
vtkProperty * SelectedFaceProperty
window superclass for vtkRenderWindow
vtkProperty * OutlineProperty
a simple class to control print indentation
Default representation for vtkParallelopipedWidget.
vtkPolyDataMapper * HexFaceMapper
vtkProperty * HoveredHandleProperty
perform various plane computations
vtkHandleRepresentation ** HandleRepresentations
#define VTK_SIZEHINT(...)
vtkProperty * HandleProperty
map vtkPolyData to graphics primitives
object to represent cell connectivity
vtkPolyData * HexFacePolyData
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
vtkProperty * FaceProperty
PointPlacer to constrain validity within a set of convex planes.
represent and manipulate 3D points