79 this->CheckObjectBase(this->Object);
88 T* obj = this->Object;
125 void operator=(
vtkNew<T> const&) VTK_DELETE_FUNCTION;
Allocate and hold a VTK object.
T * GetPointer() const
Get a raw pointer to the contained object.
vtkNew()
Create a new T on construction.
~vtkNew()
Deletes reference to instance of T on destruction.
T * operator->() const
Enable pointer-like dereference syntax.
abstract base class for most VTK objects
ostream & operator<<(ostream &os, const vtkNew< T > &p)
Streaming operator to print vtkNew like regular pointers.