ITK  4.9.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | 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 >:

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.
Examples:
SphinxExamples/src/Filtering/QuadEdgeMeshFiltering/ComputeNormalsOfAMesh/Code.cxx, and WikiExamples/Meshes/QuadEdgeMeshNormalFilter.cxx.

Definition at line 68 of file itkNormalQuadEdgeMeshFilter.h.

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef InputMeshType::Pointer InputMeshPointer
 
typedef TInputMesh InputMeshType
 
typedef
InputMeshType::PointIdentifier 
InputPointIdentifier
 
typedef InputMeshType::PointType InputPointType
 
typedef InputMeshType::QEType InputQEType
 
typedef InputMeshType::VectorType InputVectorType
 
typedef
OutputMeshType::CellAutoPointer 
OutputCellAutoPointer
 
typedef
OutputMeshType::CellDataContainer 
OutputCellDataContainer
 
typedef
OutputMeshType::CellIdentifier 
OutputCellIdentifier
 
typedef
OutputMeshType::CellsContainerConstIterator 
OutputCellsContainerConstIterator
 
typedef
OutputMeshType::CellsContainerConstIterator 
OutputCellsContainerPointer
 
typedef OutputMeshType::CellType OutputCellType
 
typedef
OutputFaceNormalType::ValueType 
OutputFaceNormalComponentType
 
typedef
OutputMeshTraits::CellPixelType 
OutputFaceNormalType
 
typedef OutputMeshType::Pointer OutputMeshPointer
 
typedef OutputMeshType::MeshTraits OutputMeshTraits
 
typedef TOutputMesh OutputMeshType
 
typedef
OutputMeshType::PointDataContainer 
OutputPointDataContainer
 
typedef
OutputMeshType::PointIdentifier 
OutputPointIdentifier
 
typedef
OutputMeshType::PointIdIterator 
OutputPointIdIterator
 
typedef
OutputMeshType::PointsContainerIterator 
OutputPointsContainerIterator
 
typedef
OutputMeshType::PointsContainerPointer 
OutputPointsContainerPointer
 
typedef OutputMeshType::PointType OutputPointType
 
typedef
OutputPolygonType::SelfAutoPointer 
OutputPolygonAutoPointer
 
typedef
QuadEdgeMeshPolygonCell
< OutputCellType
OutputPolygonType
 
typedef OutputMeshType::QEType OutputQEType
 
typedef OutputPointType::VectorType OutputVectorType
 
typedef
OutputVertexNormalType::ValueType 
OutputVertexNormalComponentType
 
typedef OutputMeshTraits::PixelType OutputVertexNormalType
 
typedef SmartPointer< SelfPointer
 
typedef NormalQuadEdgeMeshFilter Self
 
typedef
QuadEdgeMeshToQuadEdgeMeshFilter
< TInputMesh, TOutputMesh > 
Superclass
 
typedef TriangleHelper
< OutputPointType
TriangleType
 
enum  WeightType {
  GOURAUD = 0,
  THURMER,
  AREA
}
 
- Public Types inherited from itk::QuadEdgeMeshToQuadEdgeMeshFilter< TInputMesh, TOutputMesh >
typedef SmartPointer< const SelfConstPointer
 
typedef
InputMeshType::CellDataContainer 
InputCellDataContainer
 
typedef
InputMeshType::CellsContainerConstIterator 
InputCellsContainerConstIterator
 
typedef
InputMeshType::CellsContainerConstPointer 
InputCellsContainerConstPointer
 
typedef InputMeshType::CellTraits InputCellTraits
 
typedef InputMeshType::CoordRepType InputCoordRepType
 
typedef InputMeshType::EdgeCellType InputEdgeCellType
 
typedef InputMeshType::ConstPointer InputMeshConstPointer
 
typedef InputMeshType::Pointer InputMeshPointer
 
typedef TInputMesh InputMeshType
 
typedef
InputMeshType::PointDataContainer 
InputPointDataContainer
 
typedef
InputPointDataContainer::ConstPointer 
InputPointDataContainerConstPointer
 
typedef
InputMeshType::PointIdentifier 
InputPointIdentifier
 
typedef InputMeshType::PointIdList InputPointIdList
 
typedef
InputMeshType::PointsContainerConstIterator 
InputPointsContainerConstIterator
 
typedef
InputMeshType::PointsContainerConstPointer 
InputPointsContainerConstPointer
 
typedef
InputCellTraits::PointIdInternalIterator 
InputPointsIdInternalIterator
 
typedef InputMeshType::PointType InputPointType
 
typedef
InputMeshType::PolygonCellType 
InputPolygonCellType
 
typedef InputQEPrimal::IteratorGeom InputQEIterator
 
typedef InputMeshType::QEPrimal InputQEPrimal
 
typedef InputMeshType::VectorType InputVectorType
 
typedef
OutputMeshType::CellDataContainer 
OutputCellDataContainer
 
typedef
OutputMeshType::CoordRepType 
OutputCoordRepType
 
typedef
OutputMeshType::ConstPointer 
OutputMeshConstPointer
 
typedef OutputMeshType::Pointer OutputMeshPointer
 
typedef TOutputMesh OutputMeshType
 
typedef
OutputMeshType::PointDataContainer 
OutputPointDataContainer
 
typedef
OutputMeshType::PointIdentifier 
OutputPointIdentifier
 
typedef
OutputMeshType::PointsContainerConstPointer 
OutputPointsContainerConstPointer
 
typedef
OutputMeshType::PointsContainerIterator 
OutputPointsContainerIterator
 
typedef
OutputMeshType::PointsContainerPointer 
OutputPointsContainerPointer
 
typedef OutputMeshType::PointType OutputPointType
 
typedef
OutputQEPrimal::IteratorGeom 
OutputQEIterator
 
typedef OutputMeshType::QEPrimal OutputQEPrimal
 
typedef OutputMeshType::VectorType OutputVectorType
 
typedef SmartPointer< SelfPointer
 
typedef
QuadEdgeMeshToQuadEdgeMeshFilter 
Self
 
typedef MeshToMeshFilter
< TInputMesh, TOutputMesh > 
Superclass
 
- Public Types inherited from itk::MeshToMeshFilter< TInputMesh, TOutputMesh >
typedef SmartPointer< const SelfConstPointer
 
typedef InputMeshType::Pointer InputMeshPointer
 
typedef TInputMesh InputMeshType
 
typedef OutputMeshType::Pointer OutputMeshPointer
 
typedef TOutputMesh OutputMeshType
 
typedef SmartPointer< SelfPointer
 
typedef MeshToMeshFilter Self
 
typedef MeshSource< TOutputMesh > Superclass
 
- Public Types inherited from itk::MeshSource< TOutputMesh >
typedef SmartPointer< const SelfConstPointer
 
typedef
Superclass::DataObjectIdentifierType 
DataObjectIdentifierType
 
typedef DataObject::Pointer DataObjectPointer
 
typedef OutputMeshType::Pointer OutputMeshPointer
 
typedef TOutputMesh OutputMeshType
 
typedef SmartPointer< SelfPointer
 
typedef MeshSource Self
 
typedef ProcessObject Superclass
 
typedef
ProcessObject::DataObjectPointerArraySizeType 
DataObjectPointerArraySizeType
 
- Public Types inherited from itk::ProcessObject
typedef SmartPointer< const SelfConstPointer
 
typedef
DataObject::DataObjectIdentifierType 
DataObjectIdentifierType
 
typedef DataObject::Pointer DataObjectPointer
 
typedef std::vector
< DataObjectPointer
DataObjectPointerArray
 
typedef
DataObjectPointerArray::size_type 
DataObjectPointerArraySizeType
 
typedef std::vector
< DataObjectIdentifierType
NameArray
 
typedef SmartPointer< SelfPointer
 
typedef ProcessObject Self
 
typedef Object Superclass
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const char * GetNameOfClass () const
 
virtual WeightType GetWeight () const
 
virtual void SetWeight (WeightType _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)
 
virtual void GraftNthOutput (unsigned int idx, DataObject *output)
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *output)
 
void SetOutput (TOutputMesh *output)
 
virtual void GraftOutput (DataObject *output)
 
virtual 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 ()
 
MultiThreader * GetMultiThreader () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
 
DataObjectPointerArraySizeType GetNumberOfInputs () const
 
DataObjectPointerArraySizeType GetNumberOfOutputs () const
 
virtual
DataObjectPointerArraySizeType 
GetNumberOfValidRequiredInputs () const
 
NameArray GetOutputNames () const
 
DataObjectPointerArray GetOutputs ()
 
virtual const float & GetProgress () const
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
virtual DataObjectPointer MakeOutput (const DataObjectIdentifierType &)
 
virtual void PrepareOutputs ()
 
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)
 
void SetProgress (float progress)
 
virtual void SetReleaseDataFlag (bool flag)
 
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 SetNumberOfThreads (ThreadIdType _arg)
 
virtual const ThreadIdTypeGetNumberOfThreads () const
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) 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
 
virtual void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetReferenceCount (int) override
 
virtual void UnRegister () const noexceptoverride
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
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 flag)
 
- 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)
 
void GenerateData () override
 
 NormalQuadEdgeMeshFilter ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
OutputVertexNormalComponentType Weight (const OutputPointIdentifier &iPId, const OutputCellIdentifier &iCId, OutputMeshType *outputMesh)
 
 ~NormalQuadEdgeMeshFilter ()
 
- 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 ()
 
virtual ~QuadEdgeMeshToQuadEdgeMeshFilter ()
 
- Protected Member Functions inherited from itk::MeshToMeshFilter< TInputMesh, TOutputMesh >
void CopyInputMeshToOutputMeshCellData ()
 
void CopyInputMeshToOutputMeshCellLinks ()
 
void CopyInputMeshToOutputMeshCells ()
 
void CopyInputMeshToOutputMeshPointData ()
 
void CopyInputMeshToOutputMeshPoints ()
 
 MeshToMeshFilter ()
 
 ~MeshToMeshFilter ()
 
- Protected Member Functions inherited from itk::MeshSource< TOutputMesh >
virtual void GenerateInputRequestedRegion () override
 
 MeshSource ()
 
virtual ~MeshSource ()
 
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
 
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
DataObjectPointerArraySizeType
GetNumberOfRequiredInputs () const
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredOutputs () const
 
bool IsIndexedInputName (const DataObjectIdentifierType &) const
 
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
 
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 
 itkLegacyMacro (virtual void RemoveOutput(DataObject *output))
 
 itkLegacyMacro (void SetNumberOfOutputs(DataObjectPointerArraySizeType num))
 
 itkLegacyMacro (virtual void RemoveInput(DataObject *input))
 
 itkLegacyMacro (void SetNumberOfInputs(DataObjectPointerArraySizeType num))
 
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 num, DataObject *input)
 
virtual void SetNthOutput (DataObjectPointerArraySizeType num, DataObject *output)
 
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
 
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual void SetOutput (const DataObjectIdentifierType &key, DataObject *output)
 
virtual void SetPrimaryInput (DataObject *input)
 
virtual void SetPrimaryOutput (DataObject *output)
 
void SetRequiredInputNames (const NameArray &)
 
virtual void VerifyInputInformation ()
 
virtual void VerifyPreconditions ()
 
 ~ProcessObject ()
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryInputName (void) const
 
DataObjectGetOutput (const DataObjectIdentifierType &key)
 
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryOutputName (void) const
 
DataObjectGetOutput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetOutput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryOutput ()
 
const DataObjectGetPrimaryOutput () const
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object ()
 
- 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

WeightType m_Weight
 
- Protected Attributes inherited from itk::ProcessObject
TimeStamp m_OutputInformationMTime
 
bool m_Updating
 
- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Private Member Functions

 NormalQuadEdgeMeshFilter (const Self &)
 
void operator= (const Self &)
 

Member Typedef Documentation

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

Definition at line 75 of file itkNormalQuadEdgeMeshFilter.h.

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

Definition at line 83 of file itkNormalQuadEdgeMeshFilter.h.

template<typename TInputMesh , typename TOutputMesh >
typedef TInputMesh itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::InputMeshType

Definition at line 80 of file itkNormalQuadEdgeMeshFilter.h.

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

Definition at line 84 of file itkNormalQuadEdgeMeshFilter.h.

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

Definition at line 85 of file itkNormalQuadEdgeMeshFilter.h.

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

Definition at line 87 of file itkNormalQuadEdgeMeshFilter.h.

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

Definition at line 86 of file itkNormalQuadEdgeMeshFilter.h.

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

Definition at line 100 of file itkNormalQuadEdgeMeshFilter.h.

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

Definition at line 109 of file itkNormalQuadEdgeMeshFilter.h.

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

Definition at line 99 of file itkNormalQuadEdgeMeshFilter.h.

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

Definition at line 102 of file itkNormalQuadEdgeMeshFilter.h.

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

Definition at line 101 of file itkNormalQuadEdgeMeshFilter.h.

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

Definition at line 98 of file itkNormalQuadEdgeMeshFilter.h.

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

Definition at line 117 of file itkNormalQuadEdgeMeshFilter.h.

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

Definition at line 116 of file itkNormalQuadEdgeMeshFilter.h.

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

Definition at line 90 of file itkNormalQuadEdgeMeshFilter.h.

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

Definition at line 112 of file itkNormalQuadEdgeMeshFilter.h.

template<typename TInputMesh , typename TOutputMesh >
typedef TOutputMesh itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::OutputMeshType

Definition at line 89 of file itkNormalQuadEdgeMeshFilter.h.

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

Definition at line 110 of file itkNormalQuadEdgeMeshFilter.h.

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

Definition at line 94 of file itkNormalQuadEdgeMeshFilter.h.

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

Definition at line 95 of file itkNormalQuadEdgeMeshFilter.h.

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

Definition at line 97 of file itkNormalQuadEdgeMeshFilter.h.

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

Definition at line 96 of file itkNormalQuadEdgeMeshFilter.h.

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

Definition at line 91 of file itkNormalQuadEdgeMeshFilter.h.

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

Definition at line 107 of file itkNormalQuadEdgeMeshFilter.h.

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

Definition at line 106 of file itkNormalQuadEdgeMeshFilter.h.

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

Definition at line 93 of file itkNormalQuadEdgeMeshFilter.h.

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

Definition at line 92 of file itkNormalQuadEdgeMeshFilter.h.

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

Definition at line 114 of file itkNormalQuadEdgeMeshFilter.h.

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

Definition at line 113 of file itkNormalQuadEdgeMeshFilter.h.

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

Definition at line 74 of file itkNormalQuadEdgeMeshFilter.h.

template<typename TInputMesh , typename TOutputMesh >
typedef NormalQuadEdgeMeshFilter itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::Self

Definition at line 72 of file itkNormalQuadEdgeMeshFilter.h.

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

Definition at line 73 of file itkNormalQuadEdgeMeshFilter.h.

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

Definition at line 104 of file itkNormalQuadEdgeMeshFilter.h.

Member Enumeration Documentation

template<typename TInputMesh , typename TOutputMesh >
enum itk::NormalQuadEdgeMeshFilter::WeightType
Enumerator
GOURAUD 
THURMER 
AREA 

Definition at line 119 of file itkNormalQuadEdgeMeshFilter.h.

Constructor & Destructor Documentation

template<typename TInputMesh , typename TOutputMesh >
itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::NormalQuadEdgeMeshFilter ( )
protected
template<typename TInputMesh , typename TOutputMesh >
itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::~NormalQuadEdgeMeshFilter ( )
protected
template<typename TInputMesh , typename TOutputMesh >
itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::NormalQuadEdgeMeshFilter ( const Self )
private

Member Function Documentation

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.
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.
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.
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.
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 >.

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.

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 >.

template<typename TInputMesh , typename TOutputMesh >
virtual WeightType itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::GetWeight ( ) const
virtual
template<typename TInputMesh , typename TOutputMesh >
static Pointer itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::New ( )
static
template<typename TInputMesh , typename TOutputMesh >
void itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::operator= ( const Self )
private
template<typename TInputMesh , typename TOutputMesh >
void itk::NormalQuadEdgeMeshFilter< 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 >.

template<typename TInputMesh , typename TOutputMesh >
virtual void itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::SetWeight ( WeightType  _arg)
virtual
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

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

Definition at line 133 of file itkNormalQuadEdgeMeshFilter.h.


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