Go to the documentation of this file.
32 #include "vtkRenderingSceneGraphModule.h"
136 static const char* operation_type_strings[];
138 void Apply(
int operation,
bool prepass);
178 void operator=(
const vtkViewNode&) VTK_DELETE_FUNCTION;
virtual void Build(bool)
Builds myself.
virtual void Synchronize(bool)
Ensures that my state agrees with my Renderable's.
vtkViewNode * GetViewNodeFor(vtkObject *)
Returns the view node that corresponding to the provided object Will return NULL if a match is not fo...
void Apply(int operation, bool prepass)
void RemoveUnusedNodes()
Called after PrepareNodes and AddMissingNodes removes any extra leftover nodes.
vtkViewNodeFactory * MyFactory
abstract base class for most VTK objects
vtkCollection * PreparedNodes
virtual void SetChildren(vtkViewNodeCollection *)
Access nodes that this one owns.
void AddMissingNodes(vtkCollection *col)
vtkTypeUInt64 vtkMTimeType
operation_type
internal mechanics of graph traversal and actions
virtual void TraverseAllPasses()
create and manipulate unsorted lists of objects
virtual void SetRenderable(vtkObject *)
Alow explicit setting of the renderable for a view node.
vtkMTimeType RenderTime
Allows smart caching.
factory that chooses vtkViewNodes to create
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
void PrepareNodes()
Called first before adding missing nodes.
a simple class to control print indentation
virtual void Render(bool)
Makes calls to make self visible.
a node within a VTK scene graph
virtual vtkViewNode * GetParent()
vtkViewNodeCollection * Children
vtkWeakPointer< vtkViewNode > Parent
virtual vtkViewNode * CreateViewNode(vtkObject *obj)
Create the correct ViewNode subclass for the passed in object.
virtual void Invalidate(bool)
Clear any cached data.
virtual void SetParent(vtkViewNode *)
Access the node that owns this one.
virtual void SetMyFactory(vtkViewNodeFactory *)
A factory that creates particular subclasses for different rendering back ends.
vtkViewNode * GetFirstAncestorOfType(const char *type)
Find the first parent/grandparent of the desired type.
void AddMissingNode(vtkObject *obj)
convienience method to add node or nodes if missing from our current list
virtual void Traverse(int operation)