22#include <vtkSmartPointer.h>
42 return T::SafeDownCast(wrappedObject());
RefCountedBase class adds intrusive reference counting support to the Base class.
Helper class to have a common base class for all derived wrapper.
ML_ABSTRACT_CLASS_HEADER(VTKObjectWrapper)
Register this class abstractly.
VTKObjectWrapper(vtkObject *obj)
std::string detailString() const override
Return a string describing this object.
vtkObject * wrappedObject()
#define MLVTK_SUPPORT_EXPORT
When included by other libraries MLVTK_SUPPORT_EXPORT is compiled as import symbol.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
#define ML_REFCOUNTED_PTR(CLASSNAME)
Macro that defines convenience Ptr/ConstPtr typedefs to be used instead of intrusive_ptr templates.