ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <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 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 () |
Protected Member Functions | |
void | ComputeAllFaceNormals () |
void | ComputeAllVertexNormals () |
OutputFaceNormalType | ComputeFaceNormal (OutputPolygonType *iPoly) |
OutputVertexNormalType | ComputeVertexNormal (const OutputPointIdentifier &iId) |
void | GenerateData () |
NormalQuadEdgeMeshFilter () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
OutputVertexNormalComponentType | Weight (const OutputPointIdentifier &iPId, const OutputCellIdentifier &iCId) |
~NormalQuadEdgeMeshFilter () | |
Protected Attributes | |
WeightType | m_Weight |
Private Member Functions | |
NormalQuadEdgeMeshFilter (const Self &) | |
void | operator= (const Self &) |
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.
typedef SmartPointer< const Self > itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::ConstPointer |
Reimplemented from itk::QuadEdgeMeshToQuadEdgeMeshFilter< TInputMesh, TOutputMesh >.
Definition at line 75 of file itkNormalQuadEdgeMeshFilter.h.
typedef InputMeshType::Pointer itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::InputMeshPointer |
Reimplemented from itk::QuadEdgeMeshToQuadEdgeMeshFilter< TInputMesh, TOutputMesh >.
Definition at line 83 of file itkNormalQuadEdgeMeshFilter.h.
typedef TInputMesh itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::InputMeshType |
Input types.
Reimplemented from itk::QuadEdgeMeshToQuadEdgeMeshFilter< TInputMesh, TOutputMesh >.
Definition at line 80 of file itkNormalQuadEdgeMeshFilter.h.
typedef InputMeshType::PointIdentifier itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::InputPointIdentifier |
Reimplemented from itk::QuadEdgeMeshToQuadEdgeMeshFilter< TInputMesh, TOutputMesh >.
Definition at line 84 of file itkNormalQuadEdgeMeshFilter.h.
typedef InputMeshType::PointType itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::InputPointType |
Reimplemented from itk::QuadEdgeMeshToQuadEdgeMeshFilter< TInputMesh, TOutputMesh >.
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 |
Reimplemented from itk::QuadEdgeMeshToQuadEdgeMeshFilter< TInputMesh, TOutputMesh >.
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 |
Reimplemented from itk::QuadEdgeMeshToQuadEdgeMeshFilter< TInputMesh, TOutputMesh >.
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 |
Reimplemented from itk::QuadEdgeMeshToQuadEdgeMeshFilter< TInputMesh, TOutputMesh >.
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 |
Output types.
Reimplemented from itk::QuadEdgeMeshToQuadEdgeMeshFilter< TInputMesh, TOutputMesh >.
Definition at line 89 of file itkNormalQuadEdgeMeshFilter.h.
typedef OutputMeshType::PointDataContainer itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::OutputPointDataContainer |
Reimplemented from itk::QuadEdgeMeshToQuadEdgeMeshFilter< TInputMesh, TOutputMesh >.
Definition at line 110 of file itkNormalQuadEdgeMeshFilter.h.
typedef OutputMeshType::PointIdentifier itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::OutputPointIdentifier |
Reimplemented from itk::QuadEdgeMeshToQuadEdgeMeshFilter< TInputMesh, TOutputMesh >.
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 |
Reimplemented from itk::QuadEdgeMeshToQuadEdgeMeshFilter< TInputMesh, TOutputMesh >.
Definition at line 97 of file itkNormalQuadEdgeMeshFilter.h.
typedef OutputMeshType::PointsContainerPointer itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::OutputPointsContainerPointer |
Reimplemented from itk::QuadEdgeMeshToQuadEdgeMeshFilter< TInputMesh, TOutputMesh >.
Definition at line 96 of file itkNormalQuadEdgeMeshFilter.h.
typedef OutputMeshType::PointType itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::OutputPointType |
Reimplemented from itk::QuadEdgeMeshToQuadEdgeMeshFilter< TInputMesh, TOutputMesh >.
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 |
Reimplemented from itk::QuadEdgeMeshToQuadEdgeMeshFilter< TInputMesh, TOutputMesh >.
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 |
Reimplemented from itk::QuadEdgeMeshToQuadEdgeMeshFilter< TInputMesh, TOutputMesh >.
Definition at line 74 of file itkNormalQuadEdgeMeshFilter.h.
typedef NormalQuadEdgeMeshFilter itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::Self |
Basic types.
Reimplemented from itk::QuadEdgeMeshToQuadEdgeMeshFilter< TInputMesh, TOutputMesh >.
Definition at line 72 of file itkNormalQuadEdgeMeshFilter.h.
typedef QuadEdgeMeshToQuadEdgeMeshFilter< TInputMesh, TOutputMesh > itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::Superclass |
Reimplemented from itk::QuadEdgeMeshToQuadEdgeMeshFilter< TInputMesh, TOutputMesh >.
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.
itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::NormalQuadEdgeMeshFilter | ( | ) | [protected] |
itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::~NormalQuadEdgeMeshFilter | ( | ) | [protected] |
itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::NormalQuadEdgeMeshFilter | ( | const Self & | ) | [private] |
void itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::ComputeAllFaceNormals | ( | ) | [protected] |
Compute the normal to all faces on the mesh.
void itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::ComputeAllVertexNormals | ( | ) | [protected] |
Compute the normal to all vertices on the mesh.
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.
OutputVertexNormalType itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::ComputeVertexNormal | ( | const OutputPointIdentifier & | iId | ) | [protected] |
Compute the normal to one vertex by a weighted sum of the faces normal in the 0-ring.
virtual::itk::LightObject::Pointer itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::CreateAnother | ( | void | ) | 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 >.
void itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::GenerateData | ( | ) | [protected, virtual] |
Reimplemented from itk::ProcessObject.
virtual const char* itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::QuadEdgeMeshToQuadEdgeMeshFilter< TInputMesh, TOutputMesh >.
virtual WeightType itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::GetWeight | ( | ) | const [virtual] |
static Pointer itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from itk::QuadEdgeMeshToQuadEdgeMeshFilter< TInputMesh, TOutputMesh >.
void itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::operator= | ( | const Self & | ) | [private] |
Time when GenerateOutputInformation was last called.
Reimplemented from itk::QuadEdgeMeshToQuadEdgeMeshFilter< TInputMesh, TOutputMesh >.
void itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, virtual] |
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 void itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::SetWeight | ( | WeightType | _arg | ) | [virtual] |
OutputVertexNormalComponentType itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::Weight | ( | const OutputPointIdentifier & | iPId, |
const OutputCellIdentifier & | iCId | ||
) | [protected] |
Definition of the weight in the 0-ring used for the vertex normal computation. By default m_Weight = THURMER;.
WeightType itk::NormalQuadEdgeMeshFilter< TInputMesh, TOutputMesh >::m_Weight [protected] |
Definition at line 132 of file itkNormalQuadEdgeMeshFilter.h.