VTK
Classes | Public Member Functions | Protected Member Functions | Protected Attributes
vtkSmartPointerBase Class Reference

Non-templated superclass for vtkSmartPointer. More...

#include <vtkSmartPointerBase.h>

Inherited by vtkSmartPointer< T >, vtkSmartPointer< AbstractPStreamTracerUtils >, vtkSmartPointer< AMRIndexIterator >, vtkSmartPointer< TemporalFractalOutputUtil >, vtkSmartPointer< vtkAbstractCellLocator >, vtkSmartPointer< vtkActor >, vtkSmartPointer< vtkActor2D >, vtkSmartPointer< vtkAddMembershipArray >, vtkSmartPointer< vtkAnnotationLink >, vtkSmartPointer< vtkAppendPolyData >, vtkSmartPointer< vtkApplyColors >, vtkSmartPointer< vtkApplyIcons >, vtkSmartPointer< vtkAreaLayout >, vtkSmartPointer< vtkAssignCoordinates >, vtkSmartPointer< vtkAxis >, vtkSmartPointer< vtkAxisActor2D >, vtkSmartPointer< vtkBalloonRepresentation >, vtkSmartPointer< vtkBivariateLinearTableThreshold >, vtkSmartPointer< vtkBoxLayoutStrategy >, vtkSmartPointer< vtkBrush >, vtkSmartPointer< vtkCachingInterpolatedVelocityField >, vtkSmartPointer< vtkCallbackCommand >, vtkSmartPointer< vtkCamera >, vtkSmartPointer< vtkCellArray >, vtkSmartPointer< vtkCellData >, vtkSmartPointer< vtkCenteredSliderRepresentation >, vtkSmartPointer< vtkCharArray >, vtkSmartPointer< vtkChartLegend >, vtkSmartPointer< vtkCollection >, vtkSmartPointer< vtkColorSeries >, vtkSmartPointer< vtkCommand >, vtkSmartPointer< vtkCompassWidget >, vtkSmartPointer< vtkCompositeDataDisplayAttributes >, vtkSmartPointer< vtkComputeHistogram2DOutliers >, vtkSmartPointer< vtkContext2D >, vtkSmartPointer< vtkContextDevice3D >, vtkSmartPointer< vtkContextMapper2D >, vtkSmartPointer< vtkContextScene >, vtkSmartPointer< vtkConvertSelectionDomain >, vtkSmartPointer< vtkConvexHull2D >, vtkSmartPointer< vtkCoordinate >, vtkSmartPointer< vtkDataArraySelection >, vtkSmartPointer< vtkDataObject >, vtkSmartPointer< vtkDataObjectToTable >, vtkSmartPointer< vtkDataSet >, vtkSmartPointer< vtkDistanceToCamera >, vtkSmartPointer< vtkDoubleArray >, vtkSmartPointer< vtkEdgeCenters >, vtkSmartPointer< vtkEdgeLayout >, vtkSmartPointer< vtkExtractSelectedGraph >, vtkSmartPointer< vtkExtractSelectedRows >, vtkSmartPointer< vtkFastSplatter >, vtkSmartPointer< vtkFloatArray >, vtkSmartPointer< vtkGenericCell >, vtkSmartPointer< vtkGeoCamera >, vtkSmartPointer< vtkGeoTreeNode >, vtkSmartPointer< vtkGlyph3D >, vtkSmartPointer< vtkGlyphSource2D >, vtkSmartPointer< vtkGraphLayout >, vtkSmartPointer< vtkGraphToGlyphs >, vtkSmartPointer< vtkGraphToPoints >, vtkSmartPointer< vtkGraphToPolyData >, vtkSmartPointer< vtkHardwareSelector >, vtkSmartPointer< vtkHoverWidget >, vtkSmartPointer< vtkIconGlyphFilter >, vtkSmartPointer< vtkIdTypeArray >, vtkSmartPointer< vtkImageData >, vtkSmartPointer< vtkInformation >, vtkSmartPointer< vtkIntArray >, vtkSmartPointer< vtkLabelPlacementMapper >, vtkSmartPointer< vtkLookupTable >, vtkSmartPointer< vtkMapArrayValues >, vtkSmartPointer< vtkMultiBlockDataSet >, vtkSmartPointer< vtkOutlineSource >, vtkSmartPointer< vtkOverlappingAMR >, vtkSmartPointer< vtkPairwiseExtractHistogram2D >, vtkSmartPointer< vtkPen >, vtkSmartPointer< vtkPerturbCoincidentVertices >, vtkSmartPointer< vtkPiecewiseFunction >, vtkSmartPointer< vtkPixelBufferObject >, vtkSmartPointer< vtkPlotHistogram2D >, vtkSmartPointer< vtkPointData >, vtkSmartPointer< vtkPoints >, vtkSmartPointer< vtkPointSetToLabelHierarchy >, vtkSmartPointer< vtkPolyData >, vtkSmartPointer< vtkPolyDataMapper >, vtkSmartPointer< vtkPolyDataMapper2D >, vtkSmartPointer< vtkPolygon >, vtkSmartPointer< vtkPolyLine >, vtkSmartPointer< vtkPriorityQueue >, vtkSmartPointer< vtkQImageToImageSource >, vtkSmartPointer< vtkRemoveHiddenData >, vtkSmartPointer< vtkRenderer >, vtkSmartPointer< vtkRenderWindow >, vtkSmartPointer< vtkScalarBarWidget >, vtkSmartPointer< vtkScalarsToColors >, vtkSmartPointer< vtkSelection >, vtkSmartPointer< vtkSliceAndDiceLayoutStrategy >, vtkSmartPointer< vtkSphereSource >, vtkSmartPointer< vtkSpline >, vtkSmartPointer< vtkSquarifyLayoutStrategy >, vtkSmartPointer< vtkStringArray >, vtkSmartPointer< vtkTable >, vtkSmartPointer< vtkTemporalInterpolatedVelocityField >, vtkSmartPointer< vtkTemporalPathLineFilterInternals >, vtkSmartPointer< vtkTextMapper >, vtkSmartPointer< vtkTextProperty >, vtkSmartPointer< vtkTexture >, vtkSmartPointer< vtkTexturedActor2D >, vtkSmartPointer< vtkTextureObject >, vtkSmartPointer< vtkTooltipItem >, vtkSmartPointer< vtkTransform >, vtkSmartPointer< vtkTransform2D >, vtkSmartPointer< vtkTransformCoordinateSystems >, vtkSmartPointer< vtkTransformPolyDataFilter >, vtkSmartPointer< vtkTree >, vtkSmartPointer< vtkTreeFieldAggregator >, vtkSmartPointer< vtkTreeLevelsFilter >, vtkSmartPointer< vtkUniformGrid >, vtkSmartPointer< vtkUniformGridAMR >, vtkSmartPointer< vtkUnsignedCharArray >, vtkSmartPointer< vtkUnsignedIntArray >, vtkSmartPointer< vtkVertexDegree >, vtkSmartPointer< vtkVertexGlyphFilter >, and vtkSmartPointer< vtkWorldPointPicker >.

Collaboration diagram for vtkSmartPointerBase:
Collaboration graph
[legend]

List of all members.

Classes

class  NoReference

Public Member Functions

 vtkSmartPointerBase ()
 vtkSmartPointerBase (vtkObjectBase *r)
 vtkSmartPointerBase (const vtkSmartPointerBase &r)
 ~vtkSmartPointerBase ()
void Report (vtkGarbageCollector *collector, const char *desc)
vtkSmartPointerBaseoperator= (vtkObjectBase *r)
vtkSmartPointerBaseoperator= (const vtkSmartPointerBase &r)
vtkObjectBaseGetPointer () const

Protected Member Functions

 vtkSmartPointerBase (vtkObjectBase *r, const NoReference &)

Protected Attributes

vtkObjectBaseObject

Detailed Description

Non-templated superclass for vtkSmartPointer.

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 31 of file vtkSmartPointerBase.h.


Constructor & Destructor Documentation

Initialize smart pointer to NULL.

Initialize smart pointer to given object.

Initialize smart pointer with a new reference to the same object referenced by given smart pointer.

Destroy smart pointer and remove the reference to its object.


Member Function Documentation

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.

Get the contained pointer.

Reimplemented in vtkSmartPointer< T >, vtkSmartPointer< vtkConvexHull2D >, vtkSmartPointer< vtkCompassWidget >, vtkSmartPointer< vtkPolyDataMapper2D >, vtkSmartPointer< vtkCellData >, vtkSmartPointer< vtkRenderer >, vtkSmartPointer< vtkPen >, vtkSmartPointer< vtkCharArray >, vtkSmartPointer< vtkPolyData >, vtkSmartPointer< vtkEdgeLayout >, vtkSmartPointer< vtkTemporalPathLineFilterInternals >, vtkSmartPointer< vtkActor2D >, vtkSmartPointer< vtkGraphToPoints >, vtkSmartPointer< vtkAbstractCellLocator >, vtkSmartPointer< vtkActor >, vtkSmartPointer< vtkTreeFieldAggregator >, vtkSmartPointer< vtkTree >, vtkSmartPointer< vtkPointData >, vtkSmartPointer< vtkPerturbCoincidentVertices >, vtkSmartPointer< vtkSpline >, vtkSmartPointer< vtkAreaLayout >, vtkSmartPointer< vtkTexturedActor2D >, vtkSmartPointer< vtkLabelPlacementMapper >, vtkSmartPointer< vtkDataArraySelection >, vtkSmartPointer< vtkContextMapper2D >, vtkSmartPointer< vtkDoubleArray >, vtkSmartPointer< vtkGraphToGlyphs >, vtkSmartPointer< vtkLookupTable >, vtkSmartPointer< vtkSliceAndDiceLayoutStrategy >, vtkSmartPointer< vtkTransformPolyDataFilter >, vtkSmartPointer< vtkGeoCamera >, vtkSmartPointer< vtkAxisActor2D >, vtkSmartPointer< vtkAddMembershipArray >, vtkSmartPointer< vtkQImageToImageSource >, vtkSmartPointer< vtkDistanceToCamera >, vtkSmartPointer< vtkGlyphSource2D >, vtkSmartPointer< vtkDataObject >, vtkSmartPointer< vtkUniformGridAMR >, vtkSmartPointer< AMRIndexIterator >, vtkSmartPointer< vtkCamera >, vtkSmartPointer< vtkOverlappingAMR >, vtkSmartPointer< AbstractPStreamTracerUtils >, vtkSmartPointer< vtkHardwareSelector >, vtkSmartPointer< vtkColorSeries >, vtkSmartPointer< vtkRenderWindow >, vtkSmartPointer< vtkContext2D >, vtkSmartPointer< vtkTextureObject >, vtkSmartPointer< vtkFloatArray >, vtkSmartPointer< vtkEdgeCenters >, vtkSmartPointer< vtkCommand >, vtkSmartPointer< vtkCallbackCommand >, vtkSmartPointer< vtkIconGlyphFilter >, vtkSmartPointer< vtkTransform >, vtkSmartPointer< vtkPolyDataMapper >, vtkSmartPointer< vtkIdTypeArray >, vtkSmartPointer< vtkGenericCell >, vtkSmartPointer< vtkUniformGrid >, vtkSmartPointer< vtkIntArray >, vtkSmartPointer< vtkApplyIcons >, vtkSmartPointer< vtkPixelBufferObject >, vtkSmartPointer< vtkComputeHistogram2DOutliers >, vtkSmartPointer< vtkSquarifyLayoutStrategy >, vtkSmartPointer< vtkContextDevice3D >, vtkSmartPointer< vtkPolyLine >, vtkSmartPointer< vtkTransformCoordinateSystems >, vtkSmartPointer< vtkTransform2D >, vtkSmartPointer< vtkSelection >, vtkSmartPointer< vtkExtractSelectedRows >, vtkSmartPointer< vtkFastSplatter >, vtkSmartPointer< vtkTable >, vtkSmartPointer< vtkDataObjectToTable >, vtkSmartPointer< vtkPoints >, vtkSmartPointer< vtkPolygon >, vtkSmartPointer< vtkScalarBarWidget >, vtkSmartPointer< vtkContextScene >, vtkSmartPointer< vtkAppendPolyData >, vtkSmartPointer< vtkCoordinate >, vtkSmartPointer< vtkBivariateLinearTableThreshold >, vtkSmartPointer< vtkCachingInterpolatedVelocityField >, vtkSmartPointer< vtkPriorityQueue >, vtkSmartPointer< vtkScalarsToColors >, vtkSmartPointer< vtkDataSet >, vtkSmartPointer< vtkAnnotationLink >, vtkSmartPointer< vtkPairwiseExtractHistogram2D >, vtkSmartPointer< vtkWorldPointPicker >, vtkSmartPointer< vtkCompositeDataDisplayAttributes >, vtkSmartPointer< vtkTextProperty >, vtkSmartPointer< vtkImageData >, vtkSmartPointer< vtkTemporalInterpolatedVelocityField >, vtkSmartPointer< vtkRemoveHiddenData >, vtkSmartPointer< vtkAxis >, vtkSmartPointer< vtkTexture >, vtkSmartPointer< vtkUnsignedCharArray >, vtkSmartPointer< vtkGeoTreeNode >, vtkSmartPointer< TemporalFractalOutputUtil >, vtkSmartPointer< vtkPlotHistogram2D >, vtkSmartPointer< vtkPiecewiseFunction >, vtkSmartPointer< vtkVertexGlyphFilter >, vtkSmartPointer< vtkOutlineSource >, vtkSmartPointer< vtkExtractSelectedGraph >, vtkSmartPointer< vtkTreeLevelsFilter >, vtkSmartPointer< vtkCenteredSliderRepresentation >, vtkSmartPointer< vtkApplyColors >, vtkSmartPointer< vtkStringArray >, vtkSmartPointer< vtkBrush >, vtkSmartPointer< vtkMultiBlockDataSet >, vtkSmartPointer< vtkInformation >, vtkSmartPointer< vtkBoxLayoutStrategy >, vtkSmartPointer< vtkAssignCoordinates >, vtkSmartPointer< vtkTooltipItem >, vtkSmartPointer< vtkCollection >, vtkSmartPointer< vtkVertexDegree >, vtkSmartPointer< vtkCellArray >, vtkSmartPointer< vtkGraphLayout >, vtkSmartPointer< vtkConvertSelectionDomain >, vtkSmartPointer< vtkChartLegend >, vtkSmartPointer< vtkPointSetToLabelHierarchy >, vtkSmartPointer< vtkMapArrayValues >, vtkSmartPointer< vtkGraphToPolyData >, vtkSmartPointer< vtkTextMapper >, vtkSmartPointer< vtkUnsignedIntArray >, vtkSmartPointer< vtkHoverWidget >, vtkSmartPointer< vtkBalloonRepresentation >, vtkSmartPointer< vtkGlyph3D >, and vtkSmartPointer< vtkSphereSource >.

Definition at line 56 of file vtkSmartPointerBase.h.

void vtkSmartPointerBase::Report ( vtkGarbageCollector collector,
const char *  desc 
)

Report the reference held by the smart pointer to a collector.


Member Data Documentation

Definition at line 76 of file vtkSmartPointerBase.h.


The documentation for this class was generated from the following file: