#include <vtkSmartPointerBase.h>
vtkSmartPointerBase holds a pointer to a vtkObjectBase or subclass instance and performs one Register/UnRegister pair. This is useful for storing VTK objects in STL containers. This class is not intended to be used directly. Instead, use the vtkSmartPointer class template to automatically perform proper cast operations.
Definition at line 30 of file vtkSmartPointerBase.h.
Public Member Functions | |
vtkSmartPointerBase () | |
vtkSmartPointerBase (vtkObjectBase *r) | |
vtkSmartPointerBase (const vtkSmartPointerBase &r) | |
~vtkSmartPointerBase () | |
void | Report (vtkGarbageCollector *collector, const char *desc) |
vtkSmartPointerBase & | operator= (vtkObjectBase *r) |
vtkSmartPointerBase & | operator= (const vtkSmartPointerBase &r) |
vtkObjectBase * | GetPointer () const |
Protected Member Functions | |
vtkSmartPointerBase (vtkObjectBase *r, const NoReference &) | |
Protected Attributes | |
vtkObjectBase * | Object |
Classes | |
class | NoReference |
vtkSmartPointerBase::vtkSmartPointerBase | ( | ) |
Initialize smart pointer to NULL.
vtkSmartPointerBase::vtkSmartPointerBase | ( | vtkObjectBase * | r | ) |
Initialize smart pointer to given object.
vtkSmartPointerBase::vtkSmartPointerBase | ( | const vtkSmartPointerBase & | r | ) |
Initialize smart pointer with a new reference to the same object referenced by given smart pointer.
vtkSmartPointerBase::~vtkSmartPointerBase | ( | ) |
Destroy smart pointer and remove the reference to its object.
vtkSmartPointerBase::vtkSmartPointerBase | ( | vtkObjectBase * | r, | |
const NoReference & | ||||
) | [protected] |
vtkSmartPointerBase& vtkSmartPointerBase::operator= | ( | vtkObjectBase * | r | ) |
Assign object to reference. This removes any reference to an old object.
vtkSmartPointerBase& vtkSmartPointerBase::operator= | ( | const vtkSmartPointerBase & | r | ) |
Assign object to reference. This removes any reference to an old object.
Reimplemented in vtkSmartPointer< T >, vtkSmartPointer< vtkPolyDataMapper2D >, vtkSmartPointer< vtkRenderer >, vtkSmartPointer< vtkActor2D >, vtkSmartPointer< vtkPointData >, vtkSmartPointer< vtkTreeFieldAggregator >, vtkSmartPointer< vtkKdTreeSelector >, vtkSmartPointer< vtkActor >, vtkSmartPointer< vtkConstrained2DLayoutStrategy >, vtkSmartPointer< vtkDoubleArray >, vtkSmartPointer< vtkTexturedActor2D >, vtkSmartPointer< vtkLookupTable >, vtkSmartPointer< vtkTreeMapLayout >, vtkSmartPointer< vtkVisibleCellSelector >, vtkSmartPointer< vtkDataObject >, vtkSmartPointer< vtkForceDirectedLayoutStrategy >, vtkSmartPointer< vtkFloatArray >, vtkSmartPointer< vtkIconGlyphFilter >, vtkSmartPointer< vtkLabeledTreeMapDataMapper >, vtkSmartPointer< vtkPolyDataMapper >, vtkSmartPointer< vtkIntArray >, vtkSmartPointer< vtkEdgeCenters >, vtkSmartPointer< vtkSimple2DLayoutStrategy >, vtkSmartPointer< vtkPoints >, vtkSmartPointer< vtkTransformCoordinateSystems >, vtkSmartPointer< vtkCircularLayoutStrategy >, vtkSmartPointer< vtkPassThroughLayoutStrategy >, vtkSmartPointer< vtkFastSplatter >, vtkSmartPointer< vtkGraphMapper >, vtkSmartPointer< vtkCoordinate >, vtkSmartPointer< vtkScalarsToColors >, vtkSmartPointer< vtkTemporalInterpolatedVelocityField >, vtkSmartPointer< vtkClustering2DLayoutStrategy >, vtkSmartPointer< vtkImageData >, vtkSmartPointer< vtkRandomLayoutStrategy >, vtkSmartPointer< vtkVertexGlyphFilter >, vtkSmartPointer< vtkTreeLevelsFilter >, vtkSmartPointer< vtkExtractSelectedGraph >, vtkSmartPointer< vtkCommunity2DLayoutStrategy >, vtkSmartPointer< vtkArrayMap >, vtkSmartPointer< vtkInformation >, vtkSmartPointer< vtkCellArray >, vtkSmartPointer< vtkVertexDegree >, vtkSmartPointer< vtkTreeMapToPolyData >, vtkSmartPointer< vtkFast2DLayoutStrategy >, vtkSmartPointer< vtkGraphLayout >, vtkSmartPointer< vtkGraphToPolyData >, vtkSmartPointer< vtkGlyph3D >, and vtkSmartPointer< vtkDynamic2DLabelMapper >.
vtkObjectBase* vtkSmartPointerBase::GetPointer | ( | ) | const [inline] |
Get the contained pointer.
Reimplemented in vtkSmartPointer< T >, vtkSmartPointer< vtkPolyDataMapper2D >, vtkSmartPointer< vtkRenderer >, vtkSmartPointer< vtkActor2D >, vtkSmartPointer< vtkPointData >, vtkSmartPointer< vtkTreeFieldAggregator >, vtkSmartPointer< vtkKdTreeSelector >, vtkSmartPointer< vtkActor >, vtkSmartPointer< vtkConstrained2DLayoutStrategy >, vtkSmartPointer< vtkDoubleArray >, vtkSmartPointer< vtkTexturedActor2D >, vtkSmartPointer< vtkLookupTable >, vtkSmartPointer< vtkTreeMapLayout >, vtkSmartPointer< vtkVisibleCellSelector >, vtkSmartPointer< vtkDataObject >, vtkSmartPointer< vtkForceDirectedLayoutStrategy >, vtkSmartPointer< vtkFloatArray >, vtkSmartPointer< vtkIconGlyphFilter >, vtkSmartPointer< vtkLabeledTreeMapDataMapper >, vtkSmartPointer< vtkPolyDataMapper >, vtkSmartPointer< vtkIntArray >, vtkSmartPointer< vtkEdgeCenters >, vtkSmartPointer< vtkSimple2DLayoutStrategy >, vtkSmartPointer< vtkPoints >, vtkSmartPointer< vtkTransformCoordinateSystems >, vtkSmartPointer< vtkCircularLayoutStrategy >, vtkSmartPointer< vtkPassThroughLayoutStrategy >, vtkSmartPointer< vtkFastSplatter >, vtkSmartPointer< vtkGraphMapper >, vtkSmartPointer< vtkCoordinate >, vtkSmartPointer< vtkScalarsToColors >, vtkSmartPointer< vtkTemporalInterpolatedVelocityField >, vtkSmartPointer< vtkClustering2DLayoutStrategy >, vtkSmartPointer< vtkImageData >, vtkSmartPointer< vtkRandomLayoutStrategy >, vtkSmartPointer< vtkVertexGlyphFilter >, vtkSmartPointer< vtkTreeLevelsFilter >, vtkSmartPointer< vtkExtractSelectedGraph >, vtkSmartPointer< vtkCommunity2DLayoutStrategy >, vtkSmartPointer< vtkArrayMap >, vtkSmartPointer< vtkInformation >, vtkSmartPointer< vtkCellArray >, vtkSmartPointer< vtkVertexDegree >, vtkSmartPointer< vtkTreeMapToPolyData >, vtkSmartPointer< vtkFast2DLayoutStrategy >, vtkSmartPointer< vtkGraphLayout >, vtkSmartPointer< vtkGraphToPolyData >, vtkSmartPointer< vtkGlyph3D >, and vtkSmartPointer< vtkDynamic2DLabelMapper >.
Definition at line 55 of file vtkSmartPointerBase.h.
void vtkSmartPointerBase::Report | ( | vtkGarbageCollector * | collector, | |
const char * | desc | |||
) |
Report the reference held by the smart pointer to a collector.
vtkObjectBase* vtkSmartPointerBase::Object [protected] |
Definition at line 75 of file vtkSmartPointerBase.h.