ITK
4.3.0
Insight Segmentation and Registration Toolkit
|
#include <itkNormalQuadEdgeMeshFilter.h>
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.
.
The difference between each method relies in the definition of the weight that you can specify by the method SetWeight.
These weights are defined in the literature:
Definition at line 68 of file itkNormalQuadEdgeMeshFilter.h.
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
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< Self > | Pointer |
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 Self > | ConstPointer |
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< Self > | Pointer |
typedef QuadEdgeMeshToQuadEdgeMeshFilter | Self |
typedef MeshToMeshFilter < TInputMesh, TOutputMesh > | Superclass |
Public Types inherited from itk::MeshToMeshFilter< TInputMesh, TOutputMesh > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputMeshType::Pointer | InputMeshPointer |
typedef TInputMesh | InputMeshType |
typedef OutputMeshType::Pointer | OutputMeshPointer |
typedef TOutputMesh | OutputMeshType |
typedef SmartPointer< Self > | Pointer |
typedef MeshToMeshFilter | Self |
typedef MeshSource< TOutputMesh > | Superclass |
Public Types inherited from itk::MeshSource< TOutputMesh > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef OutputMeshType::Pointer | OutputMeshPointer |
typedef TOutputMesh | OutputMeshType |
typedef SmartPointer< Self > | Pointer |
typedef MeshSource | Self |
typedef ProcessObject | Superclass |
typedef ProcessObject::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
Public Types inherited from itk::ProcessObject | |
typedef SmartPointer< const Self > | ConstPointer |
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< Self > | Pointer |
typedef ProcessObject | Self |
typedef Object | Superclass |
Public Types inherited from itk::Object | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef Object | Self |
typedef LightObject | Superclass |
Public Types inherited from itk::LightObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef LightObject | Self |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
virtual WeightType | GetWeight () const |
virtual void | SetWeight (WeightType _arg) |
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 () |
Protected Attributes | |
WeightType | m_Weight |
Private Member Functions | |
NormalQuadEdgeMeshFilter (const Self &) | |
void | operator= (const Self &) |
Additional Inherited Members | |
Protected Types inherited from itk::LightObject | |
typedef int | InternalReferenceCountType |
typedef SmartPointer< const Self > itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::ConstPointer |
Definition at line 75 of file itkNormalQuadEdgeMeshFilter.h.
typedef InputMeshType::Pointer itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::InputMeshPointer |
Definition at line 83 of file itkNormalQuadEdgeMeshFilter.h.
typedef TInputMesh itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::InputMeshType |
Definition at line 80 of file itkNormalQuadEdgeMeshFilter.h.
typedef InputMeshType::PointIdentifier itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::InputPointIdentifier |
Definition at line 84 of file itkNormalQuadEdgeMeshFilter.h.
typedef InputMeshType::PointType itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::InputPointType |
Definition at line 85 of file itkNormalQuadEdgeMeshFilter.h.
typedef InputMeshType::QEType itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::InputQEType |
Definition at line 87 of file itkNormalQuadEdgeMeshFilter.h.
typedef InputMeshType::VectorType itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::InputVectorType |
Definition at line 86 of file itkNormalQuadEdgeMeshFilter.h.
typedef OutputMeshType::CellAutoPointer itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::OutputCellAutoPointer |
Definition at line 100 of file itkNormalQuadEdgeMeshFilter.h.
typedef OutputMeshType::CellDataContainer itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::OutputCellDataContainer |
Definition at line 109 of file itkNormalQuadEdgeMeshFilter.h.
typedef OutputMeshType::CellIdentifier itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::OutputCellIdentifier |
Definition at line 99 of file itkNormalQuadEdgeMeshFilter.h.
typedef OutputMeshType::CellsContainerConstIterator itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::OutputCellsContainerConstIterator |
Definition at line 102 of file itkNormalQuadEdgeMeshFilter.h.
typedef OutputMeshType::CellsContainerConstIterator itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::OutputCellsContainerPointer |
Definition at line 101 of file itkNormalQuadEdgeMeshFilter.h.
typedef OutputMeshType::CellType itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::OutputCellType |
Definition at line 98 of file itkNormalQuadEdgeMeshFilter.h.
typedef OutputFaceNormalType::ValueType itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::OutputFaceNormalComponentType |
Definition at line 117 of file itkNormalQuadEdgeMeshFilter.h.
typedef OutputMeshTraits::CellPixelType itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::OutputFaceNormalType |
Definition at line 116 of file itkNormalQuadEdgeMeshFilter.h.
typedef OutputMeshType::Pointer itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::OutputMeshPointer |
Definition at line 90 of file itkNormalQuadEdgeMeshFilter.h.
typedef OutputMeshType::MeshTraits itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::OutputMeshTraits |
Definition at line 112 of file itkNormalQuadEdgeMeshFilter.h.
typedef TOutputMesh itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::OutputMeshType |
Definition at line 89 of file itkNormalQuadEdgeMeshFilter.h.
typedef OutputMeshType::PointDataContainer itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::OutputPointDataContainer |
Definition at line 110 of file itkNormalQuadEdgeMeshFilter.h.
typedef OutputMeshType::PointIdentifier itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::OutputPointIdentifier |
Definition at line 94 of file itkNormalQuadEdgeMeshFilter.h.
typedef OutputMeshType::PointIdIterator itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::OutputPointIdIterator |
Definition at line 95 of file itkNormalQuadEdgeMeshFilter.h.
typedef OutputMeshType::PointsContainerIterator itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::OutputPointsContainerIterator |
Definition at line 97 of file itkNormalQuadEdgeMeshFilter.h.
typedef OutputMeshType::PointsContainerPointer itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::OutputPointsContainerPointer |
Definition at line 96 of file itkNormalQuadEdgeMeshFilter.h.
typedef OutputMeshType::PointType itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::OutputPointType |
Definition at line 91 of file itkNormalQuadEdgeMeshFilter.h.
typedef OutputPolygonType::SelfAutoPointer itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::OutputPolygonAutoPointer |
Definition at line 107 of file itkNormalQuadEdgeMeshFilter.h.
typedef QuadEdgeMeshPolygonCell< OutputCellType > itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::OutputPolygonType |
Definition at line 106 of file itkNormalQuadEdgeMeshFilter.h.
typedef OutputMeshType::QEType itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::OutputQEType |
Definition at line 93 of file itkNormalQuadEdgeMeshFilter.h.
typedef OutputPointType::VectorType itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::OutputVectorType |
Definition at line 92 of file itkNormalQuadEdgeMeshFilter.h.
typedef OutputVertexNormalType::ValueType itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::OutputVertexNormalComponentType |
Definition at line 114 of file itkNormalQuadEdgeMeshFilter.h.
typedef OutputMeshTraits::PixelType itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::OutputVertexNormalType |
Definition at line 113 of file itkNormalQuadEdgeMeshFilter.h.
typedef SmartPointer< Self > itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::Pointer |
Definition at line 74 of file itkNormalQuadEdgeMeshFilter.h.
typedef NormalQuadEdgeMeshFilter itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::Self |
Definition at line 72 of file itkNormalQuadEdgeMeshFilter.h.
typedef QuadEdgeMeshToQuadEdgeMeshFilter< TInputMesh, TOutputMesh > itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::Superclass |
Definition at line 73 of file itkNormalQuadEdgeMeshFilter.h.
typedef TriangleHelper< OutputPointType > itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::TriangleType |
Definition at line 104 of file itkNormalQuadEdgeMeshFilter.h.
enum itk::NormalQuadEdgeMeshFilter::WeightType |
Definition at line 119 of file itkNormalQuadEdgeMeshFilter.h.
|
protected |
|
protected |
|
private |
|
protected |
Compute the normal to all faces on the mesh.
|
protected |
Compute the normal to all vertices on the mesh.
|
protected |
Compute the normal to a face iPoly. It assumes that iPoly != 0 and iPoly is a Triangle, i.e. 3 points only.
|
protected |
Compute the normal to one vertex by a weighted sum of the faces normal in the 0-ring.
|
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 >.
|
protectedvirtual |
Reimplemented from itk::ProcessObject.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::QuadEdgeMeshToQuadEdgeMeshFilter< TInputMesh, TOutputMesh >.
|
virtual |
|
static |
|
private |
|
protectedvirtual |
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 >.
|
virtual |
|
protected |
Definition of the weight in the 0-ring used for the vertex normal computation. By default m_Weight = THURMER;.
|
protected |
Definition at line 133 of file itkNormalQuadEdgeMeshFilter.h.