ITK
5.2.0
Insight Toolkit
|
#include <itkPointSet.h>
Public Types | |
using | ConstPointer = SmartPointer< const Self > |
using | CoordRepType = typename MeshTraits::CoordRepType |
using | MeshTraits = TMeshTraits |
using | PixelType = typename MeshTraits::PixelType |
using | PointDataContainer = typename MeshTraits::PointDataContainer |
using | PointDataContainerConstPointer = typename PointDataContainer::ConstPointer |
using | PointDataContainerIterator = typename PointDataContainer::ConstIterator |
using | PointDataContainerPointer = typename PointDataContainer::Pointer |
using | Pointer = SmartPointer< Self > |
using | PointIdentifier = typename MeshTraits::PointIdentifier |
using | PointsContainer = typename MeshTraits::PointsContainer |
using | PointsContainerConstIterator = typename PointsContainer::ConstIterator |
using | PointsContainerConstPointer = typename PointsContainer::ConstPointer |
using | PointsContainerIterator = typename PointsContainer::Iterator |
using | PointsContainerPointer = typename PointsContainer::Pointer |
using | PointType = typename MeshTraits::PointType |
using | RegionType = long |
using | Self = PointSet |
using | Superclass = DataObject |
Public Types inherited from itk::DataObject | |
using | ConstPointer = SmartPointer< const Self > |
using | DataObjectIdentifierType = std::string |
using | DataObjectPointerArraySizeType = std::vector< Pointer >::size_type |
using | Pointer = SmartPointer< Self > |
using | Self = DataObject |
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 | |
virtual ::itk::LightObject::Pointer | CreateAnother () const |
virtual RegionType | GetMaximumNumberOfRegions () const |
virtual const char * | GetNameOfClass () const |
PointIdentifier | GetNumberOfPoints () const |
PointDataContainer * | GetPointData () |
const PointDataContainer * | GetPointData () const |
PointsContainer * | GetPoints () |
const PointsContainer * | GetPoints () const |
void | Initialize () override |
void | PassStructure (Self *inputPointSet) |
void | SetPointData (PointDataContainer *) |
void | SetPoints (PointsContainer *) |
Public Member Functions inherited from itk::DataObject | |
void | DisconnectPipeline () |
bool | GetDataReleased () const |
virtual const bool & | GetReleaseDataFlag () const |
SmartPointer< ProcessObject > | GetSource () const |
DataObjectPointerArraySizeType | GetSourceOutputIndex () const |
const DataObjectIdentifierType & | GetSourceOutputName () const |
virtual void | PropagateRequestedRegion () |
void | ReleaseData () |
virtual void | ReleaseDataFlagOff () |
virtual void | ReleaseDataFlagOn () |
virtual void | ResetPipeline () |
void | SetReleaseDataFlag (bool flag) |
bool | ShouldIReleaseData () const |
virtual void | Update () |
virtual void | UpdateOutputData () |
void | SetPipelineMTime (ModifiedTimeType time) |
virtual const ModifiedTimeType & | GetPipelineMTime () const |
virtual ModifiedTimeType | GetUpdateMTime () const |
virtual void | SetRealTimeStamp (RealTimeStamp _arg) |
virtual const RealTimeStamp & | GetRealTimeStamp () const |
virtual void | PrepareForNewData () |
virtual void | DataHasBeenGenerated () |
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 |
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) |
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::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 () |
Static Public Attributes | |
static constexpr unsigned int | PointDimension = TMeshTraits::PointDimension |
Additional Inherited Members | |
Protected Member Functions inherited from itk::DataObject | |
DataObject () | |
~DataObject () override | |
virtual void | PropagateResetPipeline () |
Protected Member Functions inherited from itk::Object | |
Object () | |
~Object () override | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &timeStamp) |
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 () |
A superclass of the N-dimensional mesh structure; supports point (geometric coordinate and attribute) definition.
PointSet is a superclass of the N-dimensional mesh structure (itk::Mesh). It provides the portion of the mesh definition for geometric coordinates (and associated attribute or pixel information). The defined API provides operations on points but does not tie down the underlying implementation and storage. A "MeshTraits" structure is used to define the container and identifier to access the points. See DefaultStaticMeshTraits for the set of type definitions needed. All types that are defined in the "MeshTraits" structure will have duplicate type alias in the resulting mesh itself.
PointSet has two template parameters. The first is the pixel type, or the type of data stored (optionally) with the points. The second is the "MeshTraits" structure controlling type information characterizing the point set. Most users will be happy with the defaults, and will not have to worry about this second argument.
Template parameters for PointSet:
TPixelType = The type stored as data for the point.
TMeshTraits = Type information structure for the point set.
Definition at line 82 of file itkPointSet.h.
using itk::PointSet< TPixelType, VDimension, TMeshTraits >::ConstPointer = SmartPointer<const Self> |
Definition at line 91 of file itkPointSet.h.
using itk::PointSet< TPixelType, VDimension, TMeshTraits >::CoordRepType = typename MeshTraits::CoordRepType |
Convenient type alias obtained from TMeshTraits template parameter.
Definition at line 104 of file itkPointSet.h.
using itk::PointSet< TPixelType, VDimension, TMeshTraits >::MeshTraits = TMeshTraits |
Hold on to the type information specified by the template parameters.
Definition at line 100 of file itkPointSet.h.
using itk::PointSet< TPixelType, VDimension, TMeshTraits >::PixelType = typename MeshTraits::PixelType |
Definition at line 101 of file itkPointSet.h.
using itk::PointSet< TPixelType, VDimension, TMeshTraits >::PointDataContainer = typename MeshTraits::PointDataContainer |
Definition at line 108 of file itkPointSet.h.
using itk::PointSet< TPixelType, VDimension, TMeshTraits >::PointDataContainerConstPointer = typename PointDataContainer::ConstPointer |
Definition at line 117 of file itkPointSet.h.
using itk::PointSet< TPixelType, VDimension, TMeshTraits >::PointDataContainerIterator = typename PointDataContainer::ConstIterator |
Definition at line 122 of file itkPointSet.h.
using itk::PointSet< TPixelType, VDimension, TMeshTraits >::PointDataContainerPointer = typename PointDataContainer::Pointer |
Definition at line 116 of file itkPointSet.h.
using itk::PointSet< TPixelType, VDimension, TMeshTraits >::Pointer = SmartPointer<Self> |
Definition at line 90 of file itkPointSet.h.
using itk::PointSet< TPixelType, VDimension, TMeshTraits >::PointIdentifier = typename MeshTraits::PointIdentifier |
Definition at line 105 of file itkPointSet.h.
using itk::PointSet< TPixelType, VDimension, TMeshTraits >::PointsContainer = typename MeshTraits::PointsContainer |
Definition at line 107 of file itkPointSet.h.
using itk::PointSet< TPixelType, VDimension, TMeshTraits >::PointsContainerConstIterator = typename PointsContainer::ConstIterator |
Create types that are iterators for each of the container types.
Definition at line 120 of file itkPointSet.h.
using itk::PointSet< TPixelType, VDimension, TMeshTraits >::PointsContainerConstPointer = typename PointsContainer::ConstPointer |
Definition at line 115 of file itkPointSet.h.
using itk::PointSet< TPixelType, VDimension, TMeshTraits >::PointsContainerIterator = typename PointsContainer::Iterator |
Definition at line 121 of file itkPointSet.h.
using itk::PointSet< TPixelType, VDimension, TMeshTraits >::PointsContainerPointer = typename PointsContainer::Pointer |
Create types that are pointers to each of the container types.
Definition at line 114 of file itkPointSet.h.
using itk::PointSet< TPixelType, VDimension, TMeshTraits >::PointType = typename MeshTraits::PointType |
Definition at line 106 of file itkPointSet.h.
using itk::PointSet< TPixelType, VDimension, TMeshTraits >::RegionType = long |
Type used to define Regions
Definition at line 125 of file itkPointSet.h.
using itk::PointSet< TPixelType, VDimension, TMeshTraits >::Self = PointSet |
Standard class type aliases.
Definition at line 88 of file itkPointSet.h.
using itk::PointSet< TPixelType, VDimension, TMeshTraits >::Superclass = DataObject |
Definition at line 89 of file itkPointSet.h.
|
protected |
Constructor for use by New() method.
|
overrideprotecteddefault |
Access routines to fill the Points container, and get information from it.
|
overridevirtual |
Access routines to fill the Points container, and get information from it.
Reimplemented from itk::DataObject.
Reimplemented in itk::Mesh< TPixelType, VDimension, TMeshTraits >, itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >, itk::Mesh< TPixel, VDimension, TTraits >, and itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >.
|
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::Object.
Reimplemented in itk::Mesh< TPixelType, VDimension, TMeshTraits >, itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >, itk::Mesh< TPixel, VDimension, TTraits >, and itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >.
|
virtual |
Access routines to fill the Points container, and get information from it.
|
virtual |
Get the maximum number of regions that this data can be separated into.
|
virtual |
Standard part of every itk Object.
Reimplemented from itk::DataObject.
Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >, itk::Mesh< TPixelType, VDimension, TMeshTraits >, itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >, itk::Mesh< TPixel, VDimension, TTraits >, itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >, and itk::VoronoiDiagram2D< TCoordType >.
PointIdentifier itk::PointSet< TPixelType, VDimension, TMeshTraits >::GetNumberOfPoints | ( | ) | const |
PointType itk::PointSet< TPixelType, VDimension, TMeshTraits >::GetPoint | ( | PointIdentifier | ) | const |
Access routines to fill the Points container, and get information from it.
bool itk::PointSet< TPixelType, VDimension, TMeshTraits >::GetPoint | ( | PointIdentifier | , |
PointType * | |||
) | const |
Access routines to fill the Points container, and get information from it.
PointDataContainer* itk::PointSet< TPixelType, VDimension, TMeshTraits >::GetPointData | ( | ) |
const PointDataContainer* itk::PointSet< TPixelType, VDimension, TMeshTraits >::GetPointData | ( | ) | const |
bool itk::PointSet< TPixelType, VDimension, TMeshTraits >::GetPointData | ( | PointIdentifier | , |
PixelType * | |||
) | const |
Access routines to fill the Points container, and get information from it.
PointsContainer* itk::PointSet< TPixelType, VDimension, TMeshTraits >::GetPoints | ( | ) |
const PointsContainer* itk::PointSet< TPixelType, VDimension, TMeshTraits >::GetPoints | ( | ) | const |
|
virtual |
Access routines to fill the Points container, and get information from it.
|
overridevirtual |
Access routines to fill the Points container, and get information from it.
Reimplemented from itk::DataObject.
Reimplemented in itk::Mesh< TPixelType, VDimension, TMeshTraits >, itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >, and itk::Mesh< TPixel, VDimension, TTraits >.
|
overridevirtual |
Restore the data object to its initial state. This means releasing memory.
Reimplemented from itk::DataObject.
Reimplemented in itk::Mesh< TPixelType, VDimension, TMeshTraits >, itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >, and itk::Mesh< TPixel, VDimension, TTraits >.
|
static |
Method for creation through the object factory.
void itk::PointSet< TPixelType, VDimension, TMeshTraits >::PassStructure | ( | Self * | inputPointSet | ) |
PointSet-level operation interface.
|
overrideprotectedvirtual |
Access routines to fill the Points container, and get information from it.
Reimplemented from itk::DataObject.
Reimplemented in itk::Mesh< TPixelType, VDimension, TMeshTraits >, itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >, itk::Mesh< TPixel, VDimension, TTraits >, and itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >.
|
overridevirtual |
Access routines to fill the Points container, and get information from it.
Reimplemented from itk::DataObject.
|
virtual |
Set/Get the Buffered region
void itk::PointSet< TPixelType, VDimension, TMeshTraits >::SetPoint | ( | PointIdentifier | , |
PointType | |||
) |
Access routines to fill the Points container, and get information from it.
void itk::PointSet< TPixelType, VDimension, TMeshTraits >::SetPointData | ( | PointDataContainer * | ) |
void itk::PointSet< TPixelType, VDimension, TMeshTraits >::SetPointData | ( | PointIdentifier | , |
PixelType | |||
) |
Access routines to fill the PointData container, and get information from it.
void itk::PointSet< TPixelType, VDimension, TMeshTraits >::SetPoints | ( | PointsContainer * | ) |
Define Set/Get access routines for each internal container. Methods also exist to add points, cells, etc. one at a time rather than through an entire container.
|
overridevirtual |
Set the requested region from this data object to match the requested region of the data object passed in as a parameter. This method implements the API from DataObject. The data object parameter must be castable to a PointSet.
Reimplemented from itk::DataObject.
|
virtual |
Set/Get the Requested region
|
overridevirtual |
Access routines to fill the Points container, and get information from it.
Reimplemented from itk::DataObject.
|
overridevirtual |
Methods to manage streaming.
Reimplemented from itk::DataObject.
|
overridevirtual |
Access routines to fill the Points container, and get information from it.
Reimplemented from itk::DataObject.
|
protected |
Access routines to fill the Points container, and get information from it.
Definition at line 248 of file itkPointSet.h.
|
protected |
Access routines to fill the Points container, and get information from it.
Definition at line 245 of file itkPointSet.h.
|
protected |
Access routines to fill the Points container, and get information from it.
Definition at line 246 of file itkPointSet.h.
|
protected |
An object containing data associated with the mesh's points. Optionally, this can be nullptr, indicating that no data are associated with the points. The data for a point can be accessed through its point identifier.
Definition at line 140 of file itkPointSet.h.
|
protected |
An object containing points used by the mesh. Individual points are accessed through point identifiers.
Definition at line 129 of file itkPointSet.h.
|
protected |
Access routines to fill the Points container, and get information from it.
Definition at line 247 of file itkPointSet.h.
|
protected |
Access routines to fill the Points container, and get information from it.
Definition at line 249 of file itkPointSet.h.
|
staticconstexpr |
Convenient type alias obtained from TMeshTraits template parameter.
Definition at line 111 of file itkPointSet.h.