template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension >>
class itk::PointSet< TPixelType, VDimension, TMeshTraits >
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 typedefs 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.
- Examples:
- PointSet1.cxx, PointSet2.cxx, PointSet3.cxx, PointSetWithCovariantVectors.cxx, PointSetWithVectors.cxx, and RGBPointSet.cxx.
Definition at line 91 of file itkPointSet.h.
template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension >>
Hold on to the type information specified by the template parameters.
Definition at line 104 of file itkPointSet.h.
template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension >>
Copy information from the specified data set. This method is part of the pipeline execution model. By default, a ProcessObject will copy meta-data from the first input to all of its outputs. See ProcessObject::GenerateOutputInformation(). Each subclass of DataObject is responsible for being able to copy whatever meta-data it needs from from another DataObject. The default implementation of this method is empty. If a subclass overrides this method, it should always call its superclass' version.
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 >, itk::QuadEdgeMesh< TPixel, VDimension, TTraits >, and itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >.
template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension >>
virtual::itk::LightObject::Pointer itk::PointSet< TPixelType, VDimension, TMeshTraits >::CreateAnother |
( |
void |
| ) |
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::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 >.
template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension >>
virtual const char* itk::PointSet< TPixelType, VDimension, TMeshTraits >::GetNameOfClass |
( |
| ) |
const |
|
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 >.
template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension >>
Method for grafting the content of one data object into another one. This method is intended to be overloaded by derived classes. Each one of them should use dynamic_casting in order to verify that the grafted object is actually of the same type as the class on which the Graft() method was invoked.
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::QuadEdgeMesh< TPixel, VDimension, TTraits >.
template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension >>
virtual void itk::PointSet< TPixelType, VDimension, TMeshTraits >::Initialize |
( |
void |
| ) |
|
|
virtual |
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 > >, itk::Mesh< TPixel, VDimension, TTraits >, and itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.
template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension >>
virtual void itk::PointSet< TPixelType, VDimension, TMeshTraits >::PrintSelf |
( |
std::ostream & |
os, |
|
|
Indent |
indent |
|
) |
| const |
|
protectedvirtual |
Constructor for use by New() method.
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 >, itk::SimplexMesh< TPixelType, VDimension, TMeshTraits >, and itk::VoronoiDiagram2D< TCoordType >.
template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension >>
virtual bool itk::PointSet< TPixelType, VDimension, TMeshTraits >::RequestedRegionIsOutsideOfTheBufferedRegion |
( |
| ) |
|
|
virtual |
Determine whether the RequestedRegion is outside of the BufferedRegion. This method returns true if the RequestedRegion is outside the BufferedRegion (true if at least one pixel is outside). This is used by the pipeline mechanism to determine whether a filter needs to re-execute in order to satisfy the current request. If the current RequestedRegion is already inside the BufferedRegion from the previous execution (and the current filter is up to date), then a given filter does not need to re-execute
Reimplemented from itk::DataObject.
Reimplemented in itk::QuadEdgeMesh< TPixel, VDimension, TTraits >.
template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension >>
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.
template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension >>
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.
template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension >>
virtual void itk::PointSet< TPixelType, VDimension, TMeshTraits >::SetRequestedRegionToLargestPossibleRegion |
( |
| ) |
|
|
virtual |
Set the RequestedRegion to the LargestPossibleRegion. This forces a filter to produce all of the output in one execution (i.e. not streaming) on the next call to Update().
Reimplemented from itk::DataObject.
template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension >>
virtual void itk::PointSet< TPixelType, VDimension, TMeshTraits >::UpdateOutputInformation |
( |
| ) |
|
|
virtual |
template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension >>
virtual bool itk::PointSet< TPixelType, VDimension, TMeshTraits >::VerifyRequestedRegion |
( |
| ) |
|
|
virtual |
Verify that the RequestedRegion is within the LargestPossibleRegion.
If the RequestedRegion is not within the LargestPossibleRegion, then the filter cannot possibly satisfy the request. This method returns true if the request can be satisfied (even if it will be necessary to process the entire LargestPossibleRegion) and returns false otherwise. This method is used by PropagateRequestedRegion(). PropagateRequestedRegion() throws a InvalidRequestedRegionError exception if the requested region is not within the LargestPossibleRegion. Default implementation simply returns true in order to support DataObjects that do not need regions (for instance itk::EquivalencyTable).
Reimplemented from itk::DataObject.
template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension >>
An object containing data associated with the mesh's points. Optionally, this can be NULL, indicating that no data are associated with the points. The data for a point can be accessed through its point identifier.
Definition at line 148 of file itkPointSet.h.
template<typename TPixelType, unsigned int VDimension = 3, typename TMeshTraits = DefaultStaticMeshTraits< TPixelType, VDimension, VDimension >>
const unsigned int itk::PointSet< TPixelType, VDimension, TMeshTraits >::PointDimension = TMeshTraits::PointDimension |
|
static |
Convenient typedefs obtained from TMeshTraits template parameter.
Definition at line 119 of file itkPointSet.h.