ITK  6.0.0
Insight Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh > Class Template Reference

#include <itkTriangleMeshToSimplexMeshFilter.h>

Detailed Description

template<typename TInputMesh, typename TOutputMesh>
class itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >

This filter converts a triangle mesh into a 2-simplex mesh.

The triangle cell centers build the points of the dual simplex mesh each center is connected with the center of each neighboring triangle. This creates the simplex structure.

Finally the neighbors of the points are reordered counter-clockwise for geometry computation.

Author
Thomas Boettger. Division Medical and Biological Informatics, German Cancer Research Center, Heidelberg.
Examples
SphinxExamples/src/Core/Mesh/CalculateAreaAndVolumeOfSimplexMesh/Code.cxx.

Definition at line 45 of file itkTriangleMeshToSimplexMeshFilter.h.

+ Inheritance diagram for itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >:
+ Collaboration diagram for itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >:

Public Types

using CellAutoPointer = typename TInputMesh::CellAutoPointer
 
using CellFeatureIdentifier = typename TOutputMesh::CellFeatureIdentifier
 
using CellIdentifier = typename TOutputMesh::CellIdentifier
 
using ConstPointer = SmartPointer< const Self >
 
using EdgeIdentifierType = std::pair< CellIdentifier, CellIdentifier >
 
using EdgeMapPointer = typename EdgeMapType::Pointer
 
using EdgeMapType = itk::MapContainer< EdgeIdentifierType, CellIdentifier >
 
using EdgeNeighborListType = itk::MapContainer< CellIdentifier, EdgeIdentifierType >
 
using IdVectorPointer = typename IdVectorType::Pointer
 
using IdVectorType = itk::VectorContainer< CellIdentifier, CellIdentifier >
 
using IndexSetType = std::set< CellIdentifier >
 
using InputBoundaryAssignmentsContainerPointer = typename TInputMesh::BoundaryAssignmentsContainerPointer
 
using InputBoundnaryAssignmentIdentifier = typename TInputMesh::BoundaryAssignmentIdentifier
 
using InputCellAutoPointer = typename InputCellType::CellAutoPointer
 
using InputCellType = typename TInputMesh::CellType
 
using InputMeshPointer = typename TInputMesh::Pointer
 
using InputMeshType = TInputMesh
 
using InputPointsContainer = typename TInputMesh::PointsContainer
 
using InputPointsContainerConstIterator = typename InputPointsContainer::ConstIterator
 
using InputPointsContainerIterator = typename InputPointsContainer::Iterator
 
using InputPointsContainerPointer = typename InputPointsContainer::Pointer
 
using InputPointType = typename TInputMesh::PointType
 
using LineCellIndexType = itk::MapContainer< EdgeIdentifierType, CellIdentifier >
 
using LineType = itk::LineCell< InputCellType >
 
using OutputCellAutoPointer = typename TOutputMesh::CellAutoPointer
 
using OutputCellType = typename TOutputMesh::CellType
 
using OutputLineType = itk::LineCell< OutputCellType >
 
using OutputMeshPointer = typename TOutputMesh::Pointer
 
using OutputPixelType = typename TOutputMesh::PixelType
 
using OutputPointsContainer = typename TOutputMesh::PointsContainer
 
using OutputPointsContainerIterator = typename TOutputMesh::PointsContainer::Iterator
 
using OutputPointsContainerPointer = typename OutputPointsContainer::Pointer
 
using OutputPointType = typename TOutputMesh::PointType
 
using OutputPolygonType = itk::PolygonCell< OutputCellType >
 
using Pointer = SmartPointer< Self >
 
using PointIdentifier = typename TOutputMesh::PointIdentifier
 
using PolygonType = itk::PolygonCell< InputCellType >
 
using Self = TriangleMeshToSimplexMeshFilter
 
using Superclass = MeshToMeshFilter< TInputMesh, TOutputMesh >
 
using TriangleType = itk::TriangleCell< InputCellType >
 
using VertexNeighborListType = itk::MapContainer< PointIdentifier, IndexSetType >
 
using VertexType = itk::VertexCell< InputCellType >
 
- Public Types inherited from itk::MeshToMeshFilter< TInputMesh, TOutputMesh >
using ConstPointer = SmartPointer< const Self >
 
using InputMeshPointer = typename InputMeshType::Pointer
 
using InputMeshType = TInputMesh
 
using OutputMeshPointer = typename OutputMeshType::Pointer
 
using OutputMeshType = TOutputMesh
 
using Pointer = SmartPointer< Self >
 
using Self = MeshToMeshFilter
 
using Superclass = MeshSource< TOutputMesh >
 
- Public Types inherited from itk::MeshSource< TOutputMesh >
using ConstPointer = SmartPointer< const Self >
 
using DataObjectIdentifierType = Superclass::DataObjectIdentifierType
 
using DataObjectPointer = DataObject::Pointer
 
using OutputMeshPointer = typename OutputMeshType::Pointer
 
using OutputMeshType = TOutputMesh
 
using Pointer = SmartPointer< Self >
 
using Self = MeshSource
 
using Superclass = ProcessObject
 
using DataObjectPointerArraySizeType = ProcessObject::DataObjectPointerArraySizeType
 
- Public Types inherited from itk::ProcessObject
using ConstPointer = SmartPointer< const Self >
 
using DataObjectIdentifierType = DataObject::DataObjectIdentifierType
 
using DataObjectPointer = DataObject::Pointer
 
using DataObjectPointerArray = std::vector< DataObjectPointer >
 
using DataObjectPointerArraySizeType = DataObjectPointerArray::size_type
 
using MultiThreaderType = MultiThreaderBase
 
using NameArray = std::vector< DataObjectIdentifierType >
 
using Pointer = SmartPointer< Self >
 
using Self = ProcessObject
 
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

const char * GetNameOfClass () const override
 
- Public Member Functions inherited from itk::MeshToMeshFilter< TInputMesh, TOutputMesh >
const InputMeshTypeGetInput () const
 
const InputMeshTypeGetInput (unsigned int idx) const
 
void SetInput (const InputMeshType *input)
 
- Public Member Functions inherited from itk::MeshSource< TOutputMesh >
OutputMeshTypeGetOutput ()
 
OutputMeshTypeGetOutput (unsigned int idx)
 
virtual void GraftNthOutput (unsigned int idx, DataObject *graft)
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *graft)
 
virtual void GraftOutput (DataObject *graft)
 
void SetOutput (TOutputMesh *output)
 
DataObjectPointer MakeOutput (DataObjectPointerArraySizeType idx) override
 
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOn ()
 
virtual void EnlargeOutputRequestedRegion (DataObject *)
 
virtual const bool & GetAbortGenerateData () const
 
DataObjectPointerArray GetIndexedInputs ()
 
DataObjectPointerArray GetIndexedOutputs ()
 
NameArray GetInputNames () const
 
DataObjectPointerArray GetInputs ()
 
MultiThreaderTypeGetMultiThreader () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
 
DataObjectPointerArraySizeType GetNumberOfInputs () const
 
DataObjectPointerArraySizeType GetNumberOfOutputs () const
 
virtual DataObjectPointerArraySizeType GetNumberOfValidRequiredInputs () const
 
NameArray GetOutputNames () const
 
DataObjectPointerArray GetOutputs ()
 
virtual float GetProgress () const
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
void IncrementProgress (float increment)
 
virtual DataObjectPointer MakeOutput (const DataObjectIdentifierType &)
 
virtual void PrepareOutputs ()
 
virtual void PropagateRequestedRegion (DataObject *output)
 
virtual void ResetPipeline ()
 
virtual void SetAbortGenerateData (bool _arg)
 
void SetMultiThreader (MultiThreaderType *threader)
 
virtual void Update ()
 
virtual void UpdateLargestPossibleRegion ()
 
virtual void UpdateOutputData (DataObject *output)
 
virtual void UpdateOutputInformation ()
 
void UpdateProgress (float progress)
 
virtual void SetReleaseDataFlag (bool val)
 
virtual bool GetReleaseDataFlag () const
 
void ReleaseDataFlagOn ()
 
void ReleaseDataFlagOff ()
 
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
 
virtual const bool & GetReleaseDataBeforeUpdateFlag () const
 
virtual void ReleaseDataBeforeUpdateFlagOn ()
 
virtual void SetNumberOfWorkUnits (ThreadIdType _arg)
 
virtual const ThreadIdTypeGetNumberOfWorkUnits () const
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *cmd) const
 
unsigned long AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const
 
LightObject::Pointer CreateAnother () const override
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () 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) const
 
void SetDebug (bool debugFlag) const
 
void SetReferenceCount (int) override
 
void UnRegister () const noexcept override
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
void SetMetaDataDictionary (MetaDataDictionary &&rrhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
Pointer Clone () const
 
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::MeshToMeshFilter< TInputMesh, TOutputMesh >
static Pointer New ()
 
- Static Public Member Functions inherited from itk::MeshSource< TOutputMesh >
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 val)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Protected Member Functions

InputPointType ComputeFaceCenter (CellIdentifier faceId, const InputMeshType *inputMesh)
 
void CreateCells ()
 
void CreateEdgeForTrianglePair (CellIdentifier pointIndex, CellIdentifier boundaryId, TOutputMesh *outputMesh)
 
void CreateNewEdge (CellIdentifier currentCellId, CellFeatureIdentifier featureId, PointIdentifier startPointId, PointIdentifier endPointId, const InputMeshType *input)
 
void CreateSimplexNeighbors ()
 
void CreateSimplexPoints ()
 
void GenerateData () override
 
void Initialize ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 TriangleMeshToSimplexMeshFilter ()
 
 ~TriangleMeshToSimplexMeshFilter () override
 
- Protected Member Functions inherited from itk::MeshToMeshFilter< TInputMesh, TOutputMesh >
void CopyInputMeshToOutputMeshCellData ()
 
void CopyInputMeshToOutputMeshCellLinks ()
 
void CopyInputMeshToOutputMeshCells ()
 
void CopyInputMeshToOutputMeshPointData ()
 
void CopyInputMeshToOutputMeshPoints ()
 
 MeshToMeshFilter ()
 
 ~MeshToMeshFilter () override=default
 
- Protected Member Functions inherited from itk::MeshSource< TOutputMesh >
void GenerateInputRequestedRegion () override
 
 MeshSource ()
 
 ~MeshSource () override=default
 
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
 
void AddOptionalInputName (const DataObjectIdentifierType &)
 
void AddOptionalInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
virtual void AddOutput (DataObject *output)
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void GenerateOutputInformation ()
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
const DataObjectGetInput (const DataObjectIdentifierType &key) const
 
virtual const DataObjectPointerArraySizeTypeGetNumberOfRequiredInputs () const
 
virtual const DataObjectPointerArraySizeTypeGetNumberOfRequiredOutputs () const
 
bool IsIndexedInputName (const DataObjectIdentifierType &) const
 
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
 
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 
DataObjectPointerArraySizeType MakeIndexFromInputName (const DataObjectIdentifierType &name) const
 
DataObjectPointerArraySizeType MakeIndexFromOutputName (const DataObjectIdentifierType &name) const
 
DataObjectIdentifierType MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectIdentifierType MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const
 
virtual void PopBackInput ()
 
virtual void PopFrontInput ()
 
 ProcessObject ()
 
virtual void PropagateResetPipeline ()
 
virtual void PushBackInput (const DataObject *input)
 
virtual void PushFrontInput (const DataObject *input)
 
virtual void ReleaseInputs ()
 
virtual void RemoveInput (const DataObjectIdentifierType &key)
 
virtual void RemoveInput (DataObjectPointerArraySizeType)
 
virtual void RemoveOutput (const DataObjectIdentifierType &key)
 
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
 
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
 
virtual void RestoreInputReleaseDataFlags ()
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetNthInput (DataObjectPointerArraySizeType idx, DataObject *input)
 
virtual void SetNthOutput (DataObjectPointerArraySizeType idx, DataObject *output)
 
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
 
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual void SetOutput (const DataObjectIdentifierType &name, DataObject *output)
 
virtual void SetPrimaryInput (DataObject *object)
 
virtual void SetPrimaryOutput (DataObject *object)
 
void SetRequiredInputNames (const NameArray &)
 
virtual void VerifyInputInformation () const
 
virtual void VerifyPreconditions () const
 
 ~ProcessObject () override
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryInputName () const
 
DataObjectGetOutput (const DataObjectIdentifierType &key)
 
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryOutputName () const
 
DataObjectGetOutput (DataObjectPointerArraySizeType i)
 
const DataObjectGetOutput (DataObjectPointerArraySizeType i) const
 
DataObjectGetPrimaryOutput ()
 
const DataObjectGetPrimaryOutput () const
 
virtual bool GetThreaderUpdateProgress () const
 
virtual void ThreaderUpdateProgressOn ()
 
virtual void SetThreaderUpdateProgress (bool arg)
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &timeStamp)
 
 ~Object () override
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Protected Attributes

CellIdentifier m_CellIdxOffset {}
 
CellIdentifier m_EdgeCellId {}
 
EdgeNeighborListType::Pointer m_EdgeNeighborList {}
 
EdgeMapPointer m_Edges {}
 
IndexSetTypem_FaceSet {}
 
IdVectorPointer m_HandledEdgeIds {}
 
PointIdentifier m_IdOffset {}
 
LineCellIndexType::Pointer m_LineCellIndices {}
 
InputCellAutoPointer m_NewInputMeshCellPointer {}
 
OutputCellAutoPointer m_NewSimplexCellPointer {}
 
VertexNeighborListType::Pointer m_VertexNeighborList {}
 
- Protected Attributes inherited from itk::ProcessObject
TimeStamp m_OutputInformationMTime {}
 
bool m_Updating {}
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount {}
 

Additional Inherited Members

- Static Protected Member Functions inherited from itk::ProcessObject
template<typename TSourceObject >
static void MakeRequiredOutputs (TSourceObject &sourceObject, const DataObjectPointerArraySizeType numberOfRequiredOutputs)
 
static constexpr float progressFixedToFloat (uint32_t fixed)
 
static uint32_t progressFloatToFixed (float f)
 

Member Typedef Documentation

◆ CellAutoPointer

template<typename TInputMesh , typename TOutputMesh >
using itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::CellAutoPointer = typename TInputMesh::CellAutoPointer

Definition at line 88 of file itkTriangleMeshToSimplexMeshFilter.h.

◆ CellFeatureIdentifier

template<typename TInputMesh , typename TOutputMesh >
using itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::CellFeatureIdentifier = typename TOutputMesh::CellFeatureIdentifier

Definition at line 96 of file itkTriangleMeshToSimplexMeshFilter.h.

◆ CellIdentifier

template<typename TInputMesh , typename TOutputMesh >
using itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::CellIdentifier = typename TOutputMesh::CellIdentifier

Definition at line 94 of file itkTriangleMeshToSimplexMeshFilter.h.

◆ ConstPointer

template<typename TInputMesh , typename TOutputMesh >
using itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::ConstPointer = SmartPointer<const Self>

Definition at line 58 of file itkTriangleMeshToSimplexMeshFilter.h.

◆ EdgeIdentifierType

template<typename TInputMesh , typename TOutputMesh >
using itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::EdgeIdentifierType = std::pair<CellIdentifier, CellIdentifier>

Definition at line 98 of file itkTriangleMeshToSimplexMeshFilter.h.

◆ EdgeMapPointer

template<typename TInputMesh , typename TOutputMesh >
using itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::EdgeMapPointer = typename EdgeMapType::Pointer

Definition at line 106 of file itkTriangleMeshToSimplexMeshFilter.h.

◆ EdgeMapType

template<typename TInputMesh , typename TOutputMesh >
using itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::EdgeMapType = itk::MapContainer<EdgeIdentifierType, CellIdentifier>

Definition at line 105 of file itkTriangleMeshToSimplexMeshFilter.h.

◆ EdgeNeighborListType

template<typename TInputMesh , typename TOutputMesh >
using itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::EdgeNeighborListType = itk::MapContainer<CellIdentifier, EdgeIdentifierType>

Definition at line 101 of file itkTriangleMeshToSimplexMeshFilter.h.

◆ IdVectorPointer

template<typename TInputMesh , typename TOutputMesh >
using itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::IdVectorPointer = typename IdVectorType::Pointer

Definition at line 109 of file itkTriangleMeshToSimplexMeshFilter.h.

◆ IdVectorType

template<typename TInputMesh , typename TOutputMesh >
using itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::IdVectorType = itk::VectorContainer<CellIdentifier, CellIdentifier>

Definition at line 108 of file itkTriangleMeshToSimplexMeshFilter.h.

◆ IndexSetType

template<typename TInputMesh , typename TOutputMesh >
using itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::IndexSetType = std::set<CellIdentifier>

Definition at line 99 of file itkTriangleMeshToSimplexMeshFilter.h.

◆ InputBoundaryAssignmentsContainerPointer

template<typename TInputMesh , typename TOutputMesh >
using itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::InputBoundaryAssignmentsContainerPointer = typename TInputMesh::BoundaryAssignmentsContainerPointer

Definition at line 70 of file itkTriangleMeshToSimplexMeshFilter.h.

◆ InputBoundnaryAssignmentIdentifier

template<typename TInputMesh , typename TOutputMesh >
using itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::InputBoundnaryAssignmentIdentifier = typename TInputMesh::BoundaryAssignmentIdentifier

Definition at line 84 of file itkTriangleMeshToSimplexMeshFilter.h.

◆ InputCellAutoPointer

template<typename TInputMesh , typename TOutputMesh >
using itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::InputCellAutoPointer = typename InputCellType::CellAutoPointer

Definition at line 87 of file itkTriangleMeshToSimplexMeshFilter.h.

◆ InputCellType

template<typename TInputMesh , typename TOutputMesh >
using itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::InputCellType = typename TInputMesh::CellType

Definition at line 86 of file itkTriangleMeshToSimplexMeshFilter.h.

◆ InputMeshPointer

template<typename TInputMesh , typename TOutputMesh >
using itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::InputMeshPointer = typename TInputMesh::Pointer

Definition at line 67 of file itkTriangleMeshToSimplexMeshFilter.h.

◆ InputMeshType

template<typename TInputMesh , typename TOutputMesh >
using itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::InputMeshType = TInputMesh

Definition at line 66 of file itkTriangleMeshToSimplexMeshFilter.h.

◆ InputPointsContainer

template<typename TInputMesh , typename TOutputMesh >
using itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::InputPointsContainer = typename TInputMesh::PointsContainer

Definition at line 72 of file itkTriangleMeshToSimplexMeshFilter.h.

◆ InputPointsContainerConstIterator

template<typename TInputMesh , typename TOutputMesh >
using itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::InputPointsContainerConstIterator = typename InputPointsContainer::ConstIterator

Definition at line 75 of file itkTriangleMeshToSimplexMeshFilter.h.

◆ InputPointsContainerIterator

template<typename TInputMesh , typename TOutputMesh >
using itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::InputPointsContainerIterator = typename InputPointsContainer::Iterator

Definition at line 74 of file itkTriangleMeshToSimplexMeshFilter.h.

◆ InputPointsContainerPointer

template<typename TInputMesh , typename TOutputMesh >
using itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::InputPointsContainerPointer = typename InputPointsContainer::Pointer

Definition at line 73 of file itkTriangleMeshToSimplexMeshFilter.h.

◆ InputPointType

template<typename TInputMesh , typename TOutputMesh >
using itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::InputPointType = typename TInputMesh::PointType

Definition at line 68 of file itkTriangleMeshToSimplexMeshFilter.h.

◆ LineCellIndexType

template<typename TInputMesh , typename TOutputMesh >
using itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::LineCellIndexType = itk::MapContainer<EdgeIdentifierType, CellIdentifier>

Definition at line 102 of file itkTriangleMeshToSimplexMeshFilter.h.

◆ LineType

template<typename TInputMesh , typename TOutputMesh >
using itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::LineType = itk::LineCell<InputCellType>

Definition at line 89 of file itkTriangleMeshToSimplexMeshFilter.h.

◆ OutputCellAutoPointer

template<typename TInputMesh , typename TOutputMesh >
using itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::OutputCellAutoPointer = typename TOutputMesh::CellAutoPointer

Definition at line 112 of file itkTriangleMeshToSimplexMeshFilter.h.

◆ OutputCellType

template<typename TInputMesh , typename TOutputMesh >
using itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::OutputCellType = typename TOutputMesh::CellType

Definition at line 111 of file itkTriangleMeshToSimplexMeshFilter.h.

◆ OutputLineType

template<typename TInputMesh , typename TOutputMesh >
using itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::OutputLineType = itk::LineCell<OutputCellType>

Definition at line 113 of file itkTriangleMeshToSimplexMeshFilter.h.

◆ OutputMeshPointer

template<typename TInputMesh , typename TOutputMesh >
using itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::OutputMeshPointer = typename TOutputMesh::Pointer

Definition at line 77 of file itkTriangleMeshToSimplexMeshFilter.h.

◆ OutputPixelType

template<typename TInputMesh , typename TOutputMesh >
using itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::OutputPixelType = typename TOutputMesh::PixelType

Definition at line 79 of file itkTriangleMeshToSimplexMeshFilter.h.

◆ OutputPointsContainer

template<typename TInputMesh , typename TOutputMesh >
using itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::OutputPointsContainer = typename TOutputMesh::PointsContainer

Definition at line 80 of file itkTriangleMeshToSimplexMeshFilter.h.

◆ OutputPointsContainerIterator

template<typename TInputMesh , typename TOutputMesh >
using itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::OutputPointsContainerIterator = typename TOutputMesh::PointsContainer::Iterator

Definition at line 82 of file itkTriangleMeshToSimplexMeshFilter.h.

◆ OutputPointsContainerPointer

template<typename TInputMesh , typename TOutputMesh >
using itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::OutputPointsContainerPointer = typename OutputPointsContainer::Pointer

Definition at line 81 of file itkTriangleMeshToSimplexMeshFilter.h.

◆ OutputPointType

template<typename TInputMesh , typename TOutputMesh >
using itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::OutputPointType = typename TOutputMesh::PointType

Definition at line 78 of file itkTriangleMeshToSimplexMeshFilter.h.

◆ OutputPolygonType

template<typename TInputMesh , typename TOutputMesh >
using itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::OutputPolygonType = itk::PolygonCell<OutputCellType>

Definition at line 114 of file itkTriangleMeshToSimplexMeshFilter.h.

◆ Pointer

template<typename TInputMesh , typename TOutputMesh >
using itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::Pointer = SmartPointer<Self>

Smart pointer type alias support

Definition at line 57 of file itkTriangleMeshToSimplexMeshFilter.h.

◆ PointIdentifier

template<typename TInputMesh , typename TOutputMesh >
using itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::PointIdentifier = typename TOutputMesh::PointIdentifier

Definition at line 95 of file itkTriangleMeshToSimplexMeshFilter.h.

◆ PolygonType

template<typename TInputMesh , typename TOutputMesh >
using itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::PolygonType = itk::PolygonCell<InputCellType>

Definition at line 90 of file itkTriangleMeshToSimplexMeshFilter.h.

◆ Self

template<typename TInputMesh , typename TOutputMesh >
using itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::Self = TriangleMeshToSimplexMeshFilter

Standard "Self" type alias.

Definition at line 51 of file itkTriangleMeshToSimplexMeshFilter.h.

◆ Superclass

template<typename TInputMesh , typename TOutputMesh >
using itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::Superclass = MeshToMeshFilter<TInputMesh, TOutputMesh>

Standard "Superclass" type alias.

Definition at line 54 of file itkTriangleMeshToSimplexMeshFilter.h.

◆ TriangleType

template<typename TInputMesh , typename TOutputMesh >
using itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::TriangleType = itk::TriangleCell<InputCellType>

Definition at line 91 of file itkTriangleMeshToSimplexMeshFilter.h.

◆ VertexNeighborListType

template<typename TInputMesh , typename TOutputMesh >
using itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::VertexNeighborListType = itk::MapContainer<PointIdentifier, IndexSetType>

Definition at line 104 of file itkTriangleMeshToSimplexMeshFilter.h.

◆ VertexType

template<typename TInputMesh , typename TOutputMesh >
using itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::VertexType = itk::VertexCell<InputCellType>

Definition at line 92 of file itkTriangleMeshToSimplexMeshFilter.h.

Constructor & Destructor Documentation

◆ TriangleMeshToSimplexMeshFilter()

template<typename TInputMesh , typename TOutputMesh >
itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::TriangleMeshToSimplexMeshFilter ( )
protected

◆ ~TriangleMeshToSimplexMeshFilter()

template<typename TInputMesh , typename TOutputMesh >
itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::~TriangleMeshToSimplexMeshFilter ( )
overrideprotected

Member Function Documentation

◆ ComputeFaceCenter()

template<typename TInputMesh , typename TOutputMesh >
InputPointType itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::ComputeFaceCenter ( CellIdentifier  faceId,
const InputMeshType inputMesh 
)
protected

Computes the center of a face

◆ CreateCells()

template<typename TInputMesh , typename TOutputMesh >
void itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::CreateCells ( )
protected

This method creates all the cells of the dual simplex mesh

◆ CreateEdgeForTrianglePair()

template<typename TInputMesh , typename TOutputMesh >
void itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::CreateEdgeForTrianglePair ( CellIdentifier  pointIndex,
CellIdentifier  boundaryId,
TOutputMesh *  outputMesh 
)
protected

Method creates a new edge, which from the centers of two neighboring triangles of the input mesh over the edge the both triangles have in common.

◆ CreateNewEdge()

template<typename TInputMesh , typename TOutputMesh >
void itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::CreateNewEdge ( CellIdentifier  currentCellId,
CellFeatureIdentifier  featureId,
PointIdentifier  startPointId,
PointIdentifier  endPointId,
const InputMeshType input 
)
protected

add edge cells to the input mesh

◆ CreateSimplexNeighbors()

template<typename TInputMesh , typename TOutputMesh >
void itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::CreateSimplexNeighbors ( )
protected

Constructs the neighborhood relations for all simplex mesh points It also reorders the neighbors for easy normals computation

◆ CreateSimplexPoints()

template<typename TInputMesh , typename TOutputMesh >
void itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::CreateSimplexPoints ( )
protected

Method inserts the new computed simplex points into the output mesh

◆ GenerateData()

template<typename TInputMesh , typename TOutputMesh >
void itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::GenerateData ( )
overrideprotectedvirtual

Override from ProcessObject

Reimplemented from itk::ProcessObject.

◆ GetNameOfClass()

template<typename TInputMesh , typename TOutputMesh >
const char* itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::GetNameOfClass ( ) const
overridevirtual

◆ Initialize()

template<typename TInputMesh , typename TOutputMesh >
void itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::Initialize ( )
protected

Initializes all necessary datastructures

◆ New()

template<typename TInputMesh , typename TOutputMesh >
static Pointer itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::New ( )
static

Method of creation through the object factory.

◆ PrintSelf()

template<typename TInputMesh , typename TOutputMesh >
void itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::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::MeshSource< TOutputMesh >.

Member Data Documentation

◆ m_CellIdxOffset

template<typename TInputMesh , typename TOutputMesh >
CellIdentifier itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::m_CellIdxOffset {}
protected

offset for ids of new simplex polygon cells

Definition at line 210 of file itkTriangleMeshToSimplexMeshFilter.h.

◆ m_EdgeCellId

template<typename TInputMesh , typename TOutputMesh >
CellIdentifier itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::m_EdgeCellId {}
protected

offset for edge cell ids

Definition at line 220 of file itkTriangleMeshToSimplexMeshFilter.h.

◆ m_EdgeNeighborList

template<typename TInputMesh , typename TOutputMesh >
EdgeNeighborListType::Pointer itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::m_EdgeNeighborList {}
protected

stores the two neighboring cells (faces) of an edge

Definition at line 195 of file itkTriangleMeshToSimplexMeshFilter.h.

◆ m_Edges

template<typename TInputMesh , typename TOutputMesh >
EdgeMapPointer itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::m_Edges {}
protected

stores all edges of the input mesh.

the key is the index of the edge cell, and the element is the index pair of the two points of the edge.

Definition at line 190 of file itkTriangleMeshToSimplexMeshFilter.h.

◆ m_FaceSet

template<typename TInputMesh , typename TOutputMesh >
IndexSetType* itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::m_FaceSet {}
protected

stores all faces (triangles) of the input mesh

Definition at line 182 of file itkTriangleMeshToSimplexMeshFilter.h.

◆ m_HandledEdgeIds

template<typename TInputMesh , typename TOutputMesh >
IdVectorPointer itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::m_HandledEdgeIds {}
protected

stores algorithmic data

Definition at line 225 of file itkTriangleMeshToSimplexMeshFilter.h.

◆ m_IdOffset

template<typename TInputMesh , typename TOutputMesh >
PointIdentifier itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::m_IdOffset {}
protected

offset for point ids

Definition at line 215 of file itkTriangleMeshToSimplexMeshFilter.h.

◆ m_LineCellIndices

template<typename TInputMesh , typename TOutputMesh >
LineCellIndexType::Pointer itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::m_LineCellIndices {}
protected

stores line indices for conversion algorithm

Definition at line 205 of file itkTriangleMeshToSimplexMeshFilter.h.

◆ m_NewInputMeshCellPointer

template<typename TInputMesh , typename TOutputMesh >
InputCellAutoPointer itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::m_NewInputMeshCellPointer {}
protected

autopointer definition for creation of new cells in the input mesh

Definition at line 230 of file itkTriangleMeshToSimplexMeshFilter.h.

◆ m_NewSimplexCellPointer

template<typename TInputMesh , typename TOutputMesh >
OutputCellAutoPointer itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::m_NewSimplexCellPointer {}
protected

autopointer definition for creation of new simplex cells

Definition at line 235 of file itkTriangleMeshToSimplexMeshFilter.h.

◆ m_VertexNeighborList

template<typename TInputMesh , typename TOutputMesh >
VertexNeighborListType::Pointer itk::TriangleMeshToSimplexMeshFilter< TInputMesh, TOutputMesh >::m_VertexNeighborList {}
protected

stores all edges starting from a vertex

Definition at line 200 of file itkTriangleMeshToSimplexMeshFilter.h.


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