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;
162 void operator=(
const Self &);
168 void XFlip(
unsigned char *tp);
170 void YFlip(
unsigned char *tp);
172 void ZFlip(
unsigned char *tp);
174 void XRotation(
unsigned char *tp);
176 void YRotation(
unsigned char *tp);
178 void ZRotation(
unsigned char *tp);
180 void inverse(
unsigned char *tp);
182 void InitializeLUT();
185 void AddCells(
unsigned char celltype,
unsigned char celltran,
int index);
187 void AddNodes(
int index,
188 unsigned char *nodesid,
193 void CellTransfer(
unsigned char *nodesid,
unsigned char celltran);
195 IdentifierType SearchThroughLastRow(
int index,
int start,
int end);
197 IdentifierType SearchThroughLastFrame(
int index,
int start,
int end);
199 unsigned char m_LUT[256][2];
215 unsigned char m_AvailableNodes[14];
217 double m_LocationOffset[14][3];
245 #ifndef ITK_MANUAL_INSTANTIATION
246 #include "itkBinaryMask3DMeshSource.hxx"