12#ifndef vtkWeakReference_h
13#define vtkWeakReference_h
15#include "vtkCommonCoreModule.h"
19VTK_ABI_NAMESPACE_BEGIN
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.