#include <itkTestingGetBufferPointerCountingImage.h>
Image that counts calls to its non-const GetBufferPointer(), like CudaImage relies on.
Definition at line 30 of file itkTestingGetBufferPointerCountingImage.h.
Inheritance diagram for itk::Testing::GetBufferPointerCountingImage< TPixel, VImageDimension >:
Collaboration diagram for itk::Testing::GetBufferPointerCountingImage< TPixel, VImageDimension >:Public Member Functions | |
| virtual::itk::LightObject::Pointer | CreateAnother () const |
| virtual const TPixel * | GetBufferPointer () const |
| TPixel * | GetBufferPointer () override |
| vcl_size_t | GetNumberOfNonConstGetBufferPointerCalls () const |
Public Member Functions inherited from itk::Image< TPixel, 2 > | |
| void | Allocate (bool initializePixels=false) override |
| virtual::itk::LightObject::Pointer | CreateAnother () const |
| void | FillBuffer (const TPixel &value) |
| virtual const char * | GetNameOfClass () const |
| NeighborhoodAccessorFunctorType | GetNeighborhoodAccessor () |
| const NeighborhoodAccessorFunctorType | GetNeighborhoodAccessor () const |
| unsigned int | GetNumberOfComponentsPerPixel () const override |
| TPixel & | GetPixel (const IndexType &index) |
| const TPixel & | GetPixel (const IndexType &index) const |
| AccessorType | GetPixelAccessor () |
| const AccessorType | GetPixelAccessor () const |
| PixelContainer * | GetPixelContainer () |
| const PixelContainer * | GetPixelContainer () const |
| virtual void | Graft (const Self *image) |
| void | Initialize () override |
| TPixel & | operator[] (const IndexType &index) |
| const TPixel & | operator[] (const IndexType &index) const |
| void | SetPixel (const IndexType &index, const TPixel &value) |
| void | SetPixelContainer (PixelContainer *container) |
Public Member Functions inherited from itk::ImageBase< VImageDimension > | |
| void | AllocateInitialized () |
| void | AllocateInitialized () |
| IndexType | ComputeIndex (OffsetValueType offset) const |
| IndexType | ComputeIndex (OffsetValueType offset) const |
| OffsetValueType | ComputeOffset (const IndexType &ind) const |
| OffsetValueType | ComputeOffset (const IndexType &ind) const |
| void | CopyInformation (const DataObject *data) override |
| void | CopyInformation (const DataObject *data) override |
| virtual::itk::LightObject::Pointer | CreateAnother () const |
| virtual::itk::LightObject::Pointer | CreateAnother () const |
| virtual const RegionType & | GetBufferedRegion () const |
| virtual const RegionType & | GetBufferedRegion () const |
| virtual const DirectionType & | GetInverseDirection () const |
| virtual const DirectionType & | GetInverseDirection () const |
| virtual const RegionType & | GetLargestPossibleRegion () const |
| virtual const RegionType & | GetLargestPossibleRegion () const |
| const OffsetValueType * | GetOffsetTable () const |
| const OffsetValueType * | GetOffsetTable () const |
| virtual const RegionType & | GetRequestedRegion () const |
| virtual const RegionType & | GetRequestedRegion () const |
| void | Initialize () override |
| void | Initialize () override |
| bool | IsCongruentImageGeometry (const ImageBase *otherImage, double coordinateTolerance, double directionTolerance) const |
| bool | IsCongruentImageGeometry (const ImageBase *otherImage, double coordinateTolerance, double directionTolerance) const |
| bool | IsSameImageGeometryAs (const ImageBase *otherImage, double coordinateTolerance=DefaultImageCoordinateTolerance, double directionTolerance=DefaultImageDirectionTolerance) const |
| bool | IsSameImageGeometryAs (const ImageBase *otherImage, double coordinateTolerance=DefaultImageCoordinateTolerance, double directionTolerance=DefaultImageDirectionTolerance) const |
| itkVirtualGetConstReferenceMacro (Direction, DirectionType) | |
| itkVirtualGetConstReferenceMacro (Direction, DirectionType) | |
| itkVirtualGetConstReferenceMacro (Origin, PointType) | |
| itkVirtualGetConstReferenceMacro (Origin, PointType) | |
| itkVirtualGetConstReferenceMacro (Spacing, SpacingType) | |
| itkVirtualGetConstReferenceMacro (Spacing, SpacingType) | |
| bool | RequestedRegionIsOutsideOfTheBufferedRegion () override |
| bool | RequestedRegionIsOutsideOfTheBufferedRegion () override |
| virtual void | SetBufferedRegion (const RegionType ®ion) |
| virtual void | SetBufferedRegion (const RegionType ®ion) |
| virtual void | SetDirection (const DirectionType &direction) |
| virtual void | SetDirection (const DirectionType &direction) |
| virtual void | SetLargestPossibleRegion (const RegionType ®ion) |
| virtual void | SetLargestPossibleRegion (const RegionType ®ion) |
| void | SetRequestedRegion (const DataObject *data) override |
| void | SetRequestedRegion (const DataObject *data) override |
| virtual void | SetRequestedRegion (const RegionType ®ion) |
| virtual void | SetRequestedRegion (const RegionType ®ion) |
| void | SetRequestedRegionToLargestPossibleRegion () override |
| void | SetRequestedRegionToLargestPossibleRegion () override |
| Point< TCoordinate, VImageDimension > | TransformContinuousIndexToPhysicalPoint (const ContinuousIndex< TIndexRep, VImageDimension > &index) const |
| Point< TCoordinate, VImageDimension > | TransformContinuousIndexToPhysicalPoint (const ContinuousIndex< TIndexRep, VImageDimension > &index) const |
| void | TransformContinuousIndexToPhysicalPoint (const ContinuousIndex< TIndexRep, VImageDimension > &index, Point< TCoordinate, VImageDimension > &point) const |
| void | TransformContinuousIndexToPhysicalPoint (const ContinuousIndex< TIndexRep, VImageDimension > &index, Point< TCoordinate, VImageDimension > &point) const |
| Point< TCoordinate, VImageDimension > | TransformIndexToPhysicalPoint (const IndexType &index) const |
| Point< TCoordinate, VImageDimension > | TransformIndexToPhysicalPoint (const IndexType &index) const |
| void | TransformIndexToPhysicalPoint (const IndexType &index, Point< TCoordinate, VImageDimension > &point) const |
| void | TransformIndexToPhysicalPoint (const IndexType &index, Point< TCoordinate, VImageDimension > &point) const |
| void | TransformLocalVectorToPhysicalVector (const FixedArray< TCoordinate, VImageDimension > &inputGradient, FixedArray< TCoordinate, VImageDimension > &outputGradient) const |
| void | TransformLocalVectorToPhysicalVector (const FixedArray< TCoordinate, VImageDimension > &inputGradient, FixedArray< TCoordinate, VImageDimension > &outputGradient) const |
| TVector | TransformLocalVectorToPhysicalVector (const TVector &inputGradient) const |
| TVector | TransformLocalVectorToPhysicalVector (const TVector &inputGradient) const |
| ContinuousIndex< TIndexRep, VImageDimension > | TransformPhysicalPointToContinuousIndex (const Point< TCoordinate, VImageDimension > &point) const |
| ContinuousIndex< TIndexRep, VImageDimension > | TransformPhysicalPointToContinuousIndex (const Point< TCoordinate, VImageDimension > &point) const |
| bool | TransformPhysicalPointToContinuousIndex (const Point< TCoordinate, VImageDimension > &point, ContinuousIndex< TIndexRep, VImageDimension > &index) const |
| bool | TransformPhysicalPointToContinuousIndex (const Point< TCoordinate, VImageDimension > &point, ContinuousIndex< TIndexRep, VImageDimension > &index) const |
| IndexType | TransformPhysicalPointToIndex (const Point< TCoordinate, VImageDimension > &point) const |
| IndexType | TransformPhysicalPointToIndex (const Point< TCoordinate, VImageDimension > &point) const |
| bool | TransformPhysicalPointToIndex (const Point< TCoordinate, VImageDimension > &point, IndexType &index) const |
| bool | TransformPhysicalPointToIndex (const Point< TCoordinate, VImageDimension > &point, IndexType &index) const |
| void | TransformPhysicalVectorToLocalVector (const FixedArray< TCoordinate, VImageDimension > &inputGradient, FixedArray< TCoordinate, VImageDimension > &outputGradient) const |
| void | TransformPhysicalVectorToLocalVector (const FixedArray< TCoordinate, VImageDimension > &inputGradient, FixedArray< TCoordinate, VImageDimension > &outputGradient) const |
| TVector | TransformPhysicalVectorToLocalVector (const TVector &inputGradient) const |
| TVector | TransformPhysicalVectorToLocalVector (const TVector &inputGradient) const |
| void | UpdateOutputData () override |
| void | UpdateOutputData () override |
| void | UpdateOutputInformation () override |
| void | UpdateOutputInformation () override |
| bool | VerifyRequestedRegion () override |
| bool | VerifyRequestedRegion () override |
| itkVirtualSetMacro (Origin, PointType) | |
| virtual void | SetOrigin (const double origin[VImageDimension]) |
| virtual void | SetOrigin (const float origin[VImageDimension]) |
| itkVirtualSetMacro (Origin, PointType) | |
| virtual void | SetOrigin (const double origin[VImageDimension]) |
| virtual void | SetOrigin (const float origin[VImageDimension]) |
| virtual void | SetRegions (const RegionType ®ion) |
| virtual void | SetRegions (const SizeType &size) |
| virtual void | SetRegions (const RegionType ®ion) |
| virtual void | SetRegions (const SizeType &size) |
| virtual void | SetSpacing (const SpacingType &spacing) |
| virtual void | SetSpacing (const double spacing[VImageDimension]) |
| virtual void | SetSpacing (const float spacing[VImageDimension]) |
| virtual void | SetSpacing (const SpacingType &spacing) |
| virtual void | SetSpacing (const double spacing[VImageDimension]) |
| virtual void | SetSpacing (const float spacing[VImageDimension]) |
| virtual void | SetNumberOfComponentsPerPixel (unsigned int) |
| virtual void | SetNumberOfComponentsPerPixel (unsigned int) |
Public Member Functions inherited from itk::DataObject | |
| virtual void | DataHasBeenGenerated () |
| void | DisconnectPipeline () |
| bool | GetDataReleased () const |
| virtual const bool & | GetReleaseDataFlag () const |
| SmartPointer< ProcessObject > | GetSource () const |
| DataObjectPointerArraySizeType | GetSourceOutputIndex () const |
| const DataObjectIdentifierType & | GetSourceOutputName () const |
| virtual ModifiedTimeType | GetUpdateMTime () const |
| virtual void | PrepareForNewData () |
| virtual void | PropagateRequestedRegion () |
| void | ReleaseData () |
| virtual void | ReleaseDataFlagOff () |
| virtual void | ReleaseDataFlagOn () |
| virtual void | ResetPipeline () |
| void | SetReleaseDataFlag (bool flag) |
| bool | ShouldIReleaseData () const |
| virtual void | Update () |
| void | UpdateSource () const |
| void | SetPipelineMTime (ModifiedTimeType time) |
| virtual const ModifiedTimeType & | GetPipelineMTime () const |
| virtual void | SetRealTimeStamp (RealTimeStamp _arg) |
| virtual const RealTimeStamp & | GetRealTimeStamp () const |
Public Member Functions inherited from itk::Object | |
| unsigned long | AddObserver (const EventObject &event, Command *cmd) const |
| unsigned long | AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const |
| LightObject::Pointer | CreateAnother () const override |
| virtual void | DebugOff () const |
| virtual void | DebugOn () const |
| Command * | GetCommand (unsigned long tag) |
| bool | GetDebug () const |
| MetaDataDictionary & | GetMetaDataDictionary () |
| const MetaDataDictionary & | GetMetaDataDictionary () const |
| virtual ModifiedTimeType | GetMTime () const |
| virtual const TimeStamp & | GetTimeStamp () const |
| bool | HasObserver (const EventObject &event) const |
| void | InvokeEvent (const EventObject &) |
| void | InvokeEvent (const EventObject &) const |
| virtual void | Modified () const |
| void | Register () const override |
| void | RemoveAllObservers () |
| void | RemoveObserver (unsigned long tag) const |
| void | SetDebug (bool debugFlag) const |
| void | SetReferenceCount (int) override |
| void | UnRegister () const noexcept override |
| void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
| void | SetMetaDataDictionary (MetaDataDictionary &&rrhs) |
| virtual void | SetObjectName (std::string _arg) |
| virtual const std::string & | GetObjectName () const |
Public Member Functions inherited from itk::LightObject | |
| Pointer | Clone () const |
| virtual void | Delete () |
| virtual int | GetReferenceCount () const |
| void | Print (std::ostream &os, Indent indent=0) const |
Static Public Member Functions | |
| static Pointer | New () |
Static Public Member Functions inherited from itk::Image< TPixel, 2 > | |
| static Pointer | CreateInitialized (const RegionType ®ion) |
| static Pointer | New () |
Static Public Member Functions inherited from itk::ImageBase< VImageDimension > | |
| static constexpr unsigned int | GetImageDimension () |
| static constexpr unsigned int | GetImageDimension () |
| static Pointer | New () |
| static Pointer | New () |
Static Public Member Functions inherited from itk::DataObject | |
| static bool | GetGlobalReleaseDataFlag () |
| static void | GlobalReleaseDataFlagOff () |
| static void | GlobalReleaseDataFlagOn () |
| static Pointer | New () |
| static void | SetGlobalReleaseDataFlag (bool val) |
Static Public Member Functions inherited from itk::Object | |
| static bool | GetGlobalWarningDisplay () |
| static void | GlobalWarningDisplayOff () |
| static void | GlobalWarningDisplayOn () |
| static Pointer | New () |
| static void | SetGlobalWarningDisplay (bool val) |
Static Public Member Functions inherited from itk::LightObject | |
| static void | BreakOnError () |
| static Pointer | New () |
Private Attributes | |
| vcl_size_t | m_NumberOfNonConstGetBufferPointerCalls {} |
Additional Inherited Members | |
Static Public Attributes inherited from itk::ImageBase< VImageDimension > | |
| static constexpr ImageDimensionType | ImageDimension |
| static constexpr ImageDimensionType | ImageDimension |
Protected Member Functions inherited from itk::Image< TPixel, 2 > | |
| void | ComputeIndexToPhysicalPointMatrices () override |
| void | Graft (const DataObject *data) override |
| virtual void | Graft (const Self *image) |
| virtual void | Graft (const Self *image) |
| Image ()=default | |
| void | PrintSelf (std::ostream &os, Indent indent) const override |
| ~Image () override=default | |
Protected Member Functions inherited from itk::ImageBase< VImageDimension > | |
| void | ComputeOffsetTable () |
| void | ComputeOffsetTable () |
| IndexType | FastComputeIndex (OffsetValueType offset) const |
| IndexType | FastComputeIndex (OffsetValueType offset) const |
| OffsetValueType | FastComputeOffset (const IndexType &ind) const |
| OffsetValueType | FastComputeOffset (const IndexType &ind) const |
| void | Graft (const DataObject *data) override |
| void | Graft (const DataObject *data) override |
| ImageBase ()=default | |
| ImageBase ()=default | |
| virtual void | InitializeBufferedRegion () |
| virtual void | InitializeBufferedRegion () |
| void | PrintSelf (std::ostream &os, Indent indent) const override |
| void | PrintSelf (std::ostream &os, Indent indent) const override |
| ~ImageBase () override=default | |
| ~ImageBase () override=default | |
Protected Member Functions inherited from itk::DataObject | |
| DataObject () | |
| virtual void | PropagateResetPipeline () |
| ~DataObject () override | |
Protected Member Functions inherited from itk::Object | |
| Object () | |
| bool | PrintObservers (std::ostream &os, Indent indent) const |
| void | PrintSelf (std::ostream &os, Indent indent) const override |
| virtual void | SetTimeStamp (const TimeStamp &timeStamp) |
| ~Object () override | |
Protected Member Functions inherited from itk::LightObject | |
| virtual LightObject::Pointer | InternalClone () const |
| LightObject () | |
| virtual void | PrintHeader (std::ostream &os, Indent indent) const |
| virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
| virtual | ~LightObject () |
Protected Attributes inherited from itk::ImageBase< VImageDimension > | |
| SpacingType | m_Spacing |
| PointType | m_Origin |
| DirectionType | m_Direction |
| DirectionType | m_InverseDirection |
| SpacingType | m_Spacing |
| PointType | m_Origin |
| DirectionType | m_Direction |
| DirectionType | m_InverseDirection |
| DirectionType | m_IndexToPhysicalPoint |
| DirectionType | m_PhysicalPointToIndex |
| DirectionType | m_IndexToPhysicalPoint |
| DirectionType | m_PhysicalPointToIndex |
Protected Attributes inherited from itk::LightObject | |
| std::atomic< int > | m_ReferenceCount {} |
| using itk::Testing::GetBufferPointerCountingImage< TPixel, VImageDimension >::ConstWeakPointer = WeakPointer<const Self> |
Definition at line 36 of file itkTestingGetBufferPointerCountingImage.h.
| using itk::Testing::GetBufferPointerCountingImage< TPixel, VImageDimension >::Pointer = SmartPointer<Self> |
Definition at line 35 of file itkTestingGetBufferPointerCountingImage.h.
| using itk::Testing::GetBufferPointerCountingImage< TPixel, VImageDimension >::Self = GetBufferPointerCountingImage |
Definition at line 33 of file itkTestingGetBufferPointerCountingImage.h.
| using itk::Testing::GetBufferPointerCountingImage< TPixel, VImageDimension >::Superclass = Image<TPixel, VImageDimension> |
Definition at line 34 of file itkTestingGetBufferPointerCountingImage.h.
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::LightObject.
References itk::Image< TPixel, VImageDimension >::GetBufferPointer().
|
inlinevirtual |
Return a pointer to the beginning of the buffer. This is used by the image iterator class.
Reimplemented from itk::Image< TPixel, 2 >.
Definition at line 275 of file itkImage.h.
|
inlineoverridevirtual |
Return a pointer to the beginning of the buffer. This is used by the image iterator class.
Reimplemented from itk::Image< TPixel, 2 >.
Definition at line 43 of file itkTestingGetBufferPointerCountingImage.h.
References itk::Image< TPixel, VImageDimension >::GetBufferPointer(), and m_NumberOfNonConstGetBufferPointerCalls.
|
inlinenodiscard |
Definition at line 50 of file itkTestingGetBufferPointerCountingImage.h.
References m_NumberOfNonConstGetBufferPointerCalls.
|
static |
|
private |
Definition at line 56 of file itkTestingGetBufferPointerCountingImage.h.
Referenced by GetBufferPointer(), and GetNumberOfNonConstGetBufferPointerCalls().