21#ifndef vtkObjectIdMap_h
22#define vtkObjectIdMap_h
25#include "vtkWebCoreModule.h"
81 vtkInternals* Internals;
a simple class to control print indentation
class used to assign Id to any VTK object and be able to retrieve it base on its id.
vtkObject * GetVTKObject(vtkTypeUInt32 globalId)
Retrieve a vtkObject based on its global id.
vtkTypeUInt32 SetActiveObject(const char *objectType, vtkObject *obj)
Assign an active key (string) to an existing object.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkObjectIdMap() override
static vtkObjectIdMap * New()
vtkTypeUInt32 GetGlobalId(vtkObject *obj)
Retrieve a unique identifier for the given object or generate a new one if its global id was never re...
bool FreeObjectById(vtkTypeUInt32 id)
Given an id, remove any internal reference count due to internal Id/Object mapping.
bool FreeObject(vtkObject *obj)
Given an object, remove any internal reference count due to internal Id/Object mapping.
vtkObject * GetActiveObject(const char *objectType)
Retrieve a previously stored object based on a name.
abstract base class for most VTK objects