18 #ifndef itkRegularSphereMeshSource_h 19 #define itkRegularSphereMeshSource_h 40 template<
typename TOutputMesh >
59 typedef typename OutputMeshType::PointType
PointType;
80 itkSetMacro(Resolution,
unsigned int);
81 itkGetConstMacro(Resolution,
unsigned int);
85 itkSetMacro(Center, PointType);
86 itkGetConstMacro(Center, PointType);
92 itkSetMacro(Scale, VectorType);
93 itkGetConstMacro(Scale, VectorType);
103 PointType
Divide(
const PointType & p1,
const PointType & p2)
const;
105 void AddCell(OutputMeshType *mesh,
const typename OutputMeshType::PointIdentifier *pointIds,
IdentifierType idx);
118 void operator=(const Self &) ITK_DELETE_FUNCTION;
122 #ifndef ITK_MANUAL_INSTANTIATION 123 #include "itkRegularSphereMeshSource.hxx" 126 #endif //_itkRegularSphereMeshSource_h OutputMeshType::MeshTraits MeshTraits
TOutputMesh OutputMeshType
TriCellType::SelfAutoPointer TriCellAutoPointer
OutputMeshType::PointsContainerPointer PointsContainerPointer
itk::SmartPointer< Self > Pointer
A wrapper of the STL "map" container.
MeshTraits::PixelType PixelType
OutputMeshType::PointsContainer PointsContainer
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
void GenerateData() override
std::pair< IdentifierType, IdentifierType > IndexPairType
An abstract interface for cells.
Inputs are the center of the mesh, the scale (radius in each dimension) of the mesh and a resolution ...
PointType Divide(const PointType &p1, const PointType &p2) const
unsigned int m_Resolution
RegularSphereMeshSource Self
Base class for all process objects that output mesh data.
TriCellType::CellAutoPointer CellAutoPointer
SizeValueType IdentifierType
RegularSphereMeshSource()
OutputMeshType::PointType PointType
itk::SmartPointer< const Self > ConstPointer
PointType::VectorType VectorType
itk::TriangleCell< CellInterfaceType > TriCellType
OutputMeshType::CellTraits CellTraits
~RegularSphereMeshSource()
itk::MeshSource< TOutputMesh > Superclass
Control indentation during Print() invocation.
itk::MapContainer< IndexPairType, IdentifierType > PointMapType
itk::CellInterface< PixelType, CellTraits > CellInterfaceType
OutputMeshType::Pointer OutputMeshPointer
void AddCell(OutputMeshType *mesh, const typename OutputMeshType::PointIdentifier *pointIds, IdentifierType idx)
void PrintSelf(std::ostream &os, itk::Indent indent) const override