VTK
9.3.20240831
|
Non-templated superclass for vtkSmartPointer. More...
#include <vtkSmartPointerBase.h>
Inherited by vtkSmartPointer< vtkAbstractArray >, vtkSmartPointer< vtkGenericOpenGLRenderWindow >, vtkSmartPointer< vtkDataObjectMeshCache >, vtkSmartPointer< vtkStringArray >, vtkSmartPointer< vtkRenderWindow >, vtkSmartPointer< vtkMotionFXCFGReader >, vtkSmartPointer< vtkCompositePolyDataMapper >, vtkSmartPointer< vtkActor >, 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< vtkUnsignedCharArray >, vtkSmartPointer< vtkPen >, vtkSmartPointer< vtkTextProperty >, vtkSmartPointer< vtkVectorText >, vtkSmartPointer< vtkPolyDataMapper >, vtkSmartPointer< vtkTextActor >, vtkSmartPointer< vtkTextActor3D >, vtkSmartPointer< vtkCamera >, vtkSmartPointer< vtkResourceStream >, vtkSmartPointer< vtkContourValues >, vtkSmartPointer< vtkRenderer >, vtkSmartPointer< StorageType >, vtkSmartPointer< vtkPoints >, vtkSmartPointer< ArrayType >, vtkSmartPointer< vtkCellArray >, vtkSmartPointer< vtkScalarsToColors >, vtkSmartPointer< vtkTypeUInt8Array >, vtkSmartPointer< vtkTypeInt32Array >, vtkSmartPointer< vtkCellAttributeCalculator >, vtkSmartPointer< vtkIdTypeArray >, vtkSmartPointer< vtkIdList >, vtkSmartPointer< vtkBrush >, vtkSmartPointer< vtkTooltipItem >, vtkSmartPointer< vtkPlotHistogram2D >, vtkSmartPointer< vtkChartLegend >, vtkSmartPointer< vtkAnnotationLink >, vtkSmartPointer< vtkIncrementalPointLocator >, vtkSmartPointer< vtkAxis >, vtkSmartPointer< vtkCallbackCommand >, vtkSmartPointer< vtkCenteredSliderRepresentation >, vtkSmartPointer< vtkCompositeDataDisplayAttributes >, vtkSmartPointer< vtkContextDevice3D >, vtkSmartPointer< vtkTransform >, vtkSmartPointer< vtkContextScene >, vtkSmartPointer< vtkTransform2D >, vtkSmartPointer< vtkContext2D >, vtkSmartPointer< vtkCoordinate >, vtkSmartPointer< vtkTransformPolyDataFilter >, vtkSmartPointer< vtkPolyLine >, vtkSmartPointer< vtkPolygon >, vtkSmartPointer< vtkDataArray >, vtkSmartPointer< vtkDGCell >, vtkSmartPointer< vtkCellAttribute >, vtkSmartPointer< vtkFieldData >, vtkSmartPointer< vtkAlgorithm >, vtkSmartPointer< vtkAOSDataArrayTemplate< ValueType > >, vtkSmartPointer< vtkDataObject >, vtkSmartPointer< vtkInformation >, vtkSmartPointer< vtkDataSet >, vtkSmartPointer< vtkPixelBufferObject >, vtkSmartPointer< vtkDecimatePolylineStrategy >, vtkSmartPointer< vtkAbstractTransform >, vtkSmartPointer< vtkPolyData >, vtkSmartPointer< vtkTree >, vtkSmartPointer< vtkMarshalContext >, vtkSmartPointer< vtkPiecewiseFunction >, vtkSmartPointer< vtkShaderProgram >, vtkSmartPointer< vtkConvertSelectionDomain >, vtkSmartPointer< vtkAbstractCellLinks >, vtkSmartPointer< vtkExtractCellsIdList >, vtkSmartPointer< vtkExtractSelection >, vtkSmartPointer< vtkExtractDataArraysOverTime >, vtkSmartPointer< vtkGraphToPolyData >, vtkSmartPointer< vtkPath >, vtkSmartPointer< vtkPlanes >, vtkSmartPointer< vtkMatrix4x4 >, vtkSmartPointer< vtkURILoader >, vtkSmartPointer< vtkGLTFDocumentLoader >, vtkSmartPointer< vtkMultiBlockDataSet >, vtkSmartPointer< vtkDataArraySelection >, vtkSmartPointer< vtkAppendPolyData >, vtkSmartPointer< vtkConvexHull2D >, vtkSmartPointer< vtkGlyph3D >, vtkSmartPointer< vtkVertexGlyphFilter >, vtkSmartPointer< vtkIconGlyphFilter >, vtkSmartPointer< vtkMapArrayValues >, vtkSmartPointer< vtkTransformCoordinateSystems >, vtkSmartPointer< vtkPolyDataMapper2D >, vtkSmartPointer< vtkTexturedActor2D >, vtkSmartPointer< vtkGraphToPoints >, vtkSmartPointer< vtkGlyphSource2D >, vtkSmartPointer< vtkSphereSource >, vtkSmartPointer< vtkDistanceToCamera >, vtkSmartPointer< vtkDataAssembly >, vtkSmartPointer< vtkSelection >, vtkSmartPointer< vtkTable >, vtkSmartPointer< vtkLine >, vtkSmartPointer< vtkPointData >, vtkSmartPointer< vtkCellData >, vtkSmartPointer< vtkHexahedron >, vtkSmartPointer< vtkQuad >, vtkSmartPointer< vtkWedge >, vtkSmartPointer< vtkMergePoints >, vtkSmartPointer< vtkBitArray >, vtkSmartPointer< vtkHyperTreeGridNonOrientedGeometryCursor >, vtkSmartPointer< vtkHyperTreeGridNonOrientedUnlimitedGeometryCursor >, vtkSmartPointer< vtkHyperTreeGridLocator >, vtkSmartPointer< vtkCharArray >, vtkSmartPointer< vtkStructuredCellArray >, vtkSmartPointer< vtkImplicitArray< int > >, vtkSmartPointer< vtkAbstractCellLocator >, vtkSmartPointer< vtkPlane >, vtkSmartPointer< vtkGenericCell >, vtkSmartPointer< vtkTextPropertyCollection >, vtkSmartPointer< vtkLagrangianBasicIntegrationModel >, vtkSmartPointer< vtkInitialValueProblemSolver >, vtkSmartPointer< ImplementationType >, vtkSmartPointer< vtkMathInternal >, vtkSmartPointer< vtkMatrix3x3 >, vtkSmartPointer< vtkMolecule >, vtkSmartPointer< vtkOBJPolyDataProcessor >, vtkSmartPointer< vtkTextureObject >, vtkSmartPointer< vtkOpenGLBufferObject >, vtkSmartPointer< vtkOpenGLFramebufferObject >, vtkSmartPointer< vtkOpenGLVertexBufferObjectGroup >, vtkSmartPointer< vtkOpenGLRenderWindow >, vtkSmartPointer< vtkFFMPEGVideoSource >, vtkSmartPointer< vtkPBRLUTTexture >, vtkSmartPointer< vtkPBRIrradianceTexture >, vtkSmartPointer< vtkPBRPrefilterTexture >, vtkSmartPointer< vtkOpenVROverlay >, vtkSmartPointer< vtkOpenXRManagerGraphics >, vtkSmartPointer< vtkOpenXRManagerConnection >, vtkSmartPointer< vtkProp >, vtkSmartPointer< vtkAbstractPointLocator >, vtkSmartPointer< AbstractPStreamTracerUtils >, vtkSmartPointer< vtkCollection >, vtkSmartPointer< vtkPairwiseExtractHistogram2D >, vtkSmartPointer< vtkLookupTable >, vtkSmartPointer< vtkComputeHistogram2DOutliers >, vtkSmartPointer< vtkActor2D >, vtkSmartPointer< vtkTextMapper >, vtkSmartPointer< vtkBivariateLinearTableThreshold >, vtkSmartPointer< vtkAxisActor2D >, vtkSmartPointer< vtkOutlineSource >, vtkSmartPointer< vtkPointSet >, vtkSmartPointer< vtkTemporalInterpolatedVelocityField >, vtkSmartPointer< vtkContextMapper2D >, vtkSmartPointer< vtkColorSeries >, vtkSmartPointer< vtkPlotBar >, vtkSmartPointer< vtkAxisActor >, vtkSmartPointer< vtkProperty >, vtkSmartPointer< vtkPolyData_detail::CellMap >, vtkSmartPointer< vtkEdgeTable >, vtkSmartPointer< vtkAttributeDataToTableFilter >, vtkSmartPointer< vtkApplyColors >, vtkSmartPointer< vtkQImageToImageSource >, vtkSmartPointer< vtkAddMembershipArray >, vtkSmartPointer< vtkPartitioningStrategy >, vtkSmartPointer< vtkExtractSelectedGraph >, vtkSmartPointer< vtkExtractSelectedRows >, vtkSmartPointer< vtkBalloonRepresentation >, vtkSmartPointer< vtkLabelPlacementMapper >, vtkSmartPointer< vtkHoverWidget >, vtkSmartPointer< vtkHardwareSelector >, vtkSmartPointer< vtkInteractorObserver >, 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< vtkSpline >, vtkSmartPointer< vtkStaticPointLocator >, vtkSmartPointer< vtkImplicitArray< vtkStructuredCellBackend > >, vtkSmartPointer< ArrayTypeX >, vtkSmartPointer< ArrayTypeY >, vtkSmartPointer< ArrayTypeZ >, vtkSmartPointer< vtkSurfaceLICComposite >, vtkSmartPointer< vtkLineIntegralConvolution2D >, vtkSmartPointer< vtkConstrainedSmoothingFilter >, vtkSmartPointer< vtkDendrogramItem >, vtkSmartPointer< TemporalFractalOutputUtil >, vtkSmartPointer< vtkCompositeInterpolatedVelocityField >, vtkSmartPointer< vtkTemporalPathLineFilterInternals >, vtkSmartPointer< vtkTexture >, vtkSmartPointer< vtkHeatmapItem >, vtkSmartPointer< vtkBoxLayoutStrategy >, vtkSmartPointer< vtkSliceAndDiceLayoutStrategy >, vtkSmartPointer< vtkSquarifyLayoutStrategy >, vtkSmartPointer< AMRIndexIterator >, vtkSmartPointer< vtkUniformGridAMR >, vtkSmartPointer< vtkCellTypes >, vtkSmartPointer< vtkCellArrayIterator >, vtkSmartPointer< vtkVRModel >, vtkSmartPointer< vtkVolumeTexture >, vtkSmartPointer< vtkOpenGLVolumeLookupTables< vtkOpenGLVolumeGradientOpacityTable > >, vtkSmartPointer< vtkOpenGLVolumeLookupTables< vtkOpenGLVolumeOpacityTable > >, vtkSmartPointer< vtkOpenGLVolumeLookupTables< vtkOpenGLVolumeRGBTable > >, vtkSmartPointer< vtkOpenGLVolumeLookupTables< vtkOpenGLVolumeTransferFunction2D > >, vtkSmartPointer< vtkImplicitFunction >, vtkSmartPointer< vtkTypeUInt32Array >, vtkSmartPointer< vtkWebGPUComputePipeline >, vtkSmartPointer< vtkWebGPUComputePass >, vtkSmartPointer< vtkWebGPUComputePassInternals >, vtkSmartPointer< vtkWebGPUConfiguration >, vtkSmartPointer< vtkWebGPUComputePassTextureStorageInternals >, vtkSmartPointer< vtkWebGPUComputePassBufferStorageInternals >, vtkSmartPointer< vtkPropCollection >, vtkSmartPointer< vtkTypeInt64Array >, 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 21 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 43 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 66 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 88 of file vtkSmartPointerBase.h.