VTK
9.1.0
|
Non-templated superclass for vtkSmartPointer. More...
#include <vtkSmartPointerBase.h>
Inherited by vtkSmartPointer< vtkDataArray >, vtkSmartPointer< vtkGenericOpenGLRenderWindow >, vtkSmartPointer< vtkRenderWindow >, vtkSmartPointer< vtkMotionFXCFGReader >, vtkSmartPointer< vtkCompositePolyDataMapper2 >, vtkSmartPointer< CollectionType >, vtkSmartPointer< InternalIterator >, vtkSmartPointer< vtkCompositeDataSet >, vtkSmartPointer< vtkDataObjectTree >, vtkSmartPointer< vtkMultiProcessController >, vtkSmartPointer< vtkUniformGrid >, vtkSmartPointer< vtkIntArray >, vtkSmartPointer< vtkDoubleArray >, vtkSmartPointer< vtkUnsignedIntArray >, vtkSmartPointer< vtkAssignCoordinates >, vtkSmartPointer< vtkFastSplatter >, vtkSmartPointer< vtkImageData >, vtkSmartPointer< vtkFloatArray >, vtkSmartPointer< vtkStringArray >, vtkSmartPointer< vtkRenderer >, vtkSmartPointer< StorageType >, vtkSmartPointer< vtkPoints >, vtkSmartPointer< vtkCamera >, vtkSmartPointer< ArrayType >, vtkSmartPointer< vtkCellArray >, vtkSmartPointer< vtkBrush >, vtkSmartPointer< vtkTooltipItem >, vtkSmartPointer< vtkPlotHistogram2D >, vtkSmartPointer< vtkChartLegend >, vtkSmartPointer< vtkAnnotationLink >, vtkSmartPointer< vtkAxis >, vtkSmartPointer< vtkCallbackCommand >, vtkSmartPointer< vtkCenteredSliderRepresentation >, vtkSmartPointer< vtkCompositeDataDisplayAttributes >, vtkSmartPointer< vtkContextDevice3D >, vtkSmartPointer< vtkTransform >, vtkSmartPointer< vtkContextScene >, vtkSmartPointer< vtkTransform2D >, vtkSmartPointer< vtkContext2D >, vtkSmartPointer< vtkCellData >, vtkSmartPointer< vtkCoordinate >, vtkSmartPointer< vtkTransformPolyDataFilter >, vtkSmartPointer< vtkPolyLine >, vtkSmartPointer< vtkPolygon >, vtkSmartPointer< vtkUnsignedCharArray >, vtkSmartPointer< vtkFieldData >, vtkSmartPointer< vtkIdTypeArray >, vtkSmartPointer< vtkIdList >, vtkSmartPointer< vtkAlgorithm >, vtkSmartPointer< vtkDataObject >, vtkSmartPointer< vtkInformation >, vtkSmartPointer< vtkDataSet >, vtkSmartPointer< vtkPixelBufferObject >, vtkSmartPointer< vtkPriorityQueue >, vtkSmartPointer< vtkTree >, vtkSmartPointer< vtkPiecewiseFunction >, vtkSmartPointer< vtkConvertSelectionDomain >, vtkSmartPointer< vtkExtractSelection >, vtkSmartPointer< vtkExtractDataArraysOverTime >, vtkSmartPointer< vtkGraphToPolyData >, vtkSmartPointer< vtkPath >, vtkSmartPointer< vtkPlanes >, vtkSmartPointer< vtkMatrix4x4 >, vtkSmartPointer< vtkPolyData >, vtkSmartPointer< vtkGLTFDocumentLoader >, vtkSmartPointer< vtkMultiBlockDataSet >, vtkSmartPointer< vtkDataArraySelection >, vtkSmartPointer< vtkAppendPolyData >, vtkSmartPointer< vtkConvexHull2D >, vtkSmartPointer< vtkGlyph3D >, vtkSmartPointer< vtkVertexGlyphFilter >, vtkSmartPointer< vtkIconGlyphFilter >, vtkSmartPointer< vtkMapArrayValues >, vtkSmartPointer< vtkTransformCoordinateSystems >, vtkSmartPointer< vtkPolyDataMapper >, vtkSmartPointer< vtkPolyDataMapper2D >, vtkSmartPointer< vtkActor >, vtkSmartPointer< vtkTexturedActor2D >, vtkSmartPointer< vtkGraphToPoints >, vtkSmartPointer< vtkGlyphSource2D >, vtkSmartPointer< vtkSphereSource >, vtkSmartPointer< vtkDistanceToCamera >, vtkSmartPointer< vtkTable >, vtkSmartPointer< vtkLine >, vtkSmartPointer< vtkPointData >, vtkSmartPointer< vtkHexahedron >, vtkSmartPointer< vtkQuad >, vtkSmartPointer< vtkWedge >, vtkSmartPointer< vtkHyperTreeGridNonOrientedGeometryCursor >, vtkSmartPointer< vtkAbstractCellLocator >, vtkSmartPointer< vtkPlane >, vtkSmartPointer< vtkGenericCell >, vtkSmartPointer< vtkTextPropertyCollection >, vtkSmartPointer< vtkIncrementalPointLocator >, vtkSmartPointer< ImplementationType >, vtkSmartPointer< vtkMathInternal >, vtkSmartPointer< vtkMatrix3x3 >, vtkSmartPointer< vtkMolecule >, vtkSmartPointer< vtkOBJPolyDataProcessor >, vtkSmartPointer< vtkScalarsToColors >, vtkSmartPointer< vtkOpenGLFramebufferObject >, vtkSmartPointer< vtkOpenGLVertexBufferObjectGroup >, vtkSmartPointer< vtkOpenGLRenderWindow >, vtkSmartPointer< vtkOpenGLShaderProperty >, vtkSmartPointer< AbstractPStreamTracerUtils >, vtkSmartPointer< vtkCollection >, vtkSmartPointer< vtkPairwiseExtractHistogram2D >, vtkSmartPointer< vtkLookupTable >, vtkSmartPointer< vtkComputeHistogram2DOutliers >, vtkSmartPointer< vtkActor2D >, vtkSmartPointer< vtkTextMapper >, vtkSmartPointer< vtkSelection >, vtkSmartPointer< vtkBivariateLinearTableThreshold >, vtkSmartPointer< vtkAxisActor2D >, vtkSmartPointer< vtkOutlineSource >, vtkSmartPointer< vtkTemporalInterpolatedVelocityField >, vtkSmartPointer< vtkSignedCharArray >, vtkSmartPointer< vtkBitArray >, vtkSmartPointer< vtkPen >, vtkSmartPointer< vtkContextMapper2D >, vtkSmartPointer< vtkColorSeries >, vtkSmartPointer< vtkPlotBar >, vtkSmartPointer< vtkPointSet >, vtkSmartPointer< vtkVertex >, vtkSmartPointer< vtkPolyVertex >, vtkSmartPointer< vtkTriangle >, vtkSmartPointer< vtkTriangleStrip >, vtkSmartPointer< vtkEmptyCell >, vtkSmartPointer< vtkPolyData_detail::CellMap >, vtkSmartPointer< vtkCellLinks >, vtkSmartPointer< vtkEdgeTable >, vtkSmartPointer< vtkDataObjectToTable >, vtkSmartPointer< vtkApplyColors >, vtkSmartPointer< vtkQImageToImageSource >, vtkSmartPointer< vtkAddMembershipArray >, vtkSmartPointer< vtkExtractSelectedGraph >, vtkSmartPointer< vtkExtractSelectedRows >, vtkSmartPointer< vtkBalloonRepresentation >, vtkSmartPointer< vtkLabelPlacementMapper >, vtkSmartPointer< vtkHoverWidget >, vtkSmartPointer< vtkHardwareSelector >, vtkSmartPointer< vtkVertexDegree >, vtkSmartPointer< vtkEdgeCenters >, vtkSmartPointer< vtkPointSetToLabelHierarchy >, vtkSmartPointer< vtkGraphLayout >, vtkSmartPointer< vtkPerturbCoincidentVertices >, vtkSmartPointer< vtkEdgeLayout >, vtkSmartPointer< vtkGraphToGlyphs >, vtkSmartPointer< vtkScalarBarWidget >, vtkSmartPointer< vtkRemoveHiddenData >, vtkSmartPointer< vtkApplyIcons >, vtkSmartPointer< vtkWorldPointPicker >, vtkSmartPointer< vtkTreeLevelsFilter >, vtkSmartPointer< vtkTreeFieldAggregator >, vtkSmartPointer< vtkAreaLayout >, vtkSmartPointer< vtkTextProperty >, vtkSmartPointer< vtkSpline >, vtkSmartPointer< vtkTextureObject >, vtkSmartPointer< vtkSurfaceLICComposite >, vtkSmartPointer< vtkLineIntegralConvolution2D >, vtkSmartPointer< vtkDendrogramItem >, vtkSmartPointer< TemporalFractalOutputUtil >, vtkSmartPointer< vtkCachingInterpolatedVelocityField >, vtkSmartPointer< vtkTemporalPathLineFilterInternals >, vtkSmartPointer< vtkTexture >, vtkSmartPointer< vtkHeatmapItem >, vtkSmartPointer< vtkBoxLayoutStrategy >, vtkSmartPointer< vtkSliceAndDiceLayoutStrategy >, vtkSmartPointer< vtkSquarifyLayoutStrategy >, vtkSmartPointer< AMRIndexIterator >, vtkSmartPointer< vtkUniformGridAMR >, vtkSmartPointer< vtkAbstractCellLinks >, vtkSmartPointer< vtkCellTypes >, vtkSmartPointer< vtkCellArrayIterator >, vtkSmartPointer< vtkAbstractArray >, vtkSmartPointer< vtkVolumeTexture >, vtkSmartPointer< vtkOpenGLVolumeLookupTables< vtkOpenGLVolumeGradientOpacityTable > >, vtkSmartPointer< vtkOpenGLVolumeLookupTables< vtkOpenGLVolumeOpacityTable > >, vtkSmartPointer< vtkOpenGLVolumeLookupTables< vtkOpenGLVolumeRGBTable > >, vtkSmartPointer< vtkOpenGLVolumeLookupTables< vtkOpenGLVolumeTransferFunction2D > >, vtkSmartPointer< vtkImplicitFunction >, vtkSmartPointer< vtkTypeInt64Array >, vtkSmartPointer< vtkTypeUInt32Array >, vtkSmartPointer< vtkOverlappingAMR >, and vtkSmartPointer< T >.
Classes | |
class | NoReference |
Public Member Functions | |
vtkSmartPointerBase () noexcept | |
Initialize smart pointer to nullptr. | |
vtkSmartPointerBase (vtkObjectBase *r) | |
Initialize smart pointer to given object. | |
vtkSmartPointerBase (const vtkSmartPointerBase &r) | |
Initialize smart pointer with a new reference to the same object referenced by given smart pointer. | |
vtkSmartPointerBase (vtkSmartPointerBase &&r) noexcept | |
Move the pointee from r into this and reset @ r. | |
~vtkSmartPointerBase () | |
Destroy smart pointer and remove the reference to its object. | |
vtkObjectBase * | GetPointer () const noexcept |
Get the contained pointer. | |
void | Report (vtkGarbageCollector *collector, const char *desc) |
Report the reference held by the smart pointer to a collector. | |
vtkSmartPointerBase & | operator= (vtkObjectBase *r) |
Assign object to reference. | |
vtkSmartPointerBase & | operator= (const vtkSmartPointerBase &r) |
Assign object to reference. | |
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.
|
noexcept |
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.
|
inlinenoexcept |
Move the pointee from r into this and reset @ r.
Definition at line 54 of file vtkSmartPointerBase.h.
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.
|
inlinenoexcept |
Get the contained pointer.
Definition at line 77 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 99 of file vtkSmartPointerBase.h.