24#ifndef vtkWeakReference_h
25#define vtkWeakReference_h
27#include "vtkCommonCoreModule.h"
abstract base class for most VTK objects
a weak reference to a vtkObject.
Utility class to hold a weak reference to a vtkObject.
~vtkWeakReference() override
void Set(vtkObject *object)
Set the vtkObject to maintain a weak reference to.
static vtkWeakReference * New()
vtkObject * Get()
Get the vtkObject pointer or nullptr if the object has been collected.