18 #ifndef itkBinaryMask3DMeshSource_h
19 #define itkBinaryMask3DMeshSource_h
21 #include "vnl/vnl_matrix_fixed.h"
70 template<
typename TInputImage,
typename TOutputMesh >
132 using Superclass::SetInput;
137 if( iRegion != m_RegionOfInterest )
139 this->m_RegionOfInterest = iRegion;
140 this->m_RegionOfInterestProvidedByUser =
true;
145 itkGetConstReferenceMacro(RegionOfInterest, RegionType);
150 void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
152 void GenerateData() ITK_OVERRIDE;
155 bool m_RegionOfInterestProvidedByUser;
158 virtual
void GenerateOutputInformation() ITK_OVERRIDE {}
167 void XFlip(
unsigned char *tp);
169 void YFlip(
unsigned char *tp);
171 void ZFlip(
unsigned char *tp);
173 void XRotation(
unsigned char *tp);
175 void YRotation(
unsigned char *tp);
177 void ZRotation(
unsigned char *tp);
179 void inverse(
unsigned char *tp);
181 void InitializeLUT();
184 void AddCells(
unsigned char celltype,
unsigned char celltran,
int index);
186 void AddNodes(
int index,
187 unsigned char *nodesid,
192 void CellTransfer(
unsigned char *nodesid,
unsigned char celltran);
194 IdentifierType SearchThroughLastRow(
int index,
int start,
int end);
196 IdentifierType SearchThroughLastFrame(
int index,
int start,
int end);
198 unsigned char m_LUT[256][2];
214 unsigned char m_AvailableNodes[14];
216 double m_LocationOffset[14][3];
244 #ifndef ITK_MANUAL_INSTANTIATION
245 #include "itkBinaryMask3DMeshSource.hxx"
OutputMeshType::MeshTraits OMeshTraits
SizeValueType m_NumberOfNodes
Light weight base class for most itk classes.
OutputMeshType::CellTraits CellTraits
InputPixelType m_ObjectValue
OutputMeshType * m_OutputMesh
ImageToMeshFilter< TInputImage, TOutputMesh > Superclass
SmartPointer< const Self > ConstPointer
IdentifierType ** m_CurrentRow
void SetRegionOfInterest(const RegionType &iRegion)
ImageRegionConstIterator< InputImageType > InputImageIterator
OMeshTraits::PixelType OPixelType
itk::IdentifierType IdentifierType
InputImageType::IndexType InputImageIndexType
unsigned short m_LastRowNum
TriCell::SelfAutoPointer TriCellAutoPointer
unsigned short m_CurrentRowIndex
CellInterface< OPixelType, CellTraits > TCellInterface
An abstract interface for cells.
unsigned long SizeValueType
InputImageType::SizeType SizeType
IdentifierType ** m_LastRow
CovariantVector< double, 2 > doubleVector
unsigned char m_PointFound
TriangleCell< TCellInterface > TriCell
InputImageType::RegionType RegionType
ImageToMeshFilter is the base class for all process objects that output Mesh data and require image d...
OutputMeshType::PointsContainer PointsContainer
SizeValueType IdentifierType
BinaryMask3DMeshSource Self
IdentifierType ** m_LastFrame
OutputMeshType::Pointer OutputMeshPointer
const InputImageType * m_InputImage
ImageBaseType::PointType PointType
A multi-dimensional iterator templated over image type that walks a region of pixels.
CovariantVector< int, 2 > intVector
SizeValueType m_NumberOfCells
OutputMeshType::PointType OPointType
itk::SizeValueType SizeValueType
OutputMeshType::CellsContainer CellsContainer
unsigned short m_CurrentRowNum
InputImageType::Pointer InputImagePointer
InputImageType::SpacingType SpacingType
InputImageType::PixelType InputPixelType
Control indentation during Print() invocation.
ImageBaseType::SizeType SizeType
unsigned short m_CurrentFrameNum
InputImageType::PointType OriginType
InputImageType::SizeType InputImageSizeType
InputImageType::ConstPointer InputImageConstPointer
IdentifierType ** m_CurrentFrame
A templated class holding a n-Dimensional covariant vector.
unsigned short m_CurrentFrameIndex
TOutputMesh OutputMeshType
OutputMeshType::PointsContainerPointer PointsContainerPointer
unsigned short m_LastFrameNum
OutputMeshType::CellsContainerPointer CellsContainerPointer
TInputImage InputImageType
SmartPointer< Self > Pointer
ImageBaseType::IndexType IndexType