#include <itkAutomaticTopologyMeshSource.h>
Inheritance diagram for itk::AutomaticTopologyMeshSource< TOutputMesh >:


This generates an N-dimensional mesh consisting of some combination of vertices, line segments, triangles, quadrilaterals, tetrahedra, and hexahedra. Identifiers for the cells are automatically added, and topological connectivity is automatically computed. When a cell is added, all of its boundary features are determined and added as well.
The main methods are of the form AddThing, where Thing can be Point, Vertex, Triangle, Quadrilateral, Tetrahedron, or Hexahedron. Each of these methods has several overloaded forms, permitting multiple ways to specify the object being added. When called, each of these methods first checks to see if the object has already been added. If it has not, then a new identifier is generated (the smallest one so far unused), the object is added with that identifier, and the ID is returned. If the object has already been added, then the ID it already has is returned and nothing else is done.
When a cell is added, all of its boundary elements are also added, and boundary assignments are set. A cell can be specified using IDs of points already added, or using Point objects that may or may not already be in the mesh. If a cell is specified using Point objects, then the points are added to the mesh if necessary.
The different ways of specifying a cell are
this->AddLine(0, 1), if 0 and 1 are point identifiers).For meshes generated using this filter, only one cell can be added for any given set of vertices. If a, b, c, and d are identifiers for four points in R^3, then (a, b, c, d) and (a, c, d, b) determine two different quadrilaterals (at least one of which is either degenerate or nonplanar). If you call AddQuadrilateral(a, b, c, d); AddQuadrilateral(a, c, d, b); then only the first quadrilateral will actually be added.
To add the topological information to an already constructed mesh (for efficiency of traversal), use this class to generate a copy of the original mesh.
Example: The following code generates a mesh consisting of two triangles sharing an edge.
typedef itk::AutomaticTopologyMeshSource< MeshType > MeshSourceType; MeshSourceType::Pointer meshSource = MeshSourceType::New(); meshSource->AddTriangle( meshSource->AddPoint(0, 0, 0), meshSource->AddPoint(1, 0, 0), meshSource->AddPoint(0, 1, 0) ); meshSource->AddTriangle( meshSource->AddPoint(0, 0, 0), meshSource->AddPoint(1, 0, 0), meshSource->AddPoint(0, 0, 1) );
This class inherits from itk::MeshSource so it fits conveniently into a pipeline, but GetOutput() is always valid after every Add[Something]() call, and Update() is a no-op. It is not thread safe.
Definition at line 111 of file itkAutomaticTopologyMeshSource.h.
Public Types | |
| typedef CellType::CellAutoPointer | CellAutoPointer |
| typedef MeshType::CellType | CellType |
| typedef SmartPointer< const Self > | ConstPointer |
| typedef PointType::CoordRepType | CoordinateType |
| typedef DataObject::Pointer | DataObjectPointer |
| typedef std::vector< DataObjectPointer > | DataObjectPointerArray |
| typedef HexahedronCell< CellType > | HexahedronCell |
| typedef Array< IdentifierType > | IdentifierArrayType |
| typedef unsigned long | IdentifierType |
| typedef LineCell< CellType > | LineCell |
| typedef MeshType::Pointer | MeshPointer |
| typedef TOutputMesh | MeshType |
| typedef OutputMeshType::Pointer | OutputMeshPointer |
| typedef TOutputMesh | OutputMeshType |
| typedef SmartPointer< Self > | Pointer |
| typedef itk::hash_map< PointType, IdentifierType, StructHashFunction< PointType > > | PointHashMap |
| typedef MeshType::PointType | PointType |
| typedef QuadrilateralCell< CellType > | QuadrilateralCell |
| typedef AutomaticTopologyMeshSource | Self |
| typedef MeshSource< TOutputMesh > | Superclass |
| typedef TetrahedronCell< CellType > | TetrahedronCell |
| typedef TriangleCell< CellType > | TriangleCell |
| typedef VertexCell< CellType > | VertexCell |
Public Member Functions | |
| virtual void | AbortGenerateDataOff () |
| virtual void | AbortGenerateDataOn () |
| IdentifierType | AddHexahedron (const CoordinateType *p0, const CoordinateType *p1, const CoordinateType *p2, const CoordinateType *p3, const CoordinateType *p4, const CoordinateType *p5, const CoordinateType *p6, const CoordinateType *p7) |
| IdentifierType | AddHexahedron (const PointType &p0, const PointType &p1, const PointType &p2, const PointType &p3, const PointType &p4, const PointType &p5, const PointType &p6, const PointType &p7) |
| IdentifierType | AddHexahedron (IdentifierType pointId0, IdentifierType pointId1, IdentifierType pointId2, IdentifierType pointId3, IdentifierType pointId4, IdentifierType pointId5, IdentifierType pointId6, IdentifierType pointId7) |
| IdentifierType | AddLine (const CoordinateType *p0, const CoordinateType *p1) |
| IdentifierType | AddLine (const PointType &p0, const PointType &p1) |
| IdentifierType | AddLine (IdentifierType pointId0, IdentifierType pointId1) |
| Add the line specified by the two and return its ID *The endpoints and their associated vertices are associated to the *line in the order that they are specified the first time the *function is called *IdentifierType | AddLine (const IdentifierArrayType &pointIds) |
| IdentifierType | AddPoint (CoordinateType x0=0, CoordinateType x1=0, CoordinateType x2=0, CoordinateType x3=0, CoordinateType x4=0, CoordinateType x5=0) |
| IdentifierType | AddPoint (const CoordinateType *p0) |
| Add the point p0 if it s not already and return its ID *IdentifierType | AddPoint (const PointType &p0) |
| Add the hexahedron specified by the four and return its *ID If the points are and then the following *additional in *the order p7 p7 **In if the points are connected topologically as follows verbatim p4 p5 p0 p1 p2 p3 p6 p7 endverbatim *then you would for *< tt > meshSource | AddQuadrilateral (p0, p1, p2, p3, p4, p5, p6,*p7)</tt >.*/IdentifierType AddHexahedron(const IdentifierArrayType &pointIds) |
| IdentifierType | AddQuadrilateral (const CoordinateType *p0, const CoordinateType *p1, const CoordinateType *p2, const CoordinateType *p3) |
| IdentifierType | AddQuadrilateral (const PointType &p0, const PointType &p1, const PointType &p2, const PointType &p3) |
| IdentifierType | AddQuadrilateral (IdentifierType pointId0, IdentifierType pointId1, IdentifierType pointId2, IdentifierType pointId3) |
| IdentifierType | AddQuadrilateral (const IdentifierArrayType &pointIds) |
| IdentifierType | AddTetrahedron (const CoordinateType *p0, const CoordinateType *p1, const CoordinateType *p2, const CoordinateType *p3) |
| IdentifierType | AddTetrahedron (const PointType &p0, const PointType &p1, const PointType &p2, const PointType &p3) |
| IdentifierType | AddTetrahedron (IdentifierType pointId0, IdentifierType pointId1, IdentifierType pointId2, IdentifierType pointId3) |
| Add the tetrahedron specified by the three and return its *ID If the points are and then the following *additional in *the order p3 p3 *p3 **IdentifierType | AddTetrahedron (const IdentifierArrayType &pointIds) |
| IdentifierType | AddTriangle (const CoordinateType *p0, const CoordinateType *p1, const CoordinateType *p2) |
| IdentifierType | AddTriangle (const PointType &p0, const PointType &p1, const PointType &p2) |
| IdentifierType | AddTriangle (IdentifierType pointId0, IdentifierType pointId1, IdentifierType pointId2) |
| Add the triangle specified by the three and return its *ID If the points are and then the following *additional in *the order p2 p0 **IdentifierType | AddTriangle (const IdentifierArrayType &pointIds) |
| IdentifierType | AddVertex (const CoordinateType *p0) |
| IdentifierType | AddVertex (const PointType &p0) |
| IdentifierType | AddVertex (IdentifierType pointId0) |
| Add a vertex located at the given and return its ID *IdentifierType | AddVertex (const IdentifierArrayType &pointIds) |
| Add the hexahedron specified by the four and return its *ID If the points are and then the following *additional | cells (represented here as ordered tuples) are created *(if they don't already exist) and associated as boundaries |
| Add the tetrahedron specified by the three and return its *ID If the points are and then the following *additional | cells (represented here as ordered tuples) are created *(if they don't already exist) and associated as boundaries |
| Add the triangle specified by the three and return its *ID If the points are and then the following *additional | cells (represented here as ordered tuples) are created *(if they don't already exist) and associated as boundaries |
| virtual LightObject::Pointer | CreateAnother () const |
| virtual void | DebugOff () const |
| virtual void | DebugOn () const |
| virtual void | Delete () |
| virtual void | EnlargeOutputRequestedRegion (DataObject *) |
| virtual const bool & | GetAbortGenerateData () |
| Command * | GetCommand (unsigned long tag) |
| bool | GetDebug () const |
| DataObjectPointerArray & | GetInputs () |
| const MetaDataDictionary & | GetMetaDataDictionary (void) const |
| MetaDataDictionary & | GetMetaDataDictionary (void) |
| virtual unsigned long | GetMTime () const |
| MultiThreader * | GetMultiThreader () |
| virtual const char * | GetNameOfClass () const |
| std::vector< DataObjectPointer >::size_type | GetNumberOfInputs () const |
| std::vector< DataObjectPointer >::size_type | GetNumberOfOutputs () const |
| virtual const int & | GetNumberOfThreads () |
| virtual std::vector< DataObjectPointer >::size_type | GetNumberOfValidRequiredInputs () const |
| OutputMeshType * | GetOutput (unsigned int idx) |
| Get the mesh output of this process object *OutputMeshType * | GetOutput (void) |
| Return an array with all the outputs of this process object *This is useful for tracing forward in the pipeline to contruct *graphs etc *DataObjectPointerArray & | GetOutputs () |
| virtual const float & | GetProgress () |
| virtual int | GetReferenceCount () const |
| virtual const bool & | GetReleaseDataBeforeUpdateFlag () |
| virtual bool | GetReleaseDataFlag () const |
| virtual void | GraftNthOutput (unsigned int idx, DataObject *output) |
| ****this | GraftOutput (lastFilterInMiniPipeline->GetOutput()) |
| ****lastFilterInMiniPipeline | GraftOutput (this->GetOutput()) |
| bool | HasObserver (const EventObject &event) const |
| void | InvokeEvent (const EventObject &) const |
| void | InvokeEvent (const EventObject &) |
| itkStaticConstMacro (MaxTopologicalDimension, unsigned int, MeshType::MaxTopologicalDimension) | |
| The dimension of the output mesh * | itkStaticConstMacro (PointDimension, unsigned int, MeshType::PointDimension) |
| Graft the specified DataObject onto this ProcessObject s output *This method grabs a handle to the specified DataObject s bulk *data to used as its output s own bulk data It also copies the *region | ivars (RequestedRegion, BufferedRegion,*LargestPossibleRegion) and meta-data(Spacing |
| virtual DataObjectPointer | MakeOutput (unsigned int idx) |
| virtual void | Modified () const |
| virtual void | PrepareOutputs () |
| void | Print (std::ostream &os, Indent indent=0) const |
| virtual void | PropagateRequestedRegion (DataObject *output) |
| virtual void | Register () const |
| virtual void | ReleaseDataBeforeUpdateFlagOff () |
| virtual void | ReleaseDataBeforeUpdateFlagOn () |
| void | ReleaseDataFlagOff () |
| void | ReleaseDataFlagOn () |
| void | RemoveAllObservers () |
| void | RemoveObserver (unsigned long tag) |
| virtual void | ResetPipeline () |
| virtual void | SetAbortGenerateData (bool _arg) |
| void | SetDebug (bool debugFlag) const |
| void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
| Get Set the number of threads to create when executing *virtual void | SetNumberOfThreads (int _arg) |
| void | SetOutput (TOutputMesh *output) |
| virtual void | SetProgress (float _arg) |
| virtual void | SetReferenceCount (int) |
| Turn on off the flags to control whether the bulk data belonging *to the outputs of this ProcessObject are released after being *used by a downstream ProcessObject Default value is off Another *options for controlling memory utilization is the *ReleaseDataBeforeUpdateFlag *virtual void | SetReleaseDataFlag (bool flag) |
| virtual void | UnRegister () const |
| ***lastFilterInMiniPipeline | Update () |
| virtual void | UpdateLargestPossibleRegion () |
| virtual void | UpdateOutputData (DataObject *output) |
| virtual void | UpdateOutputInformation () |
| void | UpdateProgress (float amount) |
Static Public Member Functions | |
| static void | BreakOnError () |
| static bool | GetGlobalWarningDisplay () |
| static void | GlobalWarningDisplayOff () |
| static void | GlobalWarningDisplayOn () |
| static Pointer | New () |
| This is a global flag that controls whether any warning *or error messages are displayed *static void | SetGlobalWarningDisplay (bool flag) |
Public Attributes | |
| Allow people to add remove invoke observers(callbacks) to any ITK *object.This is an implementation of the subject/observer design *pattern.An observer is added by specifying an event to respond to *and an itk unsigned lon | AddObserver )(const EventObject &event, Command *) const |
| Add the hexahedron specified by the four and return its *ID If the points are and then the following *additional in *the order p7 p7 **In if the points are connected topologically as follows verbatim p4 p5 p0 p1 p2 p3 p6 p7 endverbatim *then you would | call |
| This is a global flag that controls whether any | debug |
| *endcode **For proper pipeline | execution |
| Add the hexahedron specified by the four and return its *ID If the points are and then the following *additional in *the order | given: * * Vertices: (p0) |
| Add the tetrahedron specified by the three and return its *ID If the points are and then the following *additional in *the order | given: * * Vertices: (p0) |
| Add the triangle specified by the three and return its *ID If the points are and then the following *additional in *the order | given: * * Vertices: (p0) |
| Graft the specified DataObject onto this ProcessObject s output *This method grabs a handle to the specified DataObject s bulk *data to used as its output s own bulk data It also copies the *region Origin from the *specified data object into this filter s output data object Most | however |
| Graft the specified DataObject onto this ProcessObject s output *This method grabs a handle to the specified DataObject s bulk *data to used as its output s own bulk data It also copies the *region Origin from the *specified data object into this filter s output data object Most * | importantly |
| Add the hexahedron specified by the four and return its *ID If the points are and then the following *additional in *the order p7 p7 **In if the points are connected topologically as follows verbatim p4 p5 p0 p1 p2 p3 p6 p7 endverbatim *then you would for | instance |
| Add the hexahedron specified by the four and return its *ID If the points are and then the following *additional in *the order p7 ** | Lines: (p0 |
| Add the tetrahedron specified by the three and return its *ID If the points are and then the following *additional in *the order p3 ** | Lines: (p0 |
| Add the triangle specified by the three and return its *ID If the points are and then the following *additional in *the order p2 ** | Lines: (p0 |
| Add the hexahedron specified by the four and return its *ID If the points are and then the following *additional in *the order p7 | p0 |
| Add the hexahedron specified by the four and return its *ID If the points are and then the following *additional in *the order p7 | p0 |
| Add the hexahedron specified by the four and return its *ID If the points are | p0 |
| Add the tetrahedron specified by the three and return its *ID If the points are and then the following *additional in *the order p3 p3 | p0 |
| Add the tetrahedron specified by the three and return its *ID If the points are and then the following *additional in *the order p3 p3 | p0 |
| Add the tetrahedron specified by the three and return its *ID If the points are and then the following *additional in *the order p3 | p0 |
| Add the tetrahedron specified by the three and return its *ID If the points are and then the following *additional in *the order p3 | p0 |
| Add the tetrahedron specified by the three and return its *ID If the points are | p0 |
| Add the triangle specified by the three and return its *ID If the points are | p0 |
| Add the hexahedron specified by the four and return its *ID If the points are and then the following *additional in *the order p7 | p1 |
| Add the hexahedron specified by the four and return its *ID If the points are and then the following *additional in *the order p7 | p1 |
| Add the hexahedron specified by the four and return its *ID If the points are and then the following *additional in *the order p7 | p1 |
| Add the hexahedron specified by the four and return its *ID If the points are and then the following *additional in *the order | p1 |
| Add the hexahedron specified by the four and return its *ID If the points are | p1 |
| Add the tetrahedron specified by the three and return its *ID If the points are and then the following *additional in *the order p3 p3 | p1 |
| Add the tetrahedron specified by the three and return its *ID If the points are and then the following *additional in *the order p3 p3 | p1 |
| Add the tetrahedron specified by the three and return its *ID If the points are and then the following *additional in *the order p3 p3 | p1 |
| Add the tetrahedron specified by the three and return its *ID If the points are and then the following *additional in *the order p3 | p1 |
| Add the tetrahedron specified by the three and return its *ID If the points are and then the following *additional in *the order p3 | p1 |
| Add the tetrahedron specified by the three and return its *ID If the points are and then the following *additional in *the order p3 | p1 |
| Add the tetrahedron specified by the three and return its *ID If the points are and then the following *additional in *the order | p1 |
| Add the tetrahedron specified by the three and return its *ID If the points are | p1 |
| Add the triangle specified by the three and return its *ID If the points are and then the following *additional in *the order p2 | p1 |
| Add the triangle specified by the three and return its *ID If the points are and then the following *additional in *the order p2 | p1 |
| Add the triangle specified by the three and return its *ID If the points are and then the following *additional in *the order | p1 |
| Add the triangle specified by the three and return its *ID If the points are | p1 |
| Add the hexahedron specified by the four and return its *ID If the points are and then the following *additional in *the order p7 | p2 |
| Add the hexahedron specified by the four and return its *ID If the points are and then the following *additional in *the order p7 | p2 |
| Add the hexahedron specified by the four and return its *ID If the points are and then the following *additional in *the order p7 | p2 |
| Add the hexahedron specified by the four and return its *ID If the points are and then the following *additional in *the order | p2 |
| Add the hexahedron specified by the four and return its *ID If the points are | p2 |
| Add the tetrahedron specified by the three and return its *ID If the points are and then the following *additional in *the order p3 p3 | p2 |
| Add the tetrahedron specified by the three and return its *ID If the points are and then the following *additional in *the order p3 p3 | p2 |
| Add the tetrahedron specified by the three and return its *ID If the points are and then the following *additional in *the order p3 p3 | p2 |
| Add the tetrahedron specified by the three and return its *ID If the points are and then the following *additional in *the order p3 | p2 |
| Add the tetrahedron specified by the three and return its *ID If the points are and then the following *additional in *the order p3 | p2 |
| Add the tetrahedron specified by the three and return its *ID If the points are and then the following *additional in *the order p3 | p2 |
| Add the tetrahedron specified by the three and return its *ID If the points are and then the following *additional in *the order | p2 |
| Add the tetrahedron specified by the three and return its *ID If the points are and | p2 |
| Add the triangle specified by the three and return its *ID If the points are and then the following *additional in *the order p2 | p2 |
| Add the triangle specified by the three and return its *ID If the points are and then the following *additional in *the order p2 | p2 |
| Add the triangle specified by the three and return its *ID If the points are and | p2 |
| Add the hexahedron specified by the four and return its *ID If the points are and then the following *additional in *the order p7 | p3 |
| Add the hexahedron specified by the four and return its *ID If the points are and then the following *additional in *the order p7 * | p3 |
| Add the hexahedron specified by the four and return its *ID If the points are and then the following *additional in *the order p7 | p3 |
| Add the hexahedron specified by the four and return its *ID If the points are and then the following *additional in *the order | p3 |
| Add the hexahedron specified by the four and return its *ID If the points are and | p3 |
| Add the tetrahedron specified by the three and return its *ID If the points are and then the following *additional in *the order p3 p3 | p3 |
| Add the tetrahedron specified by the three and return its *ID If the points are and then the following *additional in *the order p3 p3 | p3 |
| Add the tetrahedron specified by the three and return its *ID If the points are and then the following *additional in *the order p3 | p3 |
| Add the tetrahedron specified by the three and return its *ID If the points are and then the following *additional in *the order p3 | p3 |
| Add the hexahedron specified by the four and return its *ID If the points are and then the following *additional in *the order p7 | p4 |
| Add the hexahedron specified by the four and return its *ID If the points are and then the following *additional in *the order p7 | p4 |
| Add the hexahedron specified by the four and return its *ID If the points are and then the following *additional in *the order p7 | p4 |
| Add the hexahedron specified by the four and return its *ID If the points are and then the following *additional in *the order | p4 |
| Add the hexahedron specified by the four and return its *ID If the points are and then the following *additional in *the order p7 | p5 |
| Add the hexahedron specified by the four and return its *ID If the points are and then the following *additional in *the order p7 | p5 |
| Add the hexahedron specified by the four and return its *ID If the points are and then the following *additional in *the order p7 | p5 |
| Add the hexahedron specified by the four and return its *ID If the points are and then the following *additional in *the order | p5 |
| Add the hexahedron specified by the four and return its *ID If the points are and then the following *additional in *the order p7 | p6 |
| Add the hexahedron specified by the four and return its *ID If the points are and then the following *additional in *the order p7 | p6 |
| Add the hexahedron specified by the four and return its *ID If the points are and then the following *additional in *the order p7 | p6 |
| Add the hexahedron specified by the four and return its *ID If the points are and then the following *additional in *the order | p6 |
| Add the hexahedron specified by the four and return its *ID If the points are and then the following *additional in *the order p7 | p7 |
| Add the hexahedron specified by the four and return its *ID If the points are and then the following *additional in *the order p7 | p7 |
| Add the hexahedron specified by the four and return its *ID If the points are and then the following *additional in *the order p7 p7 **In | particular |
| Add a vertex located at the given | point |
| Add the hexahedron specified by the four | points |
| Add the tetrahedron specified by the three | points |
| Add the triangle specified by the three | points |
| Add the line specified by the two | points |
| Add the hexahedron specified by the four and return its *ID If the points are and then the following *additional in *the order p7 p7 ** | Quadrilaterals: (0 |
| Add the point p0 if it s not already | there |
| Add the tetrahedron specified by the three and return its *ID If the points are and then the following *additional in *the order p3 p3 ** | Triangles: (p0 |
Protected Member Functions | |
| virtual void | AddInput (DataObject *input) |
| virtual void | AddOutput (DataObject *output) |
| AutomaticTopologyMeshSource () | |
| virtual void | CacheInputReleaseDataFlags () |
| void | GenerateData () |
| void | GenerateInputRequestedRegion () |
| virtual void | GenerateOutputInformation () |
| virtual void | GenerateOutputRequestedRegion (DataObject *output) |
| const DataObject * | GetInput (unsigned int idx) const |
| Method used internally for getting an input *DataObject * | GetInput (unsigned int idx) |
| virtual const unsigned int & | GetNumberOfRequiredInputs () |
| virtual const unsigned int & | GetNumberOfRequiredOutputs () |
| const DataObject * | GetOutput (unsigned int idx) const |
| virtual void | PopBackInput () |
| virtual void | PopFrontInput () |
| bool | PrintObservers (std::ostream &os, Indent indent) const |
| void | PrintSelf (std::ostream &os, Indent indent) const |
| virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
| virtual void | PropagateResetPipeline () |
| Push Pop an input of this process object These methods allow a *filter to model its input vector as a queue or stack These *routines may not be appropriate for all especially *filters with different types of inputs These routines follow *the semantics of STL *virtual void | PushBackInput (const DataObject *input) |
| virtual void | PushFrontInput (const DataObject *input) |
| virtual void | ReleaseInputs () |
| virtual void | RemoveInput (DataObject *input) |
| virtual void | RemoveOutput (DataObject *output) |
| virtual void | RestoreInputReleaseDataFlags () |
| Protected methods for setting inputs *Subclasses make use of them for setting input *virtual void | SetNthInput (unsigned int num, DataObject *input) |
| Protected methods for setting outputs *Subclasses make use of them for getting output *virtual void | SetNthOutput (unsigned int num, DataObject *output) |
| void | SetNumberOfInputs (unsigned int num) |
| void | SetNumberOfOutputs (unsigned int num) |
| virtual void | SetNumberOfRequiredInputs (unsigned int _arg) |
| virtual void | SetNumberOfRequiredOutputs (unsigned int _arg) |
| ~AutomaticTopologyMeshSource () | |
Protected Attributes | |
| Push Pop an input of this process object These methods allow a *filter to model its input vector as a queue or stack These *routines may not be appropriate for all | filters |
| TimeStamp | m_OutputInformationMTime |
| int | m_ReferenceCount |
| SimpleFastMutexLock | m_ReferenceCountLock |
| bool | m_Updating |
| Methods invoked by virtual 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.*/virtual void PrintSelf(std voi | PrintHeader )(std::ostream &os, Indent indent) const |
Classes | |
| class | IdentifierArrayEqualsFunction |
| class | IdentifierArrayHashFunction |
|
|||||
|
Definition at line 126 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 123 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Reimplemented from itk::MeshSource< TOutputMesh >. Definition at line 118 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 125 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Some convenient typedefs. Reimplemented from itk::ProcessObject. Reimplemented in itk::SpatialObjectToPointSetFilter< TInputSpatialObject, TOutputPointSet >. Definition at line 56 of file itkMeshSource.h. |
|
|
STL Array of SmartPointers to DataObjects Definition at line 103 of file itkProcessObject.h. |
|
|||||
|
Definition at line 134 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Array of IdentifierType objects used to specify cells. Definition at line 141 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
This class requires that the mesh being built use unsigned long as the identifier type for all its elements. Definition at line 138 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 130 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 124 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Hold on to the type information specified by the template parameters. Definition at line 121 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
|||||
|
|||||
|
Reimplemented from itk::MeshSource< TOutputMesh >. Definition at line 117 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
hash_map typedefs. Definition at line 148 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 122 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 132 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Standard "Self" typedef. Reimplemented from itk::MeshSource< TOutputMesh >. Definition at line 115 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Reimplemented from itk::MeshSource< TOutputMesh >. Definition at line 116 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 133 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 131 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Different kinds of cells. Definition at line 129 of file itkAutomaticTopologyMeshSource.h. |
|
|||||||||
|
|
|
|||||||||
|
|
|
|
|
|
|
Turn on and off the AbortGenerateData flag. |
|
||||||||||||||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||||||||||||||
|
|
|
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||
|
|
|
|
|
|
||||||||||||||||||||||||||||||||
|
Add the point with coordinates (x0, ..., xN) where N = PointDimension - 1. If N < 5, then any parameters after xN are ignored. If PointDimension > 6, then a point is generated with the first six coordinates equal to x0, ..., x5, and the rest set to 0. |
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||||||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||
|
|
|
||||||||||
|
Add the quadrilateral specified by the four points, and return its ID. If the points are p0, p1, p2, and p3, then the following additional cells (represented here as ordered tuples) are created (if they don't already exist) and associated as boundaries, in the order given: Vertices: (p0), (p1), (p2), (p3). Lines: (p0, p1), (p2, p3), (p0, p2), (p1, p3). In particular, if the points are arranged geometrically as follows p0 p1
p2 p3
then you would call, for instance, |
|
||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||
|
|
|
||||||||||
|
|
|
||||||||||||||||||||
|
|
|
||||||||||||||||||||
|
|
|
||||||||||||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
|
This method is called when itkExceptionMacro executes. It allows the debugger to break on error. |
|
|
Cache the state of any ReleaseDataFlag's on the inputs. While the filter is executing, we need to set the ReleaseDataFlag's on the inputs to false in case the current filter is implemented using a mini-pipeline (which will try to release the inputs). After the filter finishes, we restore the state of the ReleaseDataFlag's before the call to ReleaseInputs(). |
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
|
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. |
|
|
Turn debugging output off. |
|
|
Turn debugging output on. |
|
|
Delete an itk object. This method should always be used to delete an object when the new operator was used to create it. Using the C delete method will not work with reference counting. |
|
|
||||||||||
|
This method causes the filter to generate its output. Reimplemented from itk::ProcessObject. Definition at line 380 of file itkAutomaticTopologyMeshSource.h. |
|
|||||||||
|
Requested region of Mesh is specified as i of N unstructured regions. Since all DataObjects should be able to set the requested region in unstructured form, just copy output->RequestedRegion all inputs. Reimplemented from itk::ProcessObject. |
|
|
|
Given one output whose requested region has been set, how should the requested regions for the remaining outputs of the process object be set? By default, all the outputs are set to the same requested region. If a filter needs to produce different requested regions for each output, for instance an image processing filter producing several outputs at different resolutions, then that filter may override this method and set the requested regions appropriatedly. Note that a filter producing multiple outputs of different types is required to override this method. The default implementation can only correctly handle multiple outputs of the same type. Reimplemented in itk::MultiResolutionPyramidImageFilter< TInputImage, TOutputImage >, itk::RecursiveMultiResolutionPyramidImageFilter< TInputImage, TOutputImage >, itk::watershed::BoundaryResolver< TPixelType, TDimension >, itk::watershed::EquivalenceRelabeler< TScalarType, TImageDimension >, itk::watershed::Relabeler< TScalarType, TImageDimension >, itk::watershed::Segmenter< TInputImage >, itk::watershed::SegmentTreeGenerator< TScalarType >, itk::watershed::Relabeler< ScalarType, itkGetStaticConstMacro(ImageDimension)>, and itk::watershed::SegmentTreeGenerator< ScalarType >. |
|
|
Get the AbortGenerateData flag for the process object. Process objects may handle premature termination of execution in different ways. |
|
|
Get the command associated with the given tag. NOTE: This returns a pointer to a Command, but it is safe to asign this to a Command::Pointer. Since Command inherits from LightObject, at this point in the code, only a pointer or a reference to the Command can be used. |
|
|
Get the value of the debug flag. |
|
|
|
|
|
|
|
|
|
Return an array with all the inputs of this process object. This is useful for tracing back in the pipeline to construct graphs etc. Definition at line 108 of file itkProcessObject.h. |
|
|
|
|
|
|
|
|
|
Return the multithreader used by this class. Definition at line 281 of file itkProcessObject.h. |
|
|||||||||
|
Run-time type information (and related methods). Reimplemented from itk::MeshSource< TOutputMesh >. |
|
|
Get the size of the input vector. This is merely the size of the input vector, not the number of inputs that have valid DataObject's assigned. Use GetNumberOfValidRequiredInputs() to determine how many inputs are non-null. Definition at line 115 of file itkProcessObject.h. |
|
|
Definition at line 132 of file itkProcessObject.h. |
|
|
|
|
|
|
|
|
|
|
|
Get the number of valid inputs. This is the number of non-null entries in the input vector in the first NumberOfRequiredInputs slots. This method is used to determine whether the necessary required inputs have been set. Subclasses of ProcessObject may override this implementation if the required inputs are not the first slots in input vector. Reimplemented in itk::MultiResolutionPDEDeformableRegistration< TFixedImage, TMovingImage, TDeformationField >, and itk::PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >. |
|
|
|
|
||||||||||
|
Reimplemented from itk::ProcessObject. |
|
||||||||||
|
Reimplemented in itk::ImageToMeshFilter< TInputImage, TOutputMesh >. |
|
|
Definition at line 130 of file itkProcessObject.h. |
|
|
Get the execution progress of a process object. The progress is a floating number in [0,1] with 0 meaning no progress and 1 meaning the filter has completed execution. |
|
|
Gets the reference count on this object. Definition at line 98 of file itkLightObject.h. |
|
|
|
|
|
|
|
|
Definition at line 100 of file itkObject.h. References itk::Object::SetGlobalWarningDisplay(). |
|
|
Definition at line 98 of file itkObject.h. References itk::Object::SetGlobalWarningDisplay(). |
|
||||||||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
|
Return true if an observer is registered for this event. |
|
|
Call Execute on all the Commands observing this event id. The actions triggered by this call doesn't modify this object. |
|
|
Call Execute on all the Commands observing this event id. |
|
||||||||||||||||||||
|
|
|
||||||||||||||||||||
|
|
|
||||||||||||||||||||
|
|
|
||||||||||
|
Make a DataObject of the correct type to used as the specified output. Every ProcessObject subclass must be able to create a DataObject that can be used as a specified output. This method is automatically called when DataObject::DisconnectPipeline() is called. DataObject::DisconnectPipeline, disconnects a data object from being an output of its current source. When the data object is disconnected, the ProcessObject needs to construct a replacement output data object so that the ProcessObject is in a valid state. So DataObject::DisconnectPipeline eventually calls ProcessObject::MakeOutput. Note that MakeOutput always returns a SmartPointer to a DataObject. If a subclass of MeshSource has multiple outputs of different types, then that class must provide an implementation of MakeOutput(). Reimplemented from itk::ProcessObject. Reimplemented in itk::ImageToMeshFilter< TInputImage, TOutputMesh >. |
|
|
|||||||||
|
Method for creation through the object factory. Reimplemented from itk::MeshSource< TOutputMesh >. |
|
|
|
|
An opportunity to deallocate a ProcessObject's bulk data storage. Some filters may wish to reuse existing bulk data storage to avoid unnecessary deallocation/allocation sequences. The default implementation calls Initialize() on each output. DataObject::Initialize() frees its bulk data by default. Reimplemented in itk::WatershedImageFilter< TInputImage >. |
|
||||||||||||
|
Cause the object to print itself out. |
|
||||||||||||
|
|
|
||||||||||||||||
|
||||||||||||
|
|
|
|
Send the requested region information back up the pipeline (to the filters that preceed this one). Reimplemented in itk::VTKImageImport< TOutputImage >. |
|
|
Propagate a call to ResetPipeline() up the pipeline. Called only from DataObject. |
|
|
|
|
Increase the reference count (mark as used by another object). Reimplemented from itk::LightObject. |
|
|
|
|
|
|
|
|
Definition at line 254 of file itkProcessObject.h. |
|
|
Definition at line 253 of file itkProcessObject.h. |
|
|
|
Remove all observers . |
|
|
|
|
|
Remove the observer with this tag value. |
|
|
|
|
|
Reset the pipeline. If an exception is thrown during an Update(), the pipeline may be in an inconsistent state. This method clears the internal state of the pipeline so Update() can be called. |
|
|
Restore the cached input ReleaseDataFlags. |
|
|
Set the AbortGenerateData flag for the process object. Process objects may handle premature termination of execution in different ways. |
|
|
Set the value of the debug flag. A non-zero value turns debugging on. |
|
|
Referenced by itk::Object::GlobalWarningDisplayOff(), and itk::Object::GlobalWarningDisplayOn(). |
|
|
|
|
||||||||||||
|
||||||||||||
|
|
Called to allocate the input array. Copies old inputs. |
|
|
Called to allocate the output array. Copies old outputs. |
|
|
|
|
|
|
|
|
|
|
||||||||||
|
Set the mesh output of this process object. This call is slated to be removed from ITK. You should GraftOutput() and possible DataObject::DisconnectPipeline() to properly change the output. |
|
|
Set the execution progress of a process object. The progress is a floating number in [0,1] with 0 meaning no progress and 1 meaning the filter has completed execution. The ProgressEvent is NOT invoked. |
|
|
Sets the reference count (use with care) Reimplemented from itk::LightObject. |
|
|
|
|
|
Decrease the reference count (release by another object). Reimplemented from itk::LightObject. |
|
|||||||||
|
Bring this filter up-to-date. Update() checks modified times against last execution times, and re-executes objects if necessary. A side effect of this method is that the whole pipeline may execute in order to bring this filter up-to-date. This method updates the currently prescribed requested region. If no requested region has been set on the output, then the requested region will be set to the largest possible region. Once the requested region is set, Update() will make sure the specified requested region is up-to-date. This is a confusing side effect to users who are just calling Update() on a filter. A first call to Update() will cause the largest possible region to be updated. A second call to Update() will update that same region. If a modification to the upstream pipeline cause a filter to have a different largest possible region, this second call to Update() will not cause the output requested region to be reset to the new largest possible region. Instead, the output requested region will be the same as the last time Update() was called. To have a filter always to produce its largest possible region, users should call UpdateLargestPossibleRegion() instead. Reimplemented from itk::ProcessObject. |
|
|
Like Update(), but sets the output requested region to the largest possible region for the output. This is the method users should call if they want the entire dataset to be processed. If a user wants to update the same output region as a previous call to Update() or a previous call to UpdateLargestPossibleRegion(), then they should call the method Update(). |
|
|
Actually generate new output Reimplemented in itk::StreamingImageFilter< TInputImage, TOutputImage >. |
|
|
Update the information decribing the output data. This method transverses up the pipeline gathering modified time information. On the way back down the pipeline, this method calls GenerateOutputInformation() to set any necessary information about the output data objects. For instance, a filter that shrinks an image will need to provide an implementation for GenerateOutputInformation() that changes the spacing of the pixels. Such filters should call their superclass' implementation of GenerateOutputInformation prior to changing the information values they need (i.e. GenerateOutputInformation() should call Superclass::GenerateOutputInformation() prior to changing the information. Reimplemented in itk::watershed::Segmenter< TInputImage >, and itk::VTKImageImport< TOutputImage >. |
|
|
Update the progress of the process object. Sets the Progress ivar to amount and invokes any observers for the ProgressEvent. The parameter amount should be in [0,1] and is the cumulative (not incremental) progress. |
|
|
|
|
|||||
|
Definition at line 278 of file itkAutomaticTopologyMeshSource.h. |
|
|
Definition at line 94 of file itkObject.h. |
|
|||||
|
Definition at line 100 of file itkMeshSource.h. |
|
|
|||||
|
Definition at line 278 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 254 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 202 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 79 of file itkMeshSource.h. |
|
|||||
|
Definition at line 79 of file itkMeshSource.h. |
|
|||||
|
Definition at line 278 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 278 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 254 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 202 of file itkAutomaticTopologyMeshSource.h. |
|
|
Time when GenerateOutputInformation was last called. Definition at line 428 of file itkProcessObject.h. |
|
|
Number of uses of this object by other objects. Definition at line 119 of file itkLightObject.h. |
|
|
Mutex lock to protect modification to the reference count Definition at line 122 of file itkLightObject.h. |
|
|
This flag indicates when the pipeline is executing. It prevents infinite recursion when pipelines have loops. Definition at line 425 of file itkProcessObject.h. |
|
|||||
|
Definition at line 278 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 278 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 272 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 254 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 254 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 254 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 254 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 248 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 196 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 278 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 278 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 278 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 278 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 272 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 254 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 254 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 254 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 254 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 254 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 254 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 254 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 248 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 202 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 202 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 202 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 196 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 278 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 278 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 278 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 278 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 272 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 254 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 254 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 254 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 254 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 254 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 254 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 254 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 248 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 202 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 202 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 196 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 278 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 278 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 278 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 278 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 272 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 254 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 254 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 254 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 254 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 278 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 278 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 278 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 278 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 278 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 278 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 278 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 278 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 278 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 278 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 278 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 278 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 278 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 278 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 278 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 177 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 272 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 248 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 196 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 184 of file itkAutomaticTopologyMeshSource.h. |
|
|
|
|
|||||
|
Definition at line 278 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 161 of file itkAutomaticTopologyMeshSource.h. |
|
|||||
|
Definition at line 254 of file itkAutomaticTopologyMeshSource.h. |
1.4.2 written by Dimitri van Heesch,
© 1997-2000