ITK  5.2.0
Insight Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Types | Protected Member Functions | Private Attributes | List of all members
itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer > Class Template Reference

#include <itkBoundingBox.h>

+ Inheritance diagram for itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >:
+ Collaboration diagram for itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >:

Public Types

using AccumulateType = typename NumericTraits< CoordRepType >::AccumulateType
 
using BoundsArrayType = FixedArray< CoordRepType, VPointDimension *2 >
 
using ConstPointer = SmartPointer< const Self >
 
using CoordRepType = TCoordRep
 
using Pointer = SmartPointer< Self >
 
using PointIdentifier = TPointIdentifier
 
using PointsContainer = TPointsContainer
 
using PointsContainerConstIterator = typename PointsContainer::ConstIterator
 
using PointsContainerConstPointer = typename PointsContainer::ConstPointer
 
using PointsContainerIterator = typename PointsContainer::Iterator
 
using PointsContainerPointer = typename PointsContainer::Pointer
 
using PointType = Point< CoordRepType, VPointDimension >
 
using Self = BoundingBox
 
using Superclass = Object
 
- Public Types inherited from itk::Object
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = Object
 
using Superclass = LightObject
 
- Public Types inherited from itk::LightObject
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = LightObject
 

Public Member Functions

bool ComputeBoundingBox () const
 
std::array< PointType, NumberOfCornersComputeCorners () const
 
void ConsiderPoint (const PointType &)
 
virtual ::itk::LightObject::Pointer CreateAnother () const
 
Pointer DeepCopy () const
 
virtual const BoundsArrayTypeGetBounds () const
 
PointType GetCenter () const
 
AccumulateType GetDiagonalLength2 () const
 
PointType GetMaximum () const
 
PointType GetMinimum () const
 
ModifiedTimeType GetMTime () const override
 
virtual const char * GetNameOfClass () const
 
const PointsContainerGetPoints () const
 
bool IsInside (const PointType &) const
 
 itkLegacyMacro (const PointsContainer *GetCorners())
 
void SetMaximum (const PointType &)
 
void SetMinimum (const PointType &)
 
void SetPoints (const PointsContainer *)
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) 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
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
virtual const TimeStampGetTimeStamp () 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)
 
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
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool flag)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Static Public Attributes

static constexpr SizeValueType NumberOfCorners = SizeValueType{ 1 } << VPointDimension
 
static constexpr unsigned int PointDimension = VPointDimension
 

Protected Types

using ConstIterator = typename PointsContainer::ConstIterator
 

Protected Member Functions

 BoundingBox ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~BoundingBox () override=default
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
 ~Object () override
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
- 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 ()
 

Private Attributes

BoundsArrayType m_Bounds
 
TimeStamp m_BoundsMTime
 
PointsContainerConstPointer m_PointsContainer
 

Additional Inherited Members

- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount
 

Detailed Description

template<typename TPointIdentifier = IdentifierType, unsigned int VPointDimension = 3, typename TCoordRep = float, typename TPointsContainer = VectorContainer<TPointIdentifier, Point<TCoordRep, VPointDimension>>>
class itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >

Represent and compute information about bounding boxes.

BoundingBox is a supporting class that represents, computes, and caches information about bounding boxes. The bounding box can be computed from several sources, including manual specification and computation from an input points container.

This is a templated, n-dimensional version of the bounding box. Bounding boxes are represented by n pairs of (min,max) pairs, where min is the minimum coordinate value and max is the maximum coordinate value for coordinate axis i.

Template parameters for BoundingBox:

Template Parameters
TPointIdentifierThe type used to access a particular point (i.e., a point's id)
TCoordRepNumerical type with which to represent each coordinate value.
VPointDimensionGeometric dimension of space.
Examples
SphinxExamples/src/Core/Common/BoundingBoxOfAPointSet/Code.cxx.

Definition at line 70 of file itkBoundingBox.h.

Member Typedef Documentation

◆ AccumulateType

template<typename TPointIdentifier = IdentifierType, unsigned int VPointDimension = 3, typename TCoordRep = float, typename TPointsContainer = VectorContainer<TPointIdentifier, Point<TCoordRep, VPointDimension>>>
using itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::AccumulateType = typename NumericTraits<CoordRepType>::AccumulateType

Get the length squared of the diagonal of the bounding box. Returns zero if bounding box cannot be computed. Note that the Accumulate type is used to represent the length.

Definition at line 175 of file itkBoundingBox.h.

◆ BoundsArrayType

template<typename TPointIdentifier = IdentifierType, unsigned int VPointDimension = 3, typename TCoordRep = float, typename TPointsContainer = VectorContainer<TPointIdentifier, Point<TCoordRep, VPointDimension>>>
using itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::BoundsArrayType = FixedArray<CoordRepType, VPointDimension * 2>

Definition at line 98 of file itkBoundingBox.h.

◆ ConstIterator

template<typename TPointIdentifier = IdentifierType, unsigned int VPointDimension = 3, typename TCoordRep = float, typename TPointsContainer = VectorContainer<TPointIdentifier, Point<TCoordRep, VPointDimension>>>
using itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::ConstIterator = typename PointsContainer::ConstIterator
protected

Definition at line 197 of file itkBoundingBox.h.

◆ ConstPointer

template<typename TPointIdentifier = IdentifierType, unsigned int VPointDimension = 3, typename TCoordRep = float, typename TPointsContainer = VectorContainer<TPointIdentifier, Point<TCoordRep, VPointDimension>>>
using itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::ConstPointer = SmartPointer<const Self>

Definition at line 79 of file itkBoundingBox.h.

◆ CoordRepType

template<typename TPointIdentifier = IdentifierType, unsigned int VPointDimension = 3, typename TCoordRep = float, typename TPointsContainer = VectorContainer<TPointIdentifier, Point<TCoordRep, VPointDimension>>>
using itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::CoordRepType = TCoordRep

Definition at line 92 of file itkBoundingBox.h.

◆ Pointer

template<typename TPointIdentifier = IdentifierType, unsigned int VPointDimension = 3, typename TCoordRep = float, typename TPointsContainer = VectorContainer<TPointIdentifier, Point<TCoordRep, VPointDimension>>>
using itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::Pointer = SmartPointer<Self>

Definition at line 78 of file itkBoundingBox.h.

◆ PointIdentifier

template<typename TPointIdentifier = IdentifierType, unsigned int VPointDimension = 3, typename TCoordRep = float, typename TPointsContainer = VectorContainer<TPointIdentifier, Point<TCoordRep, VPointDimension>>>
using itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::PointIdentifier = TPointIdentifier

Hold on to the type information specified by the template parameters.

Definition at line 91 of file itkBoundingBox.h.

◆ PointsContainer

template<typename TPointIdentifier = IdentifierType, unsigned int VPointDimension = 3, typename TCoordRep = float, typename TPointsContainer = VectorContainer<TPointIdentifier, Point<TCoordRep, VPointDimension>>>
using itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::PointsContainer = TPointsContainer

Definition at line 93 of file itkBoundingBox.h.

◆ PointsContainerConstIterator

template<typename TPointIdentifier = IdentifierType, unsigned int VPointDimension = 3, typename TCoordRep = float, typename TPointsContainer = VectorContainer<TPointIdentifier, Point<TCoordRep, VPointDimension>>>
using itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::PointsContainerConstIterator = typename PointsContainer::ConstIterator

Convenient type alias.

Definition at line 104 of file itkBoundingBox.h.

◆ PointsContainerConstPointer

template<typename TPointIdentifier = IdentifierType, unsigned int VPointDimension = 3, typename TCoordRep = float, typename TPointsContainer = VectorContainer<TPointIdentifier, Point<TCoordRep, VPointDimension>>>
using itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::PointsContainerConstPointer = typename PointsContainer::ConstPointer

Definition at line 95 of file itkBoundingBox.h.

◆ PointsContainerIterator

template<typename TPointIdentifier = IdentifierType, unsigned int VPointDimension = 3, typename TCoordRep = float, typename TPointsContainer = VectorContainer<TPointIdentifier, Point<TCoordRep, VPointDimension>>>
using itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::PointsContainerIterator = typename PointsContainer::Iterator

Definition at line 105 of file itkBoundingBox.h.

◆ PointsContainerPointer

template<typename TPointIdentifier = IdentifierType, unsigned int VPointDimension = 3, typename TCoordRep = float, typename TPointsContainer = VectorContainer<TPointIdentifier, Point<TCoordRep, VPointDimension>>>
using itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::PointsContainerPointer = typename PointsContainer::Pointer

Definition at line 94 of file itkBoundingBox.h.

◆ PointType

template<typename TPointIdentifier = IdentifierType, unsigned int VPointDimension = 3, typename TCoordRep = float, typename TPointsContainer = VectorContainer<TPointIdentifier, Point<TCoordRep, VPointDimension>>>
using itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::PointType = Point<CoordRepType, VPointDimension>

Definition at line 97 of file itkBoundingBox.h.

◆ Self

template<typename TPointIdentifier = IdentifierType, unsigned int VPointDimension = 3, typename TCoordRep = float, typename TPointsContainer = VectorContainer<TPointIdentifier, Point<TCoordRep, VPointDimension>>>
using itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::Self = BoundingBox

Standard class type aliases.

Definition at line 76 of file itkBoundingBox.h.

◆ Superclass

template<typename TPointIdentifier = IdentifierType, unsigned int VPointDimension = 3, typename TCoordRep = float, typename TPointsContainer = VectorContainer<TPointIdentifier, Point<TCoordRep, VPointDimension>>>
using itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::Superclass = Object

Definition at line 77 of file itkBoundingBox.h.

Constructor & Destructor Documentation

◆ BoundingBox()

template<typename TPointIdentifier = IdentifierType, unsigned int VPointDimension = 3, typename TCoordRep = float, typename TPointsContainer = VectorContainer<TPointIdentifier, Point<TCoordRep, VPointDimension>>>
itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::BoundingBox ( )
protected

◆ ~BoundingBox()

template<typename TPointIdentifier = IdentifierType, unsigned int VPointDimension = 3, typename TCoordRep = float, typename TPointsContainer = VectorContainer<TPointIdentifier, Point<TCoordRep, VPointDimension>>>
itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::~BoundingBox ( )
overrideprotecteddefault

Member Function Documentation

◆ ComputeBoundingBox()

template<typename TPointIdentifier = IdentifierType, unsigned int VPointDimension = 3, typename TCoordRep = float, typename TPointsContainer = VectorContainer<TPointIdentifier, Point<TCoordRep, VPointDimension>>>
bool itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::ComputeBoundingBox ( ) const

Method that actually computes bounding box.

◆ ComputeCorners()

template<typename TPointIdentifier = IdentifierType, unsigned int VPointDimension = 3, typename TCoordRep = float, typename TPointsContainer = VectorContainer<TPointIdentifier, Point<TCoordRep, VPointDimension>>>
std::array<PointType, NumberOfCorners> itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::ComputeCorners ( ) const

Compute and return the corners of the bounding box.

Note
This function returns the same points as the legacy member function GetCorners(), but it is const, and it avoids dynamic memory allocation by using std::array.

◆ ConsiderPoint()

template<typename TPointIdentifier = IdentifierType, unsigned int VPointDimension = 3, typename TCoordRep = float, typename TPointsContainer = VectorContainer<TPointIdentifier, Point<TCoordRep, VPointDimension>>>
void itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::ConsiderPoint ( const PointType )

Adjust bounds (if necessary) as if the given point was in the set of points being considered. Does not add the given point to the set. Therefore, this point not considered in future computeboundingbox/gets once the point set is changed.

◆ CreateAnother()

template<typename TPointIdentifier = IdentifierType, unsigned int VPointDimension = 3, typename TCoordRep = float, typename TPointsContainer = VectorContainer<TPointIdentifier, Point<TCoordRep, VPointDimension>>>
virtual::itk::LightObject::Pointer itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::CreateAnother ( ) const
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.

◆ DeepCopy()

template<typename TPointIdentifier = IdentifierType, unsigned int VPointDimension = 3, typename TCoordRep = float, typename TPointsContainer = VectorContainer<TPointIdentifier, Point<TCoordRep, VPointDimension>>>
Pointer itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::DeepCopy ( ) const

Duplicates this bounding box

◆ GetBounds()

template<typename TPointIdentifier = IdentifierType, unsigned int VPointDimension = 3, typename TCoordRep = float, typename TPointsContainer = VectorContainer<TPointIdentifier, Point<TCoordRep, VPointDimension>>>
virtual const BoundsArrayType& itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::GetBounds ( ) const
virtual

Get the bounding box. This method should only be invoked after ComputeBoundingBox(), otherwise the Bounds values will not be up to date. Note that many methods in this class invoke ComputeBoundingBox() internally, for example GetMinimum(), GetMaximum(), GetCenter(), GetDiagonalLength2(). Therefore it is safe to invoke GetBounds() after any of those methods.

◆ GetCenter()

template<typename TPointIdentifier = IdentifierType, unsigned int VPointDimension = 3, typename TCoordRep = float, typename TPointsContainer = VectorContainer<TPointIdentifier, Point<TCoordRep, VPointDimension>>>
PointType itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::GetCenter ( ) const

Get the center of the bounding box. Returns a point at the origin when the bounding box object is just default-initialized.

◆ GetDiagonalLength2()

template<typename TPointIdentifier = IdentifierType, unsigned int VPointDimension = 3, typename TCoordRep = float, typename TPointsContainer = VectorContainer<TPointIdentifier, Point<TCoordRep, VPointDimension>>>
AccumulateType itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::GetDiagonalLength2 ( ) const

◆ GetMaximum()

template<typename TPointIdentifier = IdentifierType, unsigned int VPointDimension = 3, typename TCoordRep = float, typename TPointsContainer = VectorContainer<TPointIdentifier, Point<TCoordRep, VPointDimension>>>
PointType itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::GetMaximum ( ) const

Get the maximum point of the bounding box. Returns a point at the origin when the bounding box object is just default-initialized.

◆ GetMinimum()

template<typename TPointIdentifier = IdentifierType, unsigned int VPointDimension = 3, typename TCoordRep = float, typename TPointsContainer = VectorContainer<TPointIdentifier, Point<TCoordRep, VPointDimension>>>
PointType itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::GetMinimum ( ) const

Get the minimum point of the bounding box. Returns a point at the origin when the bounding box object is just default-initialized.

◆ GetMTime()

template<typename TPointIdentifier = IdentifierType, unsigned int VPointDimension = 3, typename TCoordRep = float, typename TPointsContainer = VectorContainer<TPointIdentifier, Point<TCoordRep, VPointDimension>>>
ModifiedTimeType itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::GetMTime ( ) const
overridevirtual

Method Compute the Modified Time based on changed to the components.

Reimplemented from itk::Object.

◆ GetNameOfClass()

template<typename TPointIdentifier = IdentifierType, unsigned int VPointDimension = 3, typename TCoordRep = float, typename TPointsContainer = VectorContainer<TPointIdentifier, Point<TCoordRep, VPointDimension>>>
virtual const char* itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::Object.

◆ GetPoints()

template<typename TPointIdentifier = IdentifierType, unsigned int VPointDimension = 3, typename TCoordRep = float, typename TPointsContainer = VectorContainer<TPointIdentifier, Point<TCoordRep, VPointDimension>>>
const PointsContainer* itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::GetPoints ( ) const

◆ IsInside()

template<typename TPointIdentifier = IdentifierType, unsigned int VPointDimension = 3, typename TCoordRep = float, typename TPointsContainer = VectorContainer<TPointIdentifier, Point<TCoordRep, VPointDimension>>>
bool itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::IsInside ( const PointType ) const

Method that checks if a point is inside the bounding box.

◆ itkLegacyMacro()

template<typename TPointIdentifier = IdentifierType, unsigned int VPointDimension = 3, typename TCoordRep = float, typename TPointsContainer = VectorContainer<TPointIdentifier, Point<TCoordRep, VPointDimension>>>
itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::itkLegacyMacro ( const PointsContainer GetCorners())

Compute and return the corners of the bounding box

◆ New()

template<typename TPointIdentifier = IdentifierType, unsigned int VPointDimension = 3, typename TCoordRep = float, typename TPointsContainer = VectorContainer<TPointIdentifier, Point<TCoordRep, VPointDimension>>>
static Pointer itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::New ( )
static

Method for creation through the object factory.

◆ PrintSelf()

template<typename TPointIdentifier = IdentifierType, unsigned int VPointDimension = 3, typename TCoordRep = float, typename TPointsContainer = VectorContainer<TPointIdentifier, Point<TCoordRep, VPointDimension>>>
void itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotectedvirtual

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::LightObject.

◆ SetMaximum()

template<typename TPointIdentifier = IdentifierType, unsigned int VPointDimension = 3, typename TCoordRep = float, typename TPointsContainer = VectorContainer<TPointIdentifier, Point<TCoordRep, VPointDimension>>>
void itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::SetMaximum ( const PointType )

Set the maximum point of the bounding box. May not be valid for the given set of points. Will be preserved until this filter's (i.e., the point set's) modified time changes.

◆ SetMinimum()

template<typename TPointIdentifier = IdentifierType, unsigned int VPointDimension = 3, typename TCoordRep = float, typename TPointsContainer = VectorContainer<TPointIdentifier, Point<TCoordRep, VPointDimension>>>
void itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::SetMinimum ( const PointType )

Set the minimum point of the bounding box. May not be valid for the given set of points. Will be preserved until this filter's (i.e., the point set's) modified time changes.

◆ SetPoints()

template<typename TPointIdentifier = IdentifierType, unsigned int VPointDimension = 3, typename TCoordRep = float, typename TPointsContainer = VectorContainer<TPointIdentifier, Point<TCoordRep, VPointDimension>>>
void itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::SetPoints ( const PointsContainer )

Set/Get the points from which the bounding box should be computed. The bounding box is cached and is not recomputed if the points are not changed.

Member Data Documentation

◆ m_Bounds

template<typename TPointIdentifier = IdentifierType, unsigned int VPointDimension = 3, typename TCoordRep = float, typename TPointsContainer = VectorContainer<TPointIdentifier, Point<TCoordRep, VPointDimension>>>
BoundsArrayType itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::m_Bounds
mutableprivate

Definition at line 204 of file itkBoundingBox.h.

◆ m_BoundsMTime

template<typename TPointIdentifier = IdentifierType, unsigned int VPointDimension = 3, typename TCoordRep = float, typename TPointsContainer = VectorContainer<TPointIdentifier, Point<TCoordRep, VPointDimension>>>
TimeStamp itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::m_BoundsMTime
mutableprivate

Definition at line 205 of file itkBoundingBox.h.

◆ m_PointsContainer

template<typename TPointIdentifier = IdentifierType, unsigned int VPointDimension = 3, typename TCoordRep = float, typename TPointsContainer = VectorContainer<TPointIdentifier, Point<TCoordRep, VPointDimension>>>
PointsContainerConstPointer itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::m_PointsContainer
private

Definition at line 200 of file itkBoundingBox.h.

◆ NumberOfCorners

template<typename TPointIdentifier = IdentifierType, unsigned int VPointDimension = 3, typename TCoordRep = float, typename TPointsContainer = VectorContainer<TPointIdentifier, Point<TCoordRep, VPointDimension>>>
constexpr SizeValueType itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::NumberOfCorners = SizeValueType{ 1 } << VPointDimension
staticconstexpr

Definition at line 88 of file itkBoundingBox.h.

◆ PointDimension

template<typename TPointIdentifier = IdentifierType, unsigned int VPointDimension = 3, typename TCoordRep = float, typename TPointsContainer = VectorContainer<TPointIdentifier, Point<TCoordRep, VPointDimension>>>
constexpr unsigned int itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >::PointDimension = VPointDimension
staticconstexpr

Hold on to the dimensions specified by the template parameters.

Definition at line 101 of file itkBoundingBox.h.


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