ITK
5.0.0
Insight Segmentation and Registration Toolkit
|
#include <itkConformalFlatteningMeshFilter.h>
ConformalFlatteningMeshFilter applies a conformal mapping from 3D to 2D.
This code was contributed in the Insight Journal paper: "Conformal Flattening ITK Filter" by Gao Y., Melonakos J., Tannenbaum A. https://hdl.handle.net/1926/225 http://www.insight-journal.org/browse/publication/112
Definition at line 48 of file itkConformalFlatteningMeshFilter.h.
Public Types | |
using | CellAutoPointer = typename CellType::CellAutoPointer |
using | CellIdentifier = typename InputMeshType::CellIdentifier |
using | CellIterator = typename CellsContainer::ConstIterator |
using | CellsContainer = typename InputMeshType::CellsContainer |
using | CellType = typename InputMeshType::CellType |
using | ConstPointer = SmartPointer< const Self > |
using | CoordRepType = double |
using | InputMeshConstPointer = typename InputMeshType::ConstPointer |
using | InputMeshType = TInputMesh |
using | InputPointType = typename InputMeshType::PointType |
using | OutputMeshPointer = typename OutputMeshType::Pointer |
using | OutputMeshType = TOutputMesh |
using | OutputPointType = typename OutputMeshType::PointType |
using | Pointer = SmartPointer< Self > |
using | PointIdentifier = typename InputMeshType::PointIdentifier |
using | PointIdIterator = typename CellType::PointIdIterator |
using | PointIterator = typename PointsContainer::ConstIterator |
using | PointsContainer = typename InputMeshType::PointsContainer |
using | Self = ConformalFlatteningMeshFilter |
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 |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::MeshToMeshFilter< TInputMesh, TOutputMesh > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::MeshSource< TOutputMesh > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static constexpr unsigned int | InputPointDimension = TInputMesh::PointDimension |
static constexpr unsigned int | OutputPointDimension = TOutputMesh::PointDimension |
Private Types | |
using | SparseMatrixCoordType = vnl_sparse_matrix< CoordRepType > |
using | VectorCoordType = vnl_vector< CoordRepType > |
Private Attributes | |
double | m_MapScale |
bool | m_MapToSphere |
unsigned int | m_PolarCellIdentifier |
Additional Inherited Members | |
Protected Attributes inherited from itk::ProcessObject | |
TimeStamp | m_OutputInformationMTime |
bool | m_Updating |
Protected Attributes inherited from itk::LightObject | |
std::atomic< int > | m_ReferenceCount |
using itk::ConformalFlatteningMeshFilter< TInputMesh, TOutputMesh >::CellAutoPointer = typename CellType::CellAutoPointer |
Definition at line 92 of file itkConformalFlatteningMeshFilter.h.
using itk::ConformalFlatteningMeshFilter< TInputMesh, TOutputMesh >::CellIdentifier = typename InputMeshType::CellIdentifier |
Definition at line 87 of file itkConformalFlatteningMeshFilter.h.
using itk::ConformalFlatteningMeshFilter< TInputMesh, TOutputMesh >::CellIterator = typename CellsContainer::ConstIterator |
Definition at line 89 of file itkConformalFlatteningMeshFilter.h.
using itk::ConformalFlatteningMeshFilter< TInputMesh, TOutputMesh >::CellsContainer = typename InputMeshType::CellsContainer |
Definition at line 85 of file itkConformalFlatteningMeshFilter.h.
using itk::ConformalFlatteningMeshFilter< TInputMesh, TOutputMesh >::CellType = typename InputMeshType::CellType |
Definition at line 90 of file itkConformalFlatteningMeshFilter.h.
using itk::ConformalFlatteningMeshFilter< TInputMesh, TOutputMesh >::ConstPointer = SmartPointer< const Self > |
Definition at line 63 of file itkConformalFlatteningMeshFilter.h.
using itk::ConformalFlatteningMeshFilter< TInputMesh, TOutputMesh >::CoordRepType = double |
Type for representing coordinates.
Definition at line 72 of file itkConformalFlatteningMeshFilter.h.
using itk::ConformalFlatteningMeshFilter< TInputMesh, TOutputMesh >::InputMeshConstPointer = typename InputMeshType::ConstPointer |
Definition at line 65 of file itkConformalFlatteningMeshFilter.h.
using itk::ConformalFlatteningMeshFilter< TInputMesh, TOutputMesh >::InputMeshType = TInputMesh |
Definition at line 57 of file itkConformalFlatteningMeshFilter.h.
using itk::ConformalFlatteningMeshFilter< TInputMesh, TOutputMesh >::InputPointType = typename InputMeshType::PointType |
Definition at line 67 of file itkConformalFlatteningMeshFilter.h.
using itk::ConformalFlatteningMeshFilter< TInputMesh, TOutputMesh >::OutputMeshPointer = typename OutputMeshType::Pointer |
Definition at line 66 of file itkConformalFlatteningMeshFilter.h.
using itk::ConformalFlatteningMeshFilter< TInputMesh, TOutputMesh >::OutputMeshType = TOutputMesh |
Definition at line 58 of file itkConformalFlatteningMeshFilter.h.
using itk::ConformalFlatteningMeshFilter< TInputMesh, TOutputMesh >::OutputPointType = typename OutputMeshType::PointType |
Definition at line 68 of file itkConformalFlatteningMeshFilter.h.
using itk::ConformalFlatteningMeshFilter< TInputMesh, TOutputMesh >::Pointer = SmartPointer< Self > |
Definition at line 62 of file itkConformalFlatteningMeshFilter.h.
using itk::ConformalFlatteningMeshFilter< TInputMesh, TOutputMesh >::PointIdentifier = typename InputMeshType::PointIdentifier |
Definition at line 86 of file itkConformalFlatteningMeshFilter.h.
using itk::ConformalFlatteningMeshFilter< TInputMesh, TOutputMesh >::PointIdIterator = typename CellType::PointIdIterator |
Definition at line 91 of file itkConformalFlatteningMeshFilter.h.
using itk::ConformalFlatteningMeshFilter< TInputMesh, TOutputMesh >::PointIterator = typename PointsContainer::ConstIterator |
Definition at line 88 of file itkConformalFlatteningMeshFilter.h.
using itk::ConformalFlatteningMeshFilter< TInputMesh, TOutputMesh >::PointsContainer = typename InputMeshType::PointsContainer |
Definition at line 84 of file itkConformalFlatteningMeshFilter.h.
using itk::ConformalFlatteningMeshFilter< TInputMesh, TOutputMesh >::Self = ConformalFlatteningMeshFilter |
Standard class type aliases.
Definition at line 55 of file itkConformalFlatteningMeshFilter.h.
|
private |
Definition at line 122 of file itkConformalFlatteningMeshFilter.h.
using itk::ConformalFlatteningMeshFilter< TInputMesh, TOutputMesh >::Superclass = MeshToMeshFilter< TInputMesh, TOutputMesh > |
Definition at line 60 of file itkConformalFlatteningMeshFilter.h.
|
private |
Definition at line 121 of file itkConformalFlatteningMeshFilter.h.
|
protected |
|
inlineoverrideprotected |
Definition at line 114 of file itkConformalFlatteningMeshFilter.h.
|
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::MeshToMeshFilter< TInputMesh, TOutputMesh >.
|
overrideprotectedvirtual |
Generate Requested Data
Reimplemented from itk::ProcessObject.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::MeshToMeshFilter< TInputMesh, TOutputMesh >.
void itk::ConformalFlatteningMeshFilter< TInputMesh, TOutputMesh >::MapToPlane | ( | ) |
Define that the input surface will be mapped to a plane. This skips the steps of the stereographic projection.
void itk::ConformalFlatteningMeshFilter< TInputMesh, TOutputMesh >::MapToSphere | ( | ) |
Define that the input surface will be mapped to a sphere
|
static |
Method for creation through the object factory.
|
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 >.
void itk::ConformalFlatteningMeshFilter< TInputMesh, TOutputMesh >::SetPolarCellIdentifier | ( | CellIdentifier | cellId | ) |
Select the cell that will be used as reference for the flattening. This value must be the identifier of a cell existing in the input Mesh. A point of this cell will be mapped to infinity on the plane, or it will be mapped to the north-pole on the sphere. It is recommended to select a cell whose curvature is relatively flat.
void itk::ConformalFlatteningMeshFilter< TInputMesh, TOutputMesh >::SetScale | ( | double | ) |
Define the scale of the mapping. The largest coordinates of the furthest point in the plane is m_MapScale.
|
static |
Convenient constants obtained from TMeshTraits template parameter.
Definition at line 81 of file itkConformalFlatteningMeshFilter.h.
|
private |
The scale when mapping to the plane. Determines how far the farthest point goes.
Definition at line 133 of file itkConformalFlatteningMeshFilter.h.
|
private |
Whether the result is sphere or plane.
Definition at line 129 of file itkConformalFlatteningMeshFilter.h.
|
private |
Cell Id in which the point P, which is used to define the mapping, lies in.
Definition at line 126 of file itkConformalFlatteningMeshFilter.h.
|
static |
Definition at line 82 of file itkConformalFlatteningMeshFilter.h.