31 #ifndef vtkParallelopipedRepresentation_h 32 #define vtkParallelopipedRepresentation_h 34 #include "vtkInteractionWidgetsModule.h" 48 class vtkParallelopipedTopology;
97 vtkSetMacro(InteractionState,
int);
123 virtual
void SetHoveredHandleProperty (
vtkProperty *);
124 virtual
void SetSelectedHandleProperty (
vtkProperty *);
126 vtkGetObjectMacro(HoveredHandleProperty,
vtkProperty );
127 vtkGetObjectMacro(SelectedHandleProperty,
vtkProperty );
148 vtkGetObjectMacro(SelectedFaceProperty,
vtkProperty);
157 vtkGetObjectMacro(SelectedOutlineProperty,
vtkProperty);
164 void BuildRepresentation() override;
170 void ReleaseGraphicsResources(
vtkWindow *w) override;
172 int RenderOpaqueGeometry(
vtkViewport *viewport) override;
179 int ComputeInteractionState(
int X,
int Y,
int modify=0) override;
197 RotatingParallelopiped
202 virtual void Translate(
int X,
int Y );
203 virtual void Scale(
int X,
int Y );
209 virtual void PositionHandles();
218 vtkSetMacro( MinimumThickness,
double );
219 vtkGetMacro( MinimumThickness,
double );
229 void TranslatePoint(
int n,
const double motionVector[3] );
235 void SetHandleHighlight(
int handleIdx,
vtkProperty *property );
242 void HighlightAllFaces();
243 void UnHighlightAllFaces();
249 void UpdateChairAtNode(
int node );
252 void RemoveExistingChairs();
262 void DefinePlane(
vtkPlane *,
double p[3][3]);
278 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