18 #ifndef __itkBinaryMask3DMeshSource_h
19 #define __itkBinaryMask3DMeshSource_h
21 #include "vnl/vnl_matrix_fixed.h"
70 template<
class TInputImage,
class TOutputMesh >
116 typedef typename InputImageType::SizeType
SizeType;
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;
161 void operator=(
const Self &);
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];
238 #ifndef ITK_MANUAL_INSTANTIATION
239 #include "itkBinaryMask3DMeshSource.hxx"