|
ITK
6.0.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkBinaryMask3DMeshSource_h
19 #define itkBinaryMask3DMeshSource_h
21 #include "vnl/vnl_matrix_fixed.h"
70 template <
typename TInputImage,
typename TOutputMesh>
134 using Superclass::SetInput;
141 if (iRegion != m_RegionOfInterest)
143 this->m_RegionOfInterest = iRegion;
144 this->m_RegionOfInterestProvidedByUser =
true;
149 itkGetConstReferenceMacro(RegionOfInterest,
RegionType);
155 PrintSelf(std::ostream & os,
Indent indent)
const override;
158 GenerateData()
override;
161 bool m_RegionOfInterestProvidedByUser{
false };
175 XFlip(
unsigned char * x);
178 YFlip(
unsigned char * x);
181 ZFlip(
unsigned char * x);
184 XRotation(
unsigned char * x);
187 YRotation(
unsigned char * x);
190 ZRotation(
unsigned char * x);
193 inverse(
unsigned char * x);
200 AddCells(
unsigned char celltype,
unsigned char celltran,
int index);
204 unsigned char * nodesid,
210 CellTransfer(
unsigned char * nodesid,
unsigned char celltran);
213 SearchThroughLastRow(
int index,
int start,
int end);
216 SearchThroughLastFrame(
int index,
int start,
int end);
218 unsigned char m_LUT[256][2]{};
228 int m_CurrentRowIndex{ 0 };
229 int m_CurrentFrameIndex{ 0 };
230 int m_LastRowNum{ 0 };
231 int m_LastFrameNum{ 0 };
232 int m_CurrentRowNum{ 200 };
233 int m_CurrentFrameNum{ 2000 };
234 unsigned char m_AvailableNodes[14]{};
236 double m_LocationOffset[14][3]{};
241 int m_NodeLimit{ 2000 };
242 int m_CellLimit{ 4000 };
243 int m_ImageWidth{ 0 };
244 int m_ImageHeight{ 0 };
245 int m_ImageDepth{ 0 };
248 int m_FrameFlag{ 0 };
249 int m_LastRowIndex{ 0 };
250 int m_LastVoxelIndex{ 0 };
251 int m_LastFrameIndex{ 0 };
253 unsigned char m_PointFound{ 0 };
264 #ifndef ITK_MANUAL_INSTANTIATION
265 # include "itkBinaryMask3DMeshSource.hxx"
SmartPointer< Self > Pointer
typename OutputMeshType::MeshTraits OMeshTraits
SmartPointer< const Self > ConstPointer
typename OMeshTraits::PixelType OPixelType
typename InputImageType::SizeType InputImageSizeType
ImageBaseType::PointType PointType
void GenerateOutputInformation() override
ImageBaseType::SizeType SizeType
typename OutputMeshType::PointsContainerPointer PointsContainerPointer
Control indentation during Print() invocation.
itk::SizeValueType SizeValueType
ImageBaseType::IndexType IndexType
typename InputImageType::IndexType InputImageIndexType
typename TriCell::SelfAutoPointer TriCellAutoPointer
Light weight base class for most itk classes.
typename InputImageType::RegionType RegionType
ImageBaseType::RegionType RegionType
typename InputImageType::PointType OriginType
typename InputImageType::SizeType SizeType
ImageToMeshFilter is the base class for all process objects that output Mesh data and require image d...
typename OutputMeshType::CellsContainer CellsContainer
typename InputImageType::ConstPointer InputImageConstPointer
itk::IdentifierType IdentifierType
A templated class holding a n-Dimensional covariant vector.
typename InputImageType::Pointer InputImagePointer
typename OutputMeshType::CellTraits CellTraits
typename InputImageType::PixelType InputPixelType
An abstract interface for cells.
void SetRegionOfInterest(const RegionType &iRegion)
typename OutputMeshType::Pointer OutputMeshPointer
typename InputImageType::SpacingType SpacingType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
typename OutputMeshType::CellsContainerPointer CellsContainerPointer
TInputImage InputImageType
A multi-dimensional iterator templated over image type that walks a region of pixels.
TOutputMesh OutputMeshType
typename OutputMeshType::PointsContainer PointsContainer
SizeValueType IdentifierType
typename OutputMeshType::PointType OPointType
unsigned long SizeValueType