VTK
|
Non-templated superclass for vtkSmartPointer. More...
#include <vtkSmartPointerBase.h>
Inherited by vtkSmartPointer< T >, vtkSmartPointer< AbstractPStreamTracerUtils >, vtkSmartPointer< AMRIndexIterator >, vtkSmartPointer< ImplementationType >, vtkSmartPointer< QVTKInteractor >, vtkSmartPointer< StorageType >, vtkSmartPointer< TemporalFractalOutputUtil >, vtkSmartPointer< vtkAbstractArray >, 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< vtkBitArray >, 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< vtkCompositePolyDataMapper2 >, vtkSmartPointer< vtkComputeHistogram2DOutliers >, vtkSmartPointer< vtkContext2D >, vtkSmartPointer< vtkContextDevice3D >, vtkSmartPointer< vtkContextMapper2D >, vtkSmartPointer< vtkContextScene >, vtkSmartPointer< vtkConvertSelectionDomain >, vtkSmartPointer< vtkConvexHull2D >, vtkSmartPointer< vtkCoordinate >, vtkSmartPointer< vtkDataArray >, vtkSmartPointer< vtkDataArraySelection >, vtkSmartPointer< vtkDataObject >, vtkSmartPointer< vtkDataObjectToTable >, vtkSmartPointer< vtkDataSet >, vtkSmartPointer< vtkDendrogramItem >, vtkSmartPointer< vtkDistanceToCamera >, vtkSmartPointer< vtkDoubleArray >, vtkSmartPointer< vtkEdgeCenters >, vtkSmartPointer< vtkEdgeLayout >, vtkSmartPointer< vtkEventQtSlotConnect >, vtkSmartPointer< vtkExtractDataArraysOverTime >, vtkSmartPointer< vtkExtractSelectedGraph >, vtkSmartPointer< vtkExtractSelectedRows >, vtkSmartPointer< vtkExtractSelection >, vtkSmartPointer< vtkFastSplatter >, vtkSmartPointer< vtkFloatArray >, vtkSmartPointer< vtkGenericOpenGLRenderWindow >, vtkSmartPointer< vtkGeoCamera >, vtkSmartPointer< vtkGeoTreeNode >, vtkSmartPointer< vtkGlyph3D >, vtkSmartPointer< vtkGlyphSource2D >, vtkSmartPointer< vtkGraphLayout >, vtkSmartPointer< vtkGraphToGlyphs >, vtkSmartPointer< vtkGraphToPoints >, vtkSmartPointer< vtkGraphToPolyData >, vtkSmartPointer< vtkHardwareSelector >, vtkSmartPointer< vtkHeatmapItem >, vtkSmartPointer< vtkHexahedron >, vtkSmartPointer< vtkHoverWidget >, vtkSmartPointer< vtkIconGlyphFilter >, vtkSmartPointer< vtkIdTypeArray >, vtkSmartPointer< vtkImageData >, vtkSmartPointer< vtkInformation >, vtkSmartPointer< vtkIntArray >, vtkSmartPointer< vtkLabelPlacementMapper >, vtkSmartPointer< vtkLine >, vtkSmartPointer< vtkLineIntegralConvolution2D >, vtkSmartPointer< vtkLookupTable >, vtkSmartPointer< vtkMapArrayValues >, vtkSmartPointer< vtkMathInternal >, vtkSmartPointer< vtkMatrix3x3 >, vtkSmartPointer< vtkMatrix4x4 >, vtkSmartPointer< vtkMotionFXCFGReader >, vtkSmartPointer< vtkMultiBlockDataSet >, vtkSmartPointer< vtkOBJPolyDataProcessor >, vtkSmartPointer< vtkOpenGLFramebufferObject >, vtkSmartPointer< vtkOpenGLRenderWindow >, vtkSmartPointer< vtkOpenGLTransferFunctions2D >, vtkSmartPointer< vtkOpenGLVolumeGradientOpacityTables >, vtkSmartPointer< vtkOpenGLVolumeOpacityTables >, vtkSmartPointer< vtkOpenGLVolumeRGBTables >, vtkSmartPointer< vtkOutlineSource >, vtkSmartPointer< vtkOverlappingAMR >, vtkSmartPointer< vtkPairwiseExtractHistogram2D >, vtkSmartPointer< vtkPath >, vtkSmartPointer< vtkPen >, vtkSmartPointer< vtkPerturbCoincidentVertices >, vtkSmartPointer< vtkPiecewiseFunction >, vtkSmartPointer< vtkPixelBufferObject >, vtkSmartPointer< vtkPlanes >, vtkSmartPointer< vtkPlotHistogram2D >, vtkSmartPointer< vtkPointData >, vtkSmartPointer< vtkPoints >, vtkSmartPointer< vtkPointSet >, vtkSmartPointer< vtkPointSetToLabelHierarchy >, vtkSmartPointer< vtkPolyData >, vtkSmartPointer< vtkPolyDataMapper >, vtkSmartPointer< vtkPolyDataMapper2D >, vtkSmartPointer< vtkPolygon >, vtkSmartPointer< vtkPolyLine >, vtkSmartPointer< vtkPriorityQueue >, vtkSmartPointer< vtkQImageToImageSource >, vtkSmartPointer< vtkQuad >, vtkSmartPointer< vtkRemoveHiddenData >, vtkSmartPointer< vtkRenderer >, vtkSmartPointer< vtkRenderWindow >, vtkSmartPointer< vtkScalarBarWidget >, vtkSmartPointer< vtkScalarsToColors >, vtkSmartPointer< vtkSelection >, vtkSmartPointer< vtkSliceAndDiceLayoutStrategy >, vtkSmartPointer< vtkSphereSource >, vtkSmartPointer< vtkSpline >, vtkSmartPointer< vtkSquarifyLayoutStrategy >, vtkSmartPointer< vtkStringArray >, vtkSmartPointer< vtkSurfaceLICComposite >, vtkSmartPointer< vtkTable >, vtkSmartPointer< vtkTemporalInterpolatedVelocityField >, vtkSmartPointer< vtkTemporalPathLineFilterInternals >, vtkSmartPointer< vtkTextMapper >, vtkSmartPointer< vtkTextProperty >, vtkSmartPointer< vtkTextPropertyCollection >, 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< vtkUnstructuredGrid >, vtkSmartPointer< vtkVertexDegree >, vtkSmartPointer< vtkVertexGlyphFilter >, vtkSmartPointer< vtkVolumeTexture >, vtkSmartPointer< vtkWedge >, and vtkSmartPointer< vtkWorldPointPicker >.
Classes | |
class | NoReference |
Public Member Functions | |
vtkSmartPointerBase () | |
Initialize smart pointer to nullptr. More... | |
vtkSmartPointerBase (vtkObjectBase *r) | |
Initialize smart pointer to given object. More... | |
vtkSmartPointerBase (const vtkSmartPointerBase &r) | |
Initialize smart pointer with a new reference to the same object referenced by given smart pointer. More... | |
~vtkSmartPointerBase () | |
Destroy smart pointer and remove the reference to its object. More... | |
vtkObjectBase * | GetPointer () const |
Get the contained pointer. More... | |
void | Report (vtkGarbageCollector *collector, const char *desc) |
Report the reference held by the smart pointer to a collector. More... | |
vtkSmartPointerBase & | operator= (vtkObjectBase *r) |
Assign object to reference. More... | |
vtkSmartPointerBase & | operator= (const vtkSmartPointerBase &r) |
Assign object to reference. More... | |
Protected Member Functions | |
vtkSmartPointerBase (vtkObjectBase *r, const NoReference &) | |
Protected Attributes | |
vtkObjectBase * | Object |
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 32 of file vtkSmartPointerBase.h.
vtkSmartPointerBase::vtkSmartPointerBase | ( | ) |
Initialize smart pointer to nullptr.
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.
|
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.
|
inline |
Get the contained pointer.
Definition at line 68 of file vtkSmartPointerBase.h.
void vtkSmartPointerBase::Report | ( | vtkGarbageCollector * | collector, |
const char * | desc | ||
) |
Report the reference held by the smart pointer to a collector.
|
protected |
Definition at line 89 of file vtkSmartPointerBase.h.