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

#include <itkNormalQuadEdgeMeshFilter.h>

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

Public Types

using ConstPointer = SmartPointer< const Self >
 
using InputMeshPointer = typename InputMeshType::Pointer
 
using InputMeshType = TInputMesh
 
using InputPointIdentifier = typename InputMeshType::PointIdentifier
 
using InputPointType = typename InputMeshType::PointType
 
using InputQEType = typename InputMeshType::QEType
 
using InputVectorType = typename InputMeshType::VectorType
 
using OutputCellAutoPointer = typename OutputMeshType::CellAutoPointer
 
using OutputCellDataContainer = typename OutputMeshType::CellDataContainer
 
using OutputCellIdentifier = typename OutputMeshType::CellIdentifier
 
using OutputCellsContainerConstIterator = typename OutputMeshType::CellsContainerConstIterator
 
using OutputCellsContainerPointer = typename OutputMeshType::CellsContainerConstIterator
 
using OutputCellType = typename OutputMeshType::CellType
 
using OutputFaceNormalComponentType = typename OutputFaceNormalType::ValueType
 
using OutputFaceNormalType = typename OutputMeshTraits::CellPixelType
 
using OutputMeshPointer = typename OutputMeshType::Pointer
 
using OutputMeshTraits = typename OutputMeshType::MeshTraits
 
using OutputMeshType = TOutputMesh
 
using OutputPointDataContainer = typename OutputMeshType::PointDataContainer
 
using OutputPointIdentifier = typename OutputMeshType::PointIdentifier
 
using OutputPointIdIterator = typename OutputMeshType::PointIdIterator
 
using OutputPointsContainerIterator = typename OutputMeshType::PointsContainerIterator
 
using OutputPointsContainerPointer = typename OutputMeshType::PointsContainerPointer
 
using OutputPointType = typename OutputMeshType::PointType
 
using OutputPolygonAutoPointer = typename OutputPolygonType::SelfAutoPointer
 
using OutputPolygonType = QuadEdgeMeshPolygonCell< OutputCellType >
 
using OutputQEType = typename OutputMeshType::QEType
 
using OutputVectorType = typename OutputPointType::VectorType
 
using OutputVertexNormalComponentType = typename OutputVertexNormalType::ValueType
 
using OutputVertexNormalType = typename OutputMeshTraits::PixelType
 
using Pointer = SmartPointer< Self >
 
using Self = NormalQuadEdgeMeshFilter
 
using Superclass = QuadEdgeMeshToQuadEdgeMeshFilter< TInputMesh, TOutputMesh >
 
using TriangleType = TriangleHelper< OutputPointType >
 
using WeightEnum = NormalQuadEdgeMeshFilterEnums::Weight
 
- Public Types inherited from itk::QuadEdgeMeshToQuadEdgeMeshFilter< TInputMesh, TOutputMesh >
using ConstPointer = SmartPointer< const Self >
 
using InputCellDataContainer = typename InputMeshType::CellDataContainer
 
using InputCellsContainerConstIterator = typename InputMeshType::CellsContainerConstIterator
 
using InputCellsContainerConstPointer = typename InputMeshType::CellsContainerConstPointer
 
using InputCellTraits = typename InputMeshType::CellTraits
 
using InputCoordRepType = typename InputMeshType::CoordRepType
 
using InputEdgeCellType = typename InputMeshType::EdgeCellType
 
using InputMeshConstPointer = typename InputMeshType::ConstPointer
 
using InputMeshPointer = typename InputMeshType::Pointer
 
using InputMeshType = TInputMesh
 
using InputPointDataContainer = typename InputMeshType::PointDataContainer
 
using InputPointDataContainerConstPointer = typename InputPointDataContainer::ConstPointer
 
using InputPointIdentifier = typename InputMeshType::PointIdentifier
 
using InputPointIdList = typename InputMeshType::PointIdList
 
using InputPointsContainerConstIterator = typename InputMeshType::PointsContainerConstIterator
 
using InputPointsContainerConstPointer = typename InputMeshType::PointsContainerConstPointer
 
using InputPointsIdInternalIterator = typename InputCellTraits::PointIdInternalIterator
 
using InputPointType = typename InputMeshType::PointType
 
using InputPolygonCellType = typename InputMeshType::PolygonCellType
 
using InputQEIterator = typename InputQEPrimal::IteratorGeom
 
using InputQEPrimal = typename InputMeshType::QEPrimal
 
using InputVectorType = typename InputMeshType::VectorType
 
using OutputCellDataContainer = typename OutputMeshType::CellDataContainer
 
using OutputCoordRepType = typename OutputMeshType::CoordRepType
 
using OutputMeshConstPointer = typename OutputMeshType::ConstPointer
 
using OutputMeshPointer = typename OutputMeshType::Pointer
 
using OutputMeshType = TOutputMesh
 
using OutputPointDataContainer = typename OutputMeshType::PointDataContainer
 
using OutputPointIdentifier = typename OutputMeshType::PointIdentifier
 
using OutputPointsContainerConstPointer = typename OutputMeshType::PointsContainerConstPointer
 
using OutputPointsContainerIterator = typename OutputMeshType::PointsContainerIterator
 
using OutputPointsContainerPointer = typename OutputMeshType::PointsContainerPointer
 
using OutputPointType = typename OutputMeshType::PointType
 
using OutputQEIterator = typename OutputQEPrimal::IteratorGeom
 
using OutputQEPrimal = typename OutputMeshType::QEPrimal
 
using OutputVectorType = typename OutputMeshType::VectorType
 
using Pointer = SmartPointer< Self >
 
using Self = QuadEdgeMeshToQuadEdgeMeshFilter
 
using Superclass = MeshToMeshFilter< TInputMesh, TOutputMesh >
 
- 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

virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const char * GetNameOfClass () const
 
virtual WeightEnum GetWeight () const
 
virtual void SetWeight (const WeightEnum _arg)
 
- 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)
 
void SetOutput (TOutputMesh *output)
 
virtual void GraftOutput (DataObject *graft)
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *graft)
 
virtual void GraftNthOutput (unsigned int idx, DataObject *graft)
 
DataObjectPointer MakeOutput (DataObjectPointerArraySizeType idx) override
 
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
 
virtual void AbortGenerateDataOn ()
 
virtual void EnlargeOutputRequestedRegion (DataObject *)
 
virtual const bool & GetAbortGenerateData () const
 
DataObjectPointerArray GetIndexedInputs ()
 
DataObjectPointerArray GetIndexedOutputs ()
 
NameArray GetInputNames () const
 
DataObjectPointerArray GetInputs ()
 
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 PropagateRequestedRegion (DataObject *output)
 
virtual void ResetPipeline ()
 
virtual void SetAbortGenerateData (bool _arg)
 
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 ReleaseDataBeforeUpdateFlagOff ()
 
virtual void SetNumberOfWorkUnits (ThreadIdType _arg)
 
virtual const ThreadIdTypeGetNumberOfWorkUnits () const
 
MultiThreaderTypeGetMultiThreader () const
 
void SetMultiThreader (MultiThreaderType *threader)
 
virtual void PrepareOutputs ()
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
unsigned long AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
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)
 
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::QuadEdgeMeshToQuadEdgeMeshFilter< TInputMesh, TOutputMesh >
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

void ComputeAllFaceNormals ()
 
void ComputeAllVertexNormals ()
 
OutputFaceNormalType ComputeFaceNormal (OutputPolygonType *iPoly)
 
OutputVertexNormalType ComputeVertexNormal (const OutputPointIdentifier &iId, OutputMeshType *outputMesh)
 
 NormalQuadEdgeMeshFilter ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
OutputVertexNormalComponentType Weight (const OutputPointIdentifier &iPId, const OutputCellIdentifier &iCId, OutputMeshType *outputMesh)
 
 ~NormalQuadEdgeMeshFilter () override=default
 
void GenerateData () override
 
- Protected Member Functions inherited from itk::QuadEdgeMeshToQuadEdgeMeshFilter< TInputMesh, TOutputMesh >
virtual void CopyInputMeshToOutputMesh ()
 
virtual void CopyInputMeshToOutputMeshCellData ()
 
virtual void CopyInputMeshToOutputMeshCells ()
 
virtual void CopyInputMeshToOutputMeshEdgeCells ()
 
virtual void CopyInputMeshToOutputMeshFieldData ()
 
virtual void CopyInputMeshToOutputMeshGeometry ()
 
virtual void CopyInputMeshToOutputMeshPointData ()
 
virtual void CopyInputMeshToOutputMeshPoints ()
 
 QuadEdgeMeshToQuadEdgeMeshFilter ()
 
 ~QuadEdgeMeshToQuadEdgeMeshFilter () override=default
 
- 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 >
 MeshSource ()
 
 ~MeshSource () override=default
 
void GenerateInputRequestedRegion () override
 
- Protected Member Functions inherited from itk::ProcessObject
 ProcessObject ()
 
 ~ProcessObject () override
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
const DataObjectGetInput (const DataObjectIdentifierType &key) const
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetNthInput (DataObjectPointerArraySizeType idx, DataObject *input)
 
virtual void AddInput (DataObject *input)
 
virtual void PushBackInput (const DataObject *input)
 
virtual void PopBackInput ()
 
virtual void PushFrontInput (const DataObject *input)
 
virtual void PopFrontInput ()
 
virtual void RemoveInput (const DataObjectIdentifierType &key)
 
virtual void RemoveInput (DataObjectPointerArraySizeType)
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryInputName () const
 
virtual void SetPrimaryInput (DataObject *object)
 
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual const DataObjectPointerArraySizeTypeGetNumberOfRequiredInputs () const
 
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
 
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 
void SetRequiredInputNames (const NameArray &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
void AddOptionalInputName (const DataObjectIdentifierType &)
 
void AddOptionalInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
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
 
virtual void SetOutput (const DataObjectIdentifierType &name, DataObject *output)
 
virtual void RemoveOutput (const DataObjectIdentifierType &key)
 
DataObjectGetPrimaryOutput ()
 
const DataObjectGetPrimaryOutput () const
 
virtual void SetPrimaryOutput (DataObject *object)
 
virtual void SetNthOutput (DataObjectPointerArraySizeType idx, DataObject *output)
 
virtual void AddOutput (DataObject *output)
 
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual const DataObjectPointerArraySizeTypeGetNumberOfRequiredOutputs () const
 
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
 
DataObjectIdentifierType MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectIdentifierType MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectPointerArraySizeType MakeIndexFromInputName (const DataObjectIdentifierType &name) const
 
DataObjectPointerArraySizeType MakeIndexFromOutputName (const DataObjectIdentifierType &name) const
 
bool IsIndexedInputName (const DataObjectIdentifierType &) const
 
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
 
virtual void VerifyPreconditions () ITKv5_CONST
 
virtual void VerifyInputInformation () ITKv5_CONST
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
virtual void GenerateOutputInformation ()
 
virtual void PropagateResetPipeline ()
 
virtual void ReleaseInputs ()
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void RestoreInputReleaseDataFlags ()
 
virtual bool GetThreaderUpdateProgress () const
 
virtual void ThreaderUpdateProgressOn ()
 
virtual void ThreaderUpdateProgressOff ()
 
virtual void SetThreaderUpdateProgress (bool arg)
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
 ~Object () override
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &timeStamp)
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Protected Attributes

WeightEnum m_Weight
 
- Protected Attributes inherited from itk::ProcessObject
bool m_Updating
 
TimeStamp m_OutputInformationMTime
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount
 

Additional Inherited Members

- Static Protected Member Functions inherited from itk::ProcessObject
static constexpr float progressFixedToFloat (uint32_t fixed)
 
static uint32_t progressFloatToFixed (float f)
 

Detailed Description

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

Filter which computes normals to faces and vertices and store it in the output mesh. Normals to face are first computed, then normals to vertices are computed as linear combination of neighbor face normals, i.e.

\[ n_v = \frac{\sum_{i=0}^{N_f} \omega_i \cdot n_i}{\| \sum_{k=0}^{N_f} \omega_x \cdot n_k\|} \]

The difference between each method relies in the definition of the weight $ \omega_i $ that you can specify by the method SetWeight.

These weights are defined in the literature:

Note
By default the weight is set to the TURMER weight.
Todo:
Fix run-time issues regarding the difference between the Traits of TInputMesh and the one of TOutputMesh. Right now, it only works if TInputMesh::MeshTraits == TOutputMesh::MeshTraits (and of course it requires that the output have some itk::Vector for point data and cell data.
ITK Sphinx Examples:
Examples
SphinxExamples/src/Filtering/QuadEdgeMeshFiltering/ComputeNormalsOfAMesh/Code.cxx.

Definition at line 93 of file itkNormalQuadEdgeMeshFilter.h.

Member Typedef Documentation

◆ ConstPointer

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

Definition at line 101 of file itkNormalQuadEdgeMeshFilter.h.

◆ InputMeshPointer

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

Definition at line 108 of file itkNormalQuadEdgeMeshFilter.h.

◆ InputMeshType

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

Definition at line 107 of file itkNormalQuadEdgeMeshFilter.h.

◆ InputPointIdentifier

template<typename TInputMesh , typename TOutputMesh >
using itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::InputPointIdentifier = typename InputMeshType::PointIdentifier

Definition at line 109 of file itkNormalQuadEdgeMeshFilter.h.

◆ InputPointType

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

Definition at line 110 of file itkNormalQuadEdgeMeshFilter.h.

◆ InputQEType

template<typename TInputMesh , typename TOutputMesh >
using itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::InputQEType = typename InputMeshType::QEType

Definition at line 112 of file itkNormalQuadEdgeMeshFilter.h.

◆ InputVectorType

template<typename TInputMesh , typename TOutputMesh >
using itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::InputVectorType = typename InputMeshType::VectorType

Definition at line 111 of file itkNormalQuadEdgeMeshFilter.h.

◆ OutputCellAutoPointer

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

Definition at line 125 of file itkNormalQuadEdgeMeshFilter.h.

◆ OutputCellDataContainer

template<typename TInputMesh , typename TOutputMesh >
using itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::OutputCellDataContainer = typename OutputMeshType::CellDataContainer

Definition at line 134 of file itkNormalQuadEdgeMeshFilter.h.

◆ OutputCellIdentifier

template<typename TInputMesh , typename TOutputMesh >
using itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::OutputCellIdentifier = typename OutputMeshType::CellIdentifier

Definition at line 124 of file itkNormalQuadEdgeMeshFilter.h.

◆ OutputCellsContainerConstIterator

template<typename TInputMesh , typename TOutputMesh >
using itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::OutputCellsContainerConstIterator = typename OutputMeshType::CellsContainerConstIterator

Definition at line 127 of file itkNormalQuadEdgeMeshFilter.h.

◆ OutputCellsContainerPointer

template<typename TInputMesh , typename TOutputMesh >
using itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::OutputCellsContainerPointer = typename OutputMeshType::CellsContainerConstIterator

Definition at line 126 of file itkNormalQuadEdgeMeshFilter.h.

◆ OutputCellType

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

Definition at line 123 of file itkNormalQuadEdgeMeshFilter.h.

◆ OutputFaceNormalComponentType

template<typename TInputMesh , typename TOutputMesh >
using itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::OutputFaceNormalComponentType = typename OutputFaceNormalType::ValueType

Definition at line 142 of file itkNormalQuadEdgeMeshFilter.h.

◆ OutputFaceNormalType

template<typename TInputMesh , typename TOutputMesh >
using itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::OutputFaceNormalType = typename OutputMeshTraits::CellPixelType

Definition at line 141 of file itkNormalQuadEdgeMeshFilter.h.

◆ OutputMeshPointer

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

Definition at line 115 of file itkNormalQuadEdgeMeshFilter.h.

◆ OutputMeshTraits

template<typename TInputMesh , typename TOutputMesh >
using itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::OutputMeshTraits = typename OutputMeshType::MeshTraits

Definition at line 137 of file itkNormalQuadEdgeMeshFilter.h.

◆ OutputMeshType

template<typename TInputMesh , typename TOutputMesh >
using itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::OutputMeshType = TOutputMesh

Definition at line 114 of file itkNormalQuadEdgeMeshFilter.h.

◆ OutputPointDataContainer

template<typename TInputMesh , typename TOutputMesh >
using itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::OutputPointDataContainer = typename OutputMeshType::PointDataContainer

Definition at line 135 of file itkNormalQuadEdgeMeshFilter.h.

◆ OutputPointIdentifier

template<typename TInputMesh , typename TOutputMesh >
using itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::OutputPointIdentifier = typename OutputMeshType::PointIdentifier

Definition at line 119 of file itkNormalQuadEdgeMeshFilter.h.

◆ OutputPointIdIterator

template<typename TInputMesh , typename TOutputMesh >
using itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::OutputPointIdIterator = typename OutputMeshType::PointIdIterator

Definition at line 120 of file itkNormalQuadEdgeMeshFilter.h.

◆ OutputPointsContainerIterator

template<typename TInputMesh , typename TOutputMesh >
using itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::OutputPointsContainerIterator = typename OutputMeshType::PointsContainerIterator

Definition at line 122 of file itkNormalQuadEdgeMeshFilter.h.

◆ OutputPointsContainerPointer

template<typename TInputMesh , typename TOutputMesh >
using itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::OutputPointsContainerPointer = typename OutputMeshType::PointsContainerPointer

Definition at line 121 of file itkNormalQuadEdgeMeshFilter.h.

◆ OutputPointType

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

Definition at line 116 of file itkNormalQuadEdgeMeshFilter.h.

◆ OutputPolygonAutoPointer

template<typename TInputMesh , typename TOutputMesh >
using itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::OutputPolygonAutoPointer = typename OutputPolygonType::SelfAutoPointer

Definition at line 132 of file itkNormalQuadEdgeMeshFilter.h.

◆ OutputPolygonType

template<typename TInputMesh , typename TOutputMesh >
using itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::OutputPolygonType = QuadEdgeMeshPolygonCell<OutputCellType>

Definition at line 131 of file itkNormalQuadEdgeMeshFilter.h.

◆ OutputQEType

template<typename TInputMesh , typename TOutputMesh >
using itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::OutputQEType = typename OutputMeshType::QEType

Definition at line 118 of file itkNormalQuadEdgeMeshFilter.h.

◆ OutputVectorType

template<typename TInputMesh , typename TOutputMesh >
using itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::OutputVectorType = typename OutputPointType::VectorType

Definition at line 117 of file itkNormalQuadEdgeMeshFilter.h.

◆ OutputVertexNormalComponentType

template<typename TInputMesh , typename TOutputMesh >
using itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::OutputVertexNormalComponentType = typename OutputVertexNormalType::ValueType

Definition at line 139 of file itkNormalQuadEdgeMeshFilter.h.

◆ OutputVertexNormalType

template<typename TInputMesh , typename TOutputMesh >
using itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::OutputVertexNormalType = typename OutputMeshTraits::PixelType

Definition at line 138 of file itkNormalQuadEdgeMeshFilter.h.

◆ Pointer

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

Definition at line 100 of file itkNormalQuadEdgeMeshFilter.h.

◆ Self

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

Definition at line 98 of file itkNormalQuadEdgeMeshFilter.h.

◆ Superclass

template<typename TInputMesh , typename TOutputMesh >
using itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::Superclass = QuadEdgeMeshToQuadEdgeMeshFilter<TInputMesh, TOutputMesh>

Definition at line 99 of file itkNormalQuadEdgeMeshFilter.h.

◆ TriangleType

template<typename TInputMesh , typename TOutputMesh >
using itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::TriangleType = TriangleHelper<OutputPointType>

Definition at line 129 of file itkNormalQuadEdgeMeshFilter.h.

◆ WeightEnum

template<typename TInputMesh , typename TOutputMesh >
using itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::WeightEnum = NormalQuadEdgeMeshFilterEnums::Weight

Definition at line 144 of file itkNormalQuadEdgeMeshFilter.h.

Constructor & Destructor Documentation

◆ NormalQuadEdgeMeshFilter()

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

◆ ~NormalQuadEdgeMeshFilter()

template<typename TInputMesh , typename TOutputMesh >
itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::~NormalQuadEdgeMeshFilter ( )
overrideprotecteddefault

Member Function Documentation

◆ ComputeAllFaceNormals()

template<typename TInputMesh , typename TOutputMesh >
void itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::ComputeAllFaceNormals ( )
protected

Compute the normal to all faces on the mesh.

Note
This method should be implemented in a multi-thread way in order to reduce the processing time.

◆ ComputeAllVertexNormals()

template<typename TInputMesh , typename TOutputMesh >
void itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::ComputeAllVertexNormals ( )
protected

Compute the normal to all vertices on the mesh.

Note
This method should be implemented in a multi-thread way in order to reduce the processing time.

◆ ComputeFaceNormal()

template<typename TInputMesh , typename TOutputMesh >
OutputFaceNormalType itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::ComputeFaceNormal ( OutputPolygonType iPoly)
protected

Compute the normal to a face iPoly. It assumes that iPoly != 0 and iPoly is a Triangle, i.e. 3 points only.

Note
The normal computation itself can be further improved by making possible to cast a CellType into a TriangleType.

◆ ComputeVertexNormal()

template<typename TInputMesh , typename TOutputMesh >
OutputVertexNormalType itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::ComputeVertexNormal ( const OutputPointIdentifier iId,
OutputMeshType outputMesh 
)
protected

Compute the normal to one vertex by a weighted sum of the faces normal in the 0-ring.

Note
The weight is chosen by the member m_Weight.

◆ CreateAnother()

template<typename TInputMesh , typename TOutputMesh >
virtual::itk::LightObject::Pointer itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::CreateAnother ( ) const
virtual

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::QuadEdgeMeshToQuadEdgeMeshFilter< TInputMesh, TOutputMesh >.

◆ GenerateData()

template<typename TInputMesh , typename TOutputMesh >
void itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::GenerateData ( )
overrideprotectedvirtual
Note
Calling Superclass::GenerateData( ) is the longest part in the filter! Something must be done in the class itkQuadEdgeMeshToQuadEdgeMeshFilter.

Reimplemented from itk::ProcessObject.

◆ GetNameOfClass()

template<typename TInputMesh , typename TOutputMesh >
virtual const char* itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::QuadEdgeMeshToQuadEdgeMeshFilter< TInputMesh, TOutputMesh >.

◆ GetWeight()

template<typename TInputMesh , typename TOutputMesh >
virtual WeightEnum itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::GetWeight ( ) const
virtual

◆ New()

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

◆ PrintSelf()

template<typename TInputMesh , typename TOutputMesh >
void itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotectedvirtual

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::MeshSource< TOutputMesh >.

◆ SetWeight()

template<typename TInputMesh , typename TOutputMesh >
virtual void itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::SetWeight ( const WeightEnum  _arg)
virtual

◆ Weight()

template<typename TInputMesh , typename TOutputMesh >
OutputVertexNormalComponentType itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::Weight ( const OutputPointIdentifier iPId,
const OutputCellIdentifier iCId,
OutputMeshType outputMesh 
)
protected

Definition of the weight in the 0-ring used for the vertex normal computation. By default m_Weight = THURMER;.

Member Data Documentation

◆ m_Weight

template<typename TInputMesh , typename TOutputMesh >
WeightEnum itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::m_Weight
protected

Definition at line 162 of file itkNormalQuadEdgeMeshFilter.h.


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