18 #ifndef itkBinaryMask3DMeshSource_h
19 #define itkBinaryMask3DMeshSource_h
21 #include "vnl/vnl_matrix_fixed.h"
70 template<
typename TInputImage,
typename TOutputMesh >
116 typedef typename InputImageType::SizeType
SizeType;
145 itkGetConstReferenceMacro(RegionOfInterest,
RegionType);
168 void XFlip(
unsigned char *tp);
170 void YFlip(
unsigned char *tp);
172 void ZFlip(
unsigned char *tp);
180 void inverse(
unsigned char *tp);
185 void AddCells(
unsigned char celltype,
unsigned char celltran,
int index);
188 unsigned char *nodesid,
193 void CellTransfer(
unsigned char *nodesid,
unsigned char celltran);
245 #ifndef ITK_MANUAL_INSTANTIATION
246 #include "itkBinaryMask3DMeshSource.hxx"
OutputMeshType::MeshTraits OMeshTraits
void YRotation(unsigned char *tp)
void PrintSelf(std::ostream &os, Indent indent) const override
RegionType m_RegionOfInterest
SizeValueType m_NumberOfNodes
Light weight base class for most itk classes.
OutputMeshType::CellTraits CellTraits
IdentifierType SearchThroughLastRow(int index, int start, int end)
InputPixelType m_ObjectValue
OutputMeshType * m_OutputMesh
ImageToMeshFilter< TInputImage, TOutputMesh > Superclass
IdentifierType m_CurrentVoxel[14]
SmartPointer< const Self > ConstPointer
void AddNodes(int index, unsigned char *nodesid, IdentifierType *globalnodesid, IdentifierType **currentrowtmp, IdentifierType **currentframetmp)
void XFlip(unsigned char *tp)
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
void CellTransfer(unsigned char *nodesid, unsigned char celltran)
CovariantVector< double, 2 > doubleVector
unsigned char m_PointFound
virtual void GenerateOutputInformation() override
TriangleCell< TCellInterface > TriCell
InputImageType::RegionType RegionType
void XRotation(unsigned char *tp)
ImageToMeshFilter is the base class for all process objects that output Mesh data and require image d...
OutputMeshType::PointsContainer PointsContainer
SizeValueType IdentifierType
BinaryMask3DMeshSource Self
bool m_RegionOfInterestProvidedByUser
IdentifierType ** m_LastFrame
virtual void SetInput(const InputImageType *inputImage)
OutputMeshType::Pointer OutputMeshPointer
const InputImageType * m_InputImage
void ZRotation(unsigned char *tp)
void AddCells(unsigned char celltype, unsigned char celltran, int index)
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
void inverse(unsigned char *tp)
virtual void Modified() const
OutputMeshType::CellsContainer CellsContainer
void ZFlip(unsigned char *tp)
unsigned short m_CurrentRowNum
void GenerateData() override
~BinaryMask3DMeshSource()
InputImageType::Pointer InputImagePointer
InputImageType::SpacingType SpacingType
InputImageType::PixelType InputPixelType
Control indentation during Print() invocation.
void SetInput(unsigned int idx, const InputImageType *input)
IdentifierType m_LastVoxel[14]
void YFlip(unsigned char *tp)
unsigned short m_CurrentFrameNum
InputImageType::PointType OriginType
InputImageType::SizeType InputImageSizeType
InputImageType::ConstPointer InputImageConstPointer
unsigned char m_LUT[256][2]
IdentifierType SearchThroughLastFrame(int index, int start, int end)
unsigned char m_AvailableNodes[14]
IdentifierType ** m_CurrentFrame
A templated class holding a n-Dimensional covariant vector.
unsigned short m_CurrentFrameIndex
TOutputMesh OutputMeshType
double m_LocationOffset[14][3]
OutputMeshType::PointsContainerPointer PointsContainerPointer
unsigned short m_LastFrameNum
OutputMeshType::CellsContainerPointer CellsContainerPointer
TInputImage InputImageType
SmartPointer< Self > Pointer
void operator=(const Self &)