ITK  5.0.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Types | Private Member Functions | Private Attributes | List of all members
itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh > Class Template Reference

#include <itkBinaryMask3DMeshSource.h>

+ Inheritance diagram for itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >:
+ Collaboration diagram for itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >:

Detailed Description

template<typename TInputImage, typename TOutputMesh>
class itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >

This class tries to construct a 3D mesh surface based on a binary mask. It can be used to integrate a region-based segmentation method and a deformable model into one hybrid framework.
To construct a mesh, we need to construct elements in a voxel and combine those elements later to form the final mesh. Before go through every voxel in the 3D volume, we first construct 2 look up tables. The index of these 2 tables are the on-off combination of the 8 nodes that form the voxel. So both of these tables has the size of $2^8$ bytes. According to previous work, all those $2^8$ combination of the nodes can be grouped into 16 final combinations. In the first table, we record the final combination that can be transformed from the current combination. The entries of the second table are made up of the transforming sequence that is necessary for the current combination transform to one of the final combinations.
We then go through the 3D volume voxel by voxel, using those two tables we have defined to construct elements within each voxel. We then merge all these mesh elements into one 3D mesh.
PARAMETERS
The ObjectValue parameter is used to identify the object. In most applications, pixels in the object region are assigned to "1", so the default value of ObjectValue is set to "1"
REFERENCE
W. Lorensen and H. Cline, "Marching Cubes: A High Resolution 3D Surface Construction Algorithm", Computer Graphics 21, pp. 163-169, 1987.
INPUT
The input should be a 3D binary image.
Examples:
Examples/Filtering/SurfaceExtraction.cxx, and SphinxExamples/src/Core/Mesh/ExtractIsoSurface/Code.cxx.

Definition at line 71 of file itkBinaryMask3DMeshSource.h.

Public Types

using CellsContainer = typename OutputMeshType::CellsContainer
 
using CellsContainerPointer = typename OutputMeshType::CellsContainerPointer
 
using CellTraits = typename OutputMeshType::CellTraits
 
using ConstPointer = SmartPointer< const Self >
 
using doubleVector = CovariantVector< double, 2 >
 
using IdentifierType = itk::IdentifierType
 
using InputImageConstPointer = typename InputImageType::ConstPointer
 
using InputImageIndexType = typename InputImageType::IndexType
 
using InputImageIterator = ImageRegionConstIterator< InputImageType >
 
using InputImagePointer = typename InputImageType::Pointer
 
using InputImageType = TInputImage
 
using InputPixelType = typename InputImageType::PixelType
 
using intVector = CovariantVector< int, 2 >
 
using OMeshTraits = typename OutputMeshType::MeshTraits
 
using OPixelType = typename OMeshTraits::PixelType
 
using OPointType = typename OutputMeshType::PointType
 
using OriginType = typename InputImageType::PointType
 
using OutputMeshPointer = typename OutputMeshType::Pointer
 
using OutputMeshType = TOutputMesh
 
using Pointer = SmartPointer< Self >
 
using PointsContainer = typename OutputMeshType::PointsContainer
 
using PointsContainerPointer = typename OutputMeshType::PointsContainerPointer
 
using RegionType = typename InputImageType::RegionType
 
using Self = BinaryMask3DMeshSource
 
using SizeType = typename InputImageType::SizeType
 
using SizeValueType = itk::SizeValueType
 
using SpacingType = typename InputImageType::SpacingType
 
using Superclass = ImageToMeshFilter< TInputImage, TOutputMesh >
 
using TCellInterface = CellInterface< OPixelType, CellTraits >
 
using TriCell = TriangleCell< TCellInterface >
 
using TriCellAutoPointer = typename TriCell::SelfAutoPointer
 
- Public Types inherited from itk::ImageToMeshFilter< TInputImage, TOutputMesh >
using ConstPointer = SmartPointer< const Self >
 
using DataObjectPointerArraySizeType = ProcessObject::DataObjectPointerArraySizeType
 
using InputImageConstPointer = typename InputImageType::ConstPointer
 
using InputImagePixelType = typename InputImageType::PixelType
 
using InputImagePointer = typename InputImageType::Pointer
 
using InputImageRegionType = typename InputImageType::RegionType
 
using InputImageType = TInputImage
 
using OutputMeshPointer = typename OutputMeshType::Pointer
 
using OutputMeshType = TOutputMesh
 
using Pointer = SmartPointer< Self >
 
using Self = ImageToMeshFilter
 
using Superclass = MeshSource< TOutputMesh >
 
- Public Types inherited from itk::MeshSource< TOutputMesh >
using ConstPointer = SmartPointer< const Self >
 
using DataObjectIdentifierType = Superclass::DataObjectIdentifierType
 
using DataObjectPointer = DataObject::Pointer
 
using OutputMeshPointer = typename OutputMeshType::Pointer
 
using OutputMeshType = TOutputMesh
 
using Pointer = SmartPointer< Self >
 
using Self = MeshSource
 
using Superclass = ProcessObject
 
using DataObjectPointerArraySizeType = ProcessObject::DataObjectPointerArraySizeType
 
- Public Types inherited from itk::ProcessObject
using ConstPointer = SmartPointer< const Self >
 
using DataObjectIdentifierType = DataObject::DataObjectIdentifierType
 
using DataObjectPointer = DataObject::Pointer
 
using DataObjectPointerArray = std::vector< DataObjectPointer >
 
using DataObjectPointerArraySizeType = DataObjectPointerArray::size_type
 
using MultiThreaderType = MultiThreaderBase
 
using NameArray = std::vector< DataObjectIdentifierType >
 
using Pointer = SmartPointer< Self >
 
using Self = ProcessObject
 
using Superclass = Object
 
- Public Types inherited from itk::Object
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = Object
 
using Superclass = LightObject
 
- Public Types inherited from itk::LightObject
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = LightObject
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const char * GetNameOfClass () const
 
virtual SizeValueType GetNumberOfCells () const
 
virtual SizeValueType GetNumberOfNodes () const
 
virtual const RegionTypeGetRegionOfInterest () const
 
virtual void SetInput (const InputImageType *inputImage)
 
virtual void SetObjectValue (InputPixelType _arg)
 
void SetRegionOfInterest (const RegionType &iRegion)
 
- Public Member Functions inherited from itk::ImageToMeshFilter< TInputImage, TOutputMesh >
void GenerateOutputInformation () override
 
OutputMeshTypeGetOutput ()
 
DataObject::Pointer MakeOutput (DataObjectPointerArraySizeType idx) override
 
void SetInput (unsigned int idx, const InputImageType *input)
 
void SetInput (const InputImageType *input)
 
const InputImageTypeGetInput (unsigned int idx)
 
const InputImageTypeGetInput ()
 
- Public Member Functions inherited from itk::MeshSource< TOutputMesh >
virtual ::itk::LightObject::Pointer CreateAnother () const
 
OutputMeshTypeGetOutput ()
 
OutputMeshTypeGetOutput (unsigned int idx)
 
virtual void GraftNthOutput (unsigned int idx, DataObject *output)
 
virtual void GraftOutput (DataObject *output)
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *output)
 
void SetOutput (TOutputMesh *output)
 
DataObjectPointer MakeOutput (DataObjectPointerArraySizeType idx) override
 
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
 
virtual void AbortGenerateDataOn ()
 
virtual void EnlargeOutputRequestedRegion (DataObject *)
 
virtual const bool & GetAbortGenerateData () const
 
DataObjectPointerArray GetIndexedInputs ()
 
DataObjectPointerArray GetIndexedOutputs ()
 
NameArray GetInputNames () const
 
DataObjectPointerArray GetInputs ()
 
MultiThreaderTypeGetMultiThreader () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
 
DataObjectPointerArraySizeType GetNumberOfInputs () const
 
DataObjectPointerArraySizeType GetNumberOfOutputs () const
 
virtual
DataObjectPointerArraySizeType 
GetNumberOfValidRequiredInputs () const
 
NameArray GetOutputNames () const
 
DataObjectPointerArray GetOutputs ()
 
virtual const float & GetProgress () const
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
virtual DataObjectPointer MakeOutput (const DataObjectIdentifierType &)
 
virtual void PrepareOutputs ()
 
virtual void PropagateRequestedRegion (DataObject *output)
 
virtual void ResetPipeline ()
 
virtual void SetAbortGenerateData (bool _arg)
 
void SetMultiThreader (MultiThreaderType *threader)
 
virtual void Update ()
 
virtual void UpdateLargestPossibleRegion ()
 
virtual void UpdateOutputData (DataObject *output)
 
virtual void UpdateOutputInformation ()
 
void UpdateProgress (float progress)
 
virtual void SetReleaseDataFlag (bool flag)
 
virtual bool GetReleaseDataFlag () const
 
void ReleaseDataFlagOn ()
 
void ReleaseDataFlagOff ()
 
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
 
virtual const bool & GetReleaseDataBeforeUpdateFlag () const
 
virtual void ReleaseDataBeforeUpdateFlagOn ()
 
virtual void ReleaseDataBeforeUpdateFlagOff ()
 
virtual void SetNumberOfWorkUnits (ThreadIdType _arg)
 
virtual const ThreadIdTypeGetNumberOfWorkUnits () const
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetReferenceCount (int) override
 
void UnRegister () const noexceptoverride
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
void SetMetaDataDictionary (MetaDataDictionary &&rrhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::MeshSource< TOutputMesh >
static Pointer New ()
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool flag)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Protected Member Functions

 BinaryMask3DMeshSource ()
 
void GenerateData () override
 
void GenerateOutputInformation () override
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~BinaryMask3DMeshSource () override
 
- Protected Member Functions inherited from itk::ImageToMeshFilter< TInputImage, TOutputMesh >
 ImageToMeshFilter ()
 
 ~ImageToMeshFilter () override=default
 
- Protected Member Functions inherited from itk::MeshSource< TOutputMesh >
void GenerateInputRequestedRegion () override
 
 MeshSource ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~MeshSource () override=default
 
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
 
void AddOptionalInputName (const DataObjectIdentifierType &)
 
void AddOptionalInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
virtual void AddOutput (DataObject *output)
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
const DataObjectGetInput (const DataObjectIdentifierType &key) const
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredInputs () const
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredOutputs () const
 
bool IsIndexedInputName (const DataObjectIdentifierType &) const
 
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
 
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 
DataObjectPointerArraySizeType MakeIndexFromInputName (const DataObjectIdentifierType &name) const
 
DataObjectPointerArraySizeType MakeIndexFromOutputName (const DataObjectIdentifierType &name) const
 
DataObjectIdentifierType MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectIdentifierType MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const
 
virtual void PopBackInput ()
 
virtual void PopFrontInput ()
 
 ProcessObject ()
 
virtual void PropagateResetPipeline ()
 
virtual void PushBackInput (const DataObject *input)
 
virtual void PushFrontInput (const DataObject *input)
 
virtual void ReleaseInputs ()
 
virtual void RemoveInput (const DataObjectIdentifierType &key)
 
virtual void RemoveInput (DataObjectPointerArraySizeType)
 
virtual void RemoveOutput (const DataObjectIdentifierType &key)
 
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
 
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
 
virtual void RestoreInputReleaseDataFlags ()
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetNthInput (DataObjectPointerArraySizeType num, DataObject *input)
 
virtual void SetNthOutput (DataObjectPointerArraySizeType num, DataObject *output)
 
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
 
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual void SetOutput (const DataObjectIdentifierType &key, DataObject *output)
 
virtual void SetPrimaryInput (DataObject *input)
 
virtual void SetPrimaryOutput (DataObject *output)
 
void SetRequiredInputNames (const NameArray &)
 
virtual void VerifyInputInformation () ITKv5_CONST
 
virtual void VerifyPreconditions () ITKv5_CONST
 
 ~ProcessObject () override
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryInputName () const
 
DataObjectGetOutput (const DataObjectIdentifierType &key)
 
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryOutputName () const
 
DataObjectGetOutput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetOutput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryOutput ()
 
const DataObjectGetPrimaryOutput () const
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
 ~Object () override
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Protected Attributes

RegionType m_RegionOfInterest
 
bool m_RegionOfInterestProvidedByUser {false}
 
- Protected Attributes inherited from itk::ProcessObject
TimeStamp m_OutputInformationMTime
 
bool m_Updating
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount
 

Private Types

using InputImageSizeType = typename InputImageType::SizeType
 

Private Member Functions

void AddCells (unsigned char celltype, unsigned char celltran, int index)
 
void AddNodes (int index, unsigned char *nodesid, IdentifierType *globalnodesid, IdentifierType **currentrowtmp, IdentifierType **currentframetmp)
 
void CellTransfer (unsigned char *nodesid, unsigned char celltran)
 
void CreateMesh ()
 
void InitializeLUT ()
 
void inverse (unsigned char *tp)
 
IdentifierType SearchThroughLastFrame (int index, int start, int end)
 
IdentifierType SearchThroughLastRow (int index, int start, int end)
 
void XFlip (unsigned char *tp)
 
void XRotation (unsigned char *tp)
 
void YFlip (unsigned char *tp)
 
void YRotation (unsigned char *tp)
 
void ZFlip (unsigned char *tp)
 
void ZRotation (unsigned char *tp)
 

Private Attributes

unsigned char m_AvailableNodes [14]
 
int m_CellLimit {4000}
 
int m_ColFlag {0}
 
IdentifierType ** m_CurrentFrame {nullptr}
 
unsigned short m_CurrentFrameIndex {0}
 
unsigned short m_CurrentFrameNum {2000}
 
IdentifierType ** m_CurrentRow {nullptr}
 
unsigned short m_CurrentRowIndex {0}
 
unsigned short m_CurrentRowNum {200}
 
IdentifierType m_CurrentVoxel [14]
 
int m_FrameFlag {0}
 
int m_ImageDepth {0}
 
int m_ImageHeight {0}
 
int m_ImageWidth {0}
 
const InputImageTypem_InputImage
 
IdentifierType ** m_LastFrame {nullptr}
 
int m_LastFrameIndex {0}
 
unsigned short m_LastFrameNum {0}
 
IdentifierType ** m_LastRow {nullptr}
 
int m_LastRowIndex {0}
 
unsigned short m_LastRowNum {0}
 
IdentifierType m_LastVoxel [14]
 
int m_LastVoxelIndex {0}
 
double m_LocationOffset [14][3]
 
unsigned char m_LUT [256][2]
 
int m_NodeLimit {2000}
 
SizeValueType m_NumberOfCells {0}
 
SizeValueType m_NumberOfNodes {0}
 
InputPixelType m_ObjectValue
 
OutputMeshTypem_OutputMesh
 
unsigned char m_PointFound {0}
 
int m_RowFlag {0}
 

Member Typedef Documentation

template<typename TInputImage , typename TOutputMesh >
using itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::CellsContainer = typename OutputMeshType::CellsContainer

Definition at line 100 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
using itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::CellsContainerPointer = typename OutputMeshType::CellsContainerPointer

Definition at line 99 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
using itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::CellTraits = typename OutputMeshType::CellTraits

Definition at line 96 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
using itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::ConstPointer = SmartPointer< const Self >

Definition at line 80 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
using itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::doubleVector = CovariantVector< double, 2 >

Definition at line 101 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
using itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::IdentifierType = itk::IdentifierType

Definition at line 125 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
using itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::InputImageConstPointer = typename InputImageType::ConstPointer

Definition at line 113 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
using itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::InputImageIndexType = typename InputImageType::IndexType

Type definition for the classified image index type.

Definition at line 121 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
using itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::InputImageIterator = ImageRegionConstIterator< InputImageType >

Definition at line 123 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
using itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::InputImagePointer = typename InputImageType::Pointer

Definition at line 112 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
using itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::InputImageSizeType = typename InputImageType::SizeType
private

Definition at line 163 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
using itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::InputImageType = TInputImage

Input Image Type Definition.

Definition at line 111 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
using itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::InputPixelType = typename InputImageType::PixelType

Definition at line 114 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
using itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::intVector = CovariantVector< int, 2 >

Definition at line 102 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
using itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::OMeshTraits = typename OutputMeshType::MeshTraits

Definition at line 90 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
using itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::OPixelType = typename OMeshTraits::PixelType

Definition at line 92 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
using itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::OPointType = typename OutputMeshType::PointType

Definition at line 91 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
using itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::OriginType = typename InputImageType::PointType

Definition at line 116 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
using itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::OutputMeshPointer = typename OutputMeshType::Pointer

Some convenient type alias.

Definition at line 95 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
using itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::OutputMeshType = TOutputMesh

Hold on to the type information specified by the template parameters.

Definition at line 89 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
using itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::Pointer = SmartPointer< Self >

Definition at line 79 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
using itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::PointsContainer = typename OutputMeshType::PointsContainer

Definition at line 98 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
using itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::PointsContainerPointer = typename OutputMeshType::PointsContainerPointer

Definition at line 97 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
using itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::RegionType = typename InputImageType::RegionType

Definition at line 117 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
using itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::Self = BinaryMask3DMeshSource

Standard "Self" type alias.

Definition at line 77 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
using itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::SizeType = typename InputImageType::SizeType

Definition at line 118 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
using itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::SizeValueType = itk::SizeValueType

Definition at line 126 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
using itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::SpacingType = typename InputImageType::SpacingType

Definition at line 115 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
using itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::Superclass = ImageToMeshFilter< TInputImage, TOutputMesh >

Definition at line 78 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
using itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::TCellInterface = CellInterface< OPixelType, CellTraits >

Define the triangular cell types which forms the surface of the model and will be used in FEM application.

Definition at line 106 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
using itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::TriCell = TriangleCell< TCellInterface >

Definition at line 107 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
using itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::TriCellAutoPointer = typename TriCell::SelfAutoPointer

Definition at line 108 of file itkBinaryMask3DMeshSource.h.

Constructor & Destructor Documentation

template<typename TInputImage , typename TOutputMesh >
itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::BinaryMask3DMeshSource ( )
protected
template<typename TInputImage , typename TOutputMesh >
itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::~BinaryMask3DMeshSource ( )
overrideprotected

Member Function Documentation

template<typename TInputImage , typename TOutputMesh >
void itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::AddCells ( unsigned char  celltype,
unsigned char  celltran,
int  index 
)
private
template<typename TInputImage , typename TOutputMesh >
void itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::AddNodes ( int  index,
unsigned char *  nodesid,
IdentifierType globalnodesid,
IdentifierType **  currentrowtmp,
IdentifierType **  currentframetmp 
)
private
template<typename TInputImage , typename TOutputMesh >
void itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::CellTransfer ( unsigned char *  nodesid,
unsigned char  celltran 
)
private
template<typename TInputImage , typename TOutputMesh >
virtual::itk::LightObject::Pointer itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::CreateAnother ( ) const
virtual

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::Object.

template<typename TInputImage , typename TOutputMesh >
void itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::CreateMesh ( )
private
template<typename TInputImage , typename TOutputMesh >
void itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::GenerateData ( void  )
overrideprotectedvirtual

This method causes the filter to generate its output.

Reimplemented from itk::ProcessObject.

template<typename TInputImage , typename TOutputMesh >
void itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::GenerateOutputInformation ( )
inlineoverrideprotectedvirtual

Generate the information describing the output data. The default implementation of this method will copy information from the input to the output. A filter may override this method if its output will have different information than its input. For instance, a filter that shrinks an image will need to provide an implementation for this method that changes the spacing of the pixels. Such filters should call their superclass' implementation of this method prior to changing the information values they need (i.e. GenerateOutputInformation() should call Superclass::GenerateOutputInformation() prior to changing the information.

Reimplemented from itk::ProcessObject.

Definition at line 160 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
virtual const char* itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::ImageToMeshFilter< TInputImage, TOutputMesh >.

template<typename TInputImage , typename TOutputMesh >
virtual SizeValueType itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::GetNumberOfCells ( ) const
virtual
template<typename TInputImage , typename TOutputMesh >
virtual SizeValueType itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::GetNumberOfNodes ( ) const
virtual
template<typename TInputImage , typename TOutputMesh >
virtual const RegionType& itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::GetRegionOfInterest ( ) const
virtual
template<typename TInputImage , typename TOutputMesh >
void itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::InitializeLUT ( )
private
template<typename TInputImage , typename TOutputMesh >
void itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::inverse ( unsigned char *  tp)
private
template<typename TInputImage , typename TOutputMesh >
static Pointer itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::New ( )
static

Method for creation through the object factory.

template<typename TInputImage , typename TOutputMesh >
void itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotectedvirtual

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::ProcessObject.

template<typename TInputImage , typename TOutputMesh >
IdentifierType itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::SearchThroughLastFrame ( int  index,
int  start,
int  end 
)
private
template<typename TInputImage , typename TOutputMesh >
IdentifierType itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::SearchThroughLastRow ( int  index,
int  start,
int  end 
)
private
template<typename TInputImage , typename TOutputMesh >
virtual void itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::SetInput ( const InputImageType inputImage)
virtual
template<typename TInputImage , typename TOutputMesh >
virtual void itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::SetObjectValue ( InputPixelType  _arg)
virtual
template<typename TInputImage , typename TOutputMesh >
void itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::SetRegionOfInterest ( const RegionType iRegion)
inline

Definition at line 137 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
void itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::XFlip ( unsigned char *  tp)
private
template<typename TInputImage , typename TOutputMesh >
void itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::XRotation ( unsigned char *  tp)
private
template<typename TInputImage , typename TOutputMesh >
void itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::YFlip ( unsigned char *  tp)
private
template<typename TInputImage , typename TOutputMesh >
void itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::YRotation ( unsigned char *  tp)
private
template<typename TInputImage , typename TOutputMesh >
void itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::ZFlip ( unsigned char *  tp)
private
template<typename TInputImage , typename TOutputMesh >
void itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::ZRotation ( unsigned char *  tp)
private

Member Data Documentation

template<typename TInputImage , typename TOutputMesh >
unsigned char itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::m_AvailableNodes[14]
private

Definition at line 214 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
int itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::m_CellLimit {4000}
private

Definition at line 222 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
int itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::m_ColFlag {0}
private

Definition at line 226 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
IdentifierType** itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::m_CurrentFrame {nullptr}
private

Definition at line 206 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
unsigned short itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::m_CurrentFrameIndex {0}
private

Definition at line 209 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
unsigned short itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::m_CurrentFrameNum {2000}
private

Definition at line 213 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
IdentifierType** itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::m_CurrentRow {nullptr}
private

Definition at line 205 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
unsigned short itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::m_CurrentRowIndex {0}
private

Definition at line 208 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
unsigned short itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::m_CurrentRowNum {200}
private

Definition at line 212 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
IdentifierType itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::m_CurrentVoxel[14]
private

Definition at line 201 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
int itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::m_FrameFlag {0}
private

Definition at line 228 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
int itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::m_ImageDepth {0}
private

Definition at line 225 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
int itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::m_ImageHeight {0}
private

Definition at line 224 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
int itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::m_ImageWidth {0}
private

Definition at line 223 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
const InputImageType* itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::m_InputImage
private

Definition at line 240 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
IdentifierType** itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::m_LastFrame {nullptr}
private

Definition at line 204 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
int itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::m_LastFrameIndex {0}
private

Definition at line 231 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
unsigned short itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::m_LastFrameNum {0}
private

Definition at line 211 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
IdentifierType** itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::m_LastRow {nullptr}
private

Definition at line 203 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
int itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::m_LastRowIndex {0}
private

Definition at line 229 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
unsigned short itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::m_LastRowNum {0}
private

Definition at line 210 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
IdentifierType itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::m_LastVoxel[14]
private

Definition at line 200 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
int itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::m_LastVoxelIndex {0}
private

Definition at line 230 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
double itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::m_LocationOffset[14][3]
private

Definition at line 216 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
unsigned char itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::m_LUT[256][2]
private

Definition at line 198 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
int itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::m_NodeLimit {2000}
private

Definition at line 221 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
SizeValueType itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::m_NumberOfCells {0}
private

Definition at line 219 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
SizeValueType itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::m_NumberOfNodes {0}
private

Definition at line 218 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
InputPixelType itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::m_ObjectValue
private

Definition at line 234 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
OutputMeshType* itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::m_OutputMesh
private

temporary variables used in CreateMesh to avoid thousands of calls to GetInput() and GetOutput()

Definition at line 239 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
unsigned char itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::m_PointFound {0}
private

Definition at line 233 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
RegionType itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::m_RegionOfInterest
protected

Definition at line 158 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
bool itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::m_RegionOfInterestProvidedByUser {false}
protected

Definition at line 157 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
int itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::m_RowFlag {0}
private

Definition at line 227 of file itkBinaryMask3DMeshSource.h.


The documentation for this class was generated from the following file: