34 #ifndef vtkGraphItem_h 35 #define vtkGraphItem_h 37 #include "vtkViewsInfovisModule.h" 61 virtual void SetGraph(
vtkGraph *graph);
75 virtual void StopLayoutAnimation();
81 virtual void UpdateLayout();
98 virtual void RebuildBuffers();
114 virtual bool IsDirty();
162 virtual float VertexSize(
vtkIdType vertex);
176 virtual int VertexMarker(
vtkIdType vertex);
194 static void ProcessEvents(
vtkObject *caller,
unsigned long event,
195 void *clientData,
void *callerData);
Wrapper around std::string to keep symbols short.
abstract base class for most VTK objects
vtkTypeUInt32 vtkMTimeType
base class for items that are part of a vtkContextScene.
virtual bool MouseButtonPressEvent(const vtkContextMouseEvent &mouse)
Mouse button down event Return true if the item holds the event, false if the event can be propagated...
virtual bool Paint(vtkContext2D *painter)
Paint event for the item, called whenever the item needs to be drawn.
Base class for graph data types.
platform-independent render window interaction including picking and frame rate control.
Class for drawing 2D primitives to a graphical context.
virtual bool MouseWheelEvent(const vtkContextMouseEvent &mouse, int delta)
Mouse wheel event, positive delta indicates forward movement of the wheel.
data structure to represent mouse events.
a simple class to control print indentation
topologically and geometrically regular array of data
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual bool MouseButtonReleaseEvent(const vtkContextMouseEvent &mouse)
Mouse button release event.
virtual bool MouseEnterEvent(const vtkContextMouseEvent &mouse)
Mouse enter event.
A 2D graphics item for rendering a graph.
virtual bool MouseMoveEvent(const vtkContextMouseEvent &mouse)
Mouse move event.
virtual bool Hit(const vtkContextMouseEvent &mouse)
Return true if the supplied x, y coordinate is inside the item.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
virtual bool MouseLeaveEvent(const vtkContextMouseEvent &mouse)
Mouse leave event.
incremental force-directed layout.