18#ifndef itkBinaryMask3DMeshSource_h
19#define itkBinaryMask3DMeshSource_h
21#include "vnl/vnl_matrix_fixed.h"
68template <
typename TInputImage,
typename TOutputMesh>
116 using SizeType =
typename InputImageType::SizeType;
198 AddCells(
unsigned char celltype,
unsigned char celltran,
int index);
202 unsigned char * nodesid,
262#ifndef ITK_MANUAL_INSTANTIATION
263# include "itkBinaryMask3DMeshSource.hxx"
itk::IdentifierType IdentifierType
RegionType m_RegionOfInterest
bool m_RegionOfInterestProvidedByUser
typename OutputMeshType::PointsContainerPointer PointsContainerPointer
typename InputImageType::Pointer InputImagePointer
typename OutputMeshType::PointType OPointType
typename InputImageType::RegionType RegionType
typename InputImageType::PointType OriginType
typename OutputMeshType::CellsContainerPointer CellsContainerPointer
typename OutputMeshType::PointsContainer PointsContainer
InputPixelType m_ObjectValue
void XRotation(unsigned char *x)
TriangleCell< TCellInterface > TriCell
SmartPointer< Self > Pointer
unsigned char m_LUT[256][2]
~BinaryMask3DMeshSource() override
IdentifierType ** m_CurrentFrame
TInputImage InputImageType
virtual void SetInput(const InputImageType *image)
void YRotation(unsigned char *x)
void inverse(unsigned char *x)
ImageRegionConstIterator< InputImageType > InputImageIterator
typename OutputMeshType::MeshTraits OMeshTraits
double m_LocationOffset[14][3]
typename InputImageType::ConstPointer InputImageConstPointer
OutputMeshType * m_OutputMesh
CellInterface< OPixelType, CellTraits > TCellInterface
SizeValueType m_NumberOfNodes
void SetRegionOfInterest(const RegionType &iRegion)
unsigned char m_PointFound
typename OutputMeshType::CellTraits CellTraits
BinaryMask3DMeshSource Self
TOutputMesh OutputMeshType
IdentifierType ** m_CurrentRow
void XFlip(unsigned char *x)
void ZRotation(unsigned char *x)
itk::SizeValueType SizeValueType
typename InputImageType::IndexType InputImageIndexType
void GenerateData() override
typename InputImageType::SizeType SizeType
typename OutputMeshType::CellsContainer CellsContainer
ImageToMeshFilter< TInputImage, TOutputMesh > Superclass
typename TriCell::SelfAutoPointer TriCellAutoPointer
CovariantVector< int, 2 > intVector
SizeValueType m_NumberOfCells
IdentifierType m_CurrentVoxel[14]
void GenerateOutputInformation() override
typename InputImageType::SpacingType SpacingType
typename InputImageType::SizeType InputImageSizeType
IdentifierType ** m_LastFrame
IdentifierType SearchThroughLastFrame(int index, int start, int end)
IdentifierType ** m_LastRow
typename OMeshTraits::PixelType OPixelType
typename OutputMeshType::Pointer OutputMeshPointer
typename InputImageType::PixelType InputPixelType
CovariantVector< double, 2 > doubleVector
IdentifierType SearchThroughLastRow(int index, int start, int end)
unsigned char m_AvailableNodes[14]
IdentifierType m_LastVoxel[14]
void CellTransfer(unsigned char *nodesid, unsigned char celltran)
void PrintSelf(std::ostream &os, Indent indent) const override
void YFlip(unsigned char *x)
void AddNodes(int index, unsigned char *nodesid, IdentifierType *globalnodesid, IdentifierType **currentrowtmp, IdentifierType **currentframetmp)
void AddCells(unsigned char celltype, unsigned char celltran, int index)
const InputImageType * m_InputImage
SmartPointer< const Self > ConstPointer
void ZFlip(unsigned char *x)
An abstract interface for cells.
A templated class holding a n-Dimensional covariant vector.
A multi-dimensional iterator templated over image type that walks a region of pixels.
void SetInput(unsigned int idx, const InputImageType *input)
Control indentation during Print() invocation.
virtual void Modified() const
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
SizeValueType IdentifierType
unsigned long SizeValueType