18 #ifndef __itkMeshFromContinuousSphericalFunctionImageFilter_h 19 #define __itkMeshFromContinuousSphericalFunctionImageFilter_h 40 template <
class TInputImage,
class TOutputMesh=vtkPolyData>
92 itkSetMacro(BasicShape, BasicShapeType);
93 itkGetMacro(BasicShape, BasicShapeType);
95 itkSetMacro(TessellationOrder,
unsigned int);
96 itkGetMacro(TessellationOrder,
unsigned int);
98 itkSetMacro(BasisMatrix, MatrixPointer);
99 itkGetMacro(BasisMatrix, MatrixPointer);
105 return MatrixPointer();
121 utlSAGlobalException(this->m_ColorScheme!=Superclass::MAGNITUDE && this->m_ColorScheme!=Superclass::DIRECTION)
122 (this->m_ColorScheme).msg(
"wrong m_ColorScheme");
124 (m_Stretch)(this->m_ColorScheme).msg(
"If m_Stretch is set off, then m_ColorScheme has to be MAGNITUDE");
127 void ScaleSamples(VectorType& b)
const;
129 void PrintSelf(std::ostream& os, Indent indent)
const ITK_OVERRIDE;
131 typename LightObject::Pointer InternalClone()
const ITK_OVERRIDE;
134 void ThreadedGenerateData(
const typename TInputImage::RegionType& regionForThread,ThreadIdType threadId )
ITK_OVERRIDE;
148 void operator=(
const Self&);
155 #define ITK_TEMPLATE_MeshFromContinuousSphericalFunctionImageFilter(_, EXPORT, x, y) namespace itk { \ 156 _(2(class EXPORT MeshFromContinuousSphericalFunctionImageFilter< ITK_TEMPLATE_2 x >)) \ 157 namespace Templates { typedef MeshFromContinuousSphericalFunctionImageFilter< ITK_TEMPLATE_2 x > MeshFromContinuousSphericalFunctionImageFilter##y; } \ 160 #if ITK_TEMPLATE_EXPLICIT 161 # include "Templates/itkMeshFromContinuousSphericalFunctionImageFilter+-.h" 164 #if !defined(ITK_MANUAL_INSTANTIATION) && !defined(__itkMeshFromContinuousSphericalFunctionImageFilter_hxx) Superclass::OutputMeshScalarType OutputMeshScalarType
Superclass::MatrixType MatrixType
~MeshFromContinuousSphericalFunctionImageFilter()
InputImageType::SpacingType InputImageSpacingType
MeshFromContinuousSphericalFunctionImageFilter Self
MeshFromSphericalFunctionImageFilter< TInputImage, TOutputMesh > Superclass
void VerifyInputParameters() const ITK_OVERRIDE
Superclass::OutputMeshPointsType OutputMeshPointsType
InputImageType::IndexType InputImageIndexType
InputImageType::SizeType InputImageSizeType
Superclass::OutputMeshRGBType OutputMeshRGBType
Superclass::OutputMeshPointsType OutputMeshPointsType
SmartPointer< Self > Pointer
TOutputMesh OutputMeshPolyDataType
#define utlSAGlobalException(expr)
Superclass::STDVectorType STDVectorType
InputImageType::ConstPointer InputImageConstPointer
InputImageType::SizeValueType InputImageSizeValueType
Superclass::OutputMeshRGBType OutputMeshRGBType
InputImageType::RegionType InputImageRegionType
InputImageType::Pointer InputImagePointer
Superclass::OutputMeshCellArrayType OutputMeshCellArrayType
unsigned int m_TessellationOrder
Superclass::VectorPointer VectorPointer
virtual VectorType NormalizeUnitIntegral(const VectorType &x) const
Superclass::STDVectorType STDVectorType
MatrixPointer m_BasisMatrix
Superclass::STDVectorPointer STDVectorPointer
SphereTessellatorType::BasicShapeType BasicShapeType
virtual MatrixPointer ComputeBasisMatrix()
InputImageType::PointType InputImagePointType
Superclass::OutputMeshPolyDataPointer OutputMeshPolyDataPointer
Compute mesh from general spherical function.
Superclass::OutputMeshCellArrayType OutputMeshCellArrayType
Superclass::VectorType VectorType
Compute mesh from continuous spherical function linearly represented by a set of bases.
Superclass::OutputMeshScalarType OutputMeshScalarType
InputImageType::PixelType InputImagePixelType
Superclass::OutputMeshPolyDataPointer OutputMeshPolyDataPointer
Superclass::VectorPointer VectorPointer
Superclass::STDVectorPointer STDVectorPointer
SphereTessellatorPointer m_SphereTessellator
Superclass::MatrixPointer MatrixPointer
TInputImage InputImageType
Superclass::VectorType VectorType
SmartPointer< Self > Pointer
SphereTessellatorType::Pointer SphereTessellatorPointer
BasicShapeType m_BasicShape
Tesselates a sphere via subdivision of tetrahedron, octahedron, or icosahedron.
Superclass::MatrixType MatrixType
SmartPointer< const Self > ConstPointer
#define itkSetGetBooleanMacro(name)
Superclass::MatrixPointer MatrixPointer
SphereTessellator< double > SphereTessellatorType