ITK  5.2.0
Insight 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 >:

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 *image)
 
virtual void SetObjectValue (InputPixelType _arg)
 
void SetRegionOfInterest (const RegionType &iRegion)
 
- Public Member Functions inherited from itk::ImageToMeshFilter< TInputImage, TOutputMesh >
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 ()
 
OutputMeshTypeGetOutput ()
 
void GenerateOutputInformation () override
 
- Public Member Functions inherited from itk::MeshSource< TOutputMesh >
virtual ::itk::LightObject::Pointer CreateAnother () const
 
OutputMeshTypeGetOutput ()
 
OutputMeshTypeGetOutput (unsigned int idx)
 
void SetOutput (TOutputMesh *output)
 
virtual void GraftOutput (DataObject *graft)
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *graft)
 
virtual void GraftNthOutput (unsigned int idx, DataObject *graft)
 
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 ()
 
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
 
DataObjectPointerArraySizeType GetNumberOfInputs () const
 
DataObjectPointerArraySizeType GetNumberOfOutputs () const
 
virtual DataObjectPointerArraySizeType GetNumberOfValidRequiredInputs () const
 
NameArray GetOutputNames () const
 
DataObjectPointerArray GetOutputs ()
 
virtual float GetProgress () const
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
void IncrementProgress (float increment)
 
virtual DataObjectPointer MakeOutput (const DataObjectIdentifierType &)
 
virtual void PropagateRequestedRegion (DataObject *output)
 
virtual void ResetPipeline ()
 
virtual void SetAbortGenerateData (bool _arg)
 
virtual void Update ()
 
virtual void UpdateLargestPossibleRegion ()
 
virtual void UpdateOutputData (DataObject *output)
 
virtual void UpdateOutputInformation ()
 
void UpdateProgress (float progress)
 
virtual void SetReleaseDataFlag (bool val)
 
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
 
MultiThreaderTypeGetMultiThreader () const
 
void SetMultiThreader (MultiThreaderType *threader)
 
virtual void PrepareOutputs ()
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
unsigned long AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) 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 noexcept override
 
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
Pointer Clone () const
 
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
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 val)
 
- 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 >
 MeshSource ()
 
 ~MeshSource () override=default
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
void GenerateInputRequestedRegion () override
 
- Protected Member Functions inherited from itk::ProcessObject
 ProcessObject ()
 
 ~ProcessObject () override
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
const DataObjectGetInput (const DataObjectIdentifierType &key) const
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetNthInput (DataObjectPointerArraySizeType idx, DataObject *input)
 
virtual void AddInput (DataObject *input)
 
virtual void PushBackInput (const DataObject *input)
 
virtual void PopBackInput ()
 
virtual void PushFrontInput (const DataObject *input)
 
virtual void PopFrontInput ()
 
virtual void RemoveInput (const DataObjectIdentifierType &key)
 
virtual void RemoveInput (DataObjectPointerArraySizeType)
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryInputName () const
 
virtual void SetPrimaryInput (DataObject *object)
 
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual const DataObjectPointerArraySizeTypeGetNumberOfRequiredInputs () const
 
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
 
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 
void SetRequiredInputNames (const NameArray &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
void AddOptionalInputName (const DataObjectIdentifierType &)
 
void AddOptionalInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
DataObjectGetOutput (const DataObjectIdentifierType &key)
 
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryOutputName () const
 
DataObjectGetOutput (DataObjectPointerArraySizeType i)
 
const DataObjectGetOutput (DataObjectPointerArraySizeType i) const
 
virtual void SetOutput (const DataObjectIdentifierType &name, DataObject *output)
 
virtual void RemoveOutput (const DataObjectIdentifierType &key)
 
DataObjectGetPrimaryOutput ()
 
const DataObjectGetPrimaryOutput () const
 
virtual void SetPrimaryOutput (DataObject *object)
 
virtual void SetNthOutput (DataObjectPointerArraySizeType idx, DataObject *output)
 
virtual void AddOutput (DataObject *output)
 
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual const DataObjectPointerArraySizeTypeGetNumberOfRequiredOutputs () const
 
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
 
DataObjectIdentifierType MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectIdentifierType MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectPointerArraySizeType MakeIndexFromInputName (const DataObjectIdentifierType &name) const
 
DataObjectPointerArraySizeType MakeIndexFromOutputName (const DataObjectIdentifierType &name) const
 
bool IsIndexedInputName (const DataObjectIdentifierType &) const
 
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
 
virtual void VerifyPreconditions () ITKv5_CONST
 
virtual void VerifyInputInformation () ITKv5_CONST
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
virtual void PropagateResetPipeline ()
 
virtual void ReleaseInputs ()
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void RestoreInputReleaseDataFlags ()
 
virtual bool GetThreaderUpdateProgress () const
 
virtual void ThreaderUpdateProgressOn ()
 
virtual void ThreaderUpdateProgressOff ()
 
virtual void SetThreaderUpdateProgress (bool arg)
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
 ~Object () override
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &timeStamp)
 
- 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
bool m_Updating
 
TimeStamp m_OutputInformationMTime
 
- 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 *x)
 
IdentifierType SearchThroughLastFrame (int index, int start, int end)
 
IdentifierType SearchThroughLastRow (int index, int start, int end)
 
void XFlip (unsigned char *x)
 
void XRotation (unsigned char *x)
 
void YFlip (unsigned char *x)
 
void YRotation (unsigned char *x)
 
void ZFlip (unsigned char *x)
 
void ZRotation (unsigned char *x)
 

Private Attributes

unsigned char m_AvailableNodes [14]
 
int m_CellLimit { 4000 }
 
int m_ColFlag { 0 }
 
IdentifierType ** m_CurrentFrame { nullptr }
 
int m_CurrentFrameIndex { 0 }
 
int m_CurrentFrameNum { 2000 }
 
IdentifierType ** m_CurrentRow { nullptr }
 
int m_CurrentRowIndex { 0 }
 
int 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 }
 
int m_LastFrameNum { 0 }
 
IdentifierType ** m_LastRow { nullptr }
 
int m_LastRowIndex { 0 }
 
int 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 }
 

Additional Inherited Members

- Static Protected Member Functions inherited from itk::ProcessObject
static constexpr float progressFixedToFloat (uint32_t fixed)
 
static uint32_t progressFloatToFixed (float f)
 

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.

Member Typedef Documentation

◆ CellsContainer

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

Definition at line 100 of file itkBinaryMask3DMeshSource.h.

◆ CellsContainerPointer

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

Definition at line 99 of file itkBinaryMask3DMeshSource.h.

◆ CellTraits

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

Definition at line 96 of file itkBinaryMask3DMeshSource.h.

◆ ConstPointer

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

Definition at line 80 of file itkBinaryMask3DMeshSource.h.

◆ doubleVector

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

Definition at line 101 of file itkBinaryMask3DMeshSource.h.

◆ IdentifierType

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

Definition at line 125 of file itkBinaryMask3DMeshSource.h.

◆ InputImageConstPointer

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

Definition at line 113 of file itkBinaryMask3DMeshSource.h.

◆ InputImageIndexType

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.

◆ InputImageIterator

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

Definition at line 123 of file itkBinaryMask3DMeshSource.h.

◆ InputImagePointer

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

Definition at line 112 of file itkBinaryMask3DMeshSource.h.

◆ InputImageSizeType

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

Definition at line 169 of file itkBinaryMask3DMeshSource.h.

◆ InputImageType

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

Input Image Type Definition.

Definition at line 111 of file itkBinaryMask3DMeshSource.h.

◆ InputPixelType

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

Definition at line 114 of file itkBinaryMask3DMeshSource.h.

◆ intVector

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

Definition at line 102 of file itkBinaryMask3DMeshSource.h.

◆ OMeshTraits

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

Definition at line 90 of file itkBinaryMask3DMeshSource.h.

◆ OPixelType

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

Definition at line 92 of file itkBinaryMask3DMeshSource.h.

◆ OPointType

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

Definition at line 91 of file itkBinaryMask3DMeshSource.h.

◆ OriginType

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

Definition at line 116 of file itkBinaryMask3DMeshSource.h.

◆ OutputMeshPointer

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.

◆ OutputMeshType

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.

◆ Pointer

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

Definition at line 79 of file itkBinaryMask3DMeshSource.h.

◆ PointsContainer

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

Definition at line 98 of file itkBinaryMask3DMeshSource.h.

◆ PointsContainerPointer

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

Definition at line 97 of file itkBinaryMask3DMeshSource.h.

◆ RegionType

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

Definition at line 117 of file itkBinaryMask3DMeshSource.h.

◆ Self

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

Standard "Self" type alias.

Definition at line 77 of file itkBinaryMask3DMeshSource.h.

◆ SizeType

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

Definition at line 118 of file itkBinaryMask3DMeshSource.h.

◆ SizeValueType

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

Definition at line 126 of file itkBinaryMask3DMeshSource.h.

◆ SpacingType

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

Definition at line 115 of file itkBinaryMask3DMeshSource.h.

◆ Superclass

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

Definition at line 78 of file itkBinaryMask3DMeshSource.h.

◆ TCellInterface

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.

◆ TriCell

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

Definition at line 107 of file itkBinaryMask3DMeshSource.h.

◆ TriCellAutoPointer

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

◆ BinaryMask3DMeshSource()

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

◆ ~BinaryMask3DMeshSource()

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

Member Function Documentation

◆ AddCells()

template<typename TInputImage , typename TOutputMesh >
void itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::AddCells ( unsigned char  celltype,
unsigned char  celltran,
int  index 
)
private

◆ AddNodes()

template<typename TInputImage , typename TOutputMesh >
void itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::AddNodes ( int  index,
unsigned char *  nodesid,
IdentifierType globalnodesid,
IdentifierType **  currentrowtmp,
IdentifierType **  currentframetmp 
)
private

◆ CellTransfer()

template<typename TInputImage , typename TOutputMesh >
void itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::CellTransfer ( unsigned char *  nodesid,
unsigned char  celltran 
)
private

◆ CreateAnother()

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.

◆ CreateMesh()

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

◆ GenerateData()

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

This method causes the filter to generate its output.

Reimplemented from itk::ProcessObject.

◆ GenerateOutputInformation()

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 165 of file itkBinaryMask3DMeshSource.h.

◆ GetNameOfClass()

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 >.

◆ GetNumberOfCells()

template<typename TInputImage , typename TOutputMesh >
virtual SizeValueType itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::GetNumberOfCells ( ) const
virtual

◆ GetNumberOfNodes()

template<typename TInputImage , typename TOutputMesh >
virtual SizeValueType itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::GetNumberOfNodes ( ) const
virtual

◆ GetRegionOfInterest()

template<typename TInputImage , typename TOutputMesh >
virtual const RegionType& itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::GetRegionOfInterest ( ) const
virtual

◆ InitializeLUT()

template<typename TInputImage , typename TOutputMesh >
void itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::InitializeLUT ( )
private

◆ inverse()

template<typename TInputImage , typename TOutputMesh >
void itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::inverse ( unsigned char *  x)
private

◆ New()

template<typename TInputImage , typename TOutputMesh >
static Pointer itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::New ( )
static

Method for creation through the object factory.

◆ PrintSelf()

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

STL map to store the named inputs and outputs

Reimplemented from itk::ProcessObject.

◆ SearchThroughLastFrame()

template<typename TInputImage , typename TOutputMesh >
IdentifierType itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::SearchThroughLastFrame ( int  index,
int  start,
int  end 
)
private

◆ SearchThroughLastRow()

template<typename TInputImage , typename TOutputMesh >
IdentifierType itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::SearchThroughLastRow ( int  index,
int  start,
int  end 
)
private

◆ SetInput()

template<typename TInputImage , typename TOutputMesh >
virtual void itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::SetInput ( const InputImageType image)
virtual

◆ SetObjectValue()

template<typename TInputImage , typename TOutputMesh >
virtual void itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::SetObjectValue ( InputPixelType  _arg)
virtual

◆ SetRegionOfInterest()

template<typename TInputImage , typename TOutputMesh >
void itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::SetRegionOfInterest ( const RegionType iRegion)
inline

Definition at line 139 of file itkBinaryMask3DMeshSource.h.

◆ XFlip()

template<typename TInputImage , typename TOutputMesh >
void itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::XFlip ( unsigned char *  x)
private

◆ XRotation()

template<typename TInputImage , typename TOutputMesh >
void itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::XRotation ( unsigned char *  x)
private

◆ YFlip()

template<typename TInputImage , typename TOutputMesh >
void itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::YFlip ( unsigned char *  x)
private

◆ YRotation()

template<typename TInputImage , typename TOutputMesh >
void itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::YRotation ( unsigned char *  x)
private

◆ ZFlip()

template<typename TInputImage , typename TOutputMesh >
void itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::ZFlip ( unsigned char *  x)
private

◆ ZRotation()

template<typename TInputImage , typename TOutputMesh >
void itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::ZRotation ( unsigned char *  x)
private

Member Data Documentation

◆ m_AvailableNodes

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

Definition at line 234 of file itkBinaryMask3DMeshSource.h.

◆ m_CellLimit

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

Definition at line 242 of file itkBinaryMask3DMeshSource.h.

◆ m_ColFlag

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

Definition at line 246 of file itkBinaryMask3DMeshSource.h.

◆ m_CurrentFrame

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

Definition at line 226 of file itkBinaryMask3DMeshSource.h.

◆ m_CurrentFrameIndex

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

Definition at line 229 of file itkBinaryMask3DMeshSource.h.

◆ m_CurrentFrameNum

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

Definition at line 233 of file itkBinaryMask3DMeshSource.h.

◆ m_CurrentRow

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

Definition at line 225 of file itkBinaryMask3DMeshSource.h.

◆ m_CurrentRowIndex

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

Definition at line 228 of file itkBinaryMask3DMeshSource.h.

◆ m_CurrentRowNum

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

Definition at line 232 of file itkBinaryMask3DMeshSource.h.

◆ m_CurrentVoxel

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

Definition at line 221 of file itkBinaryMask3DMeshSource.h.

◆ m_FrameFlag

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

Definition at line 248 of file itkBinaryMask3DMeshSource.h.

◆ m_ImageDepth

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

Definition at line 245 of file itkBinaryMask3DMeshSource.h.

◆ m_ImageHeight

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

Definition at line 244 of file itkBinaryMask3DMeshSource.h.

◆ m_ImageWidth

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

Definition at line 243 of file itkBinaryMask3DMeshSource.h.

◆ m_InputImage

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

Definition at line 260 of file itkBinaryMask3DMeshSource.h.

◆ m_LastFrame

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

Definition at line 224 of file itkBinaryMask3DMeshSource.h.

◆ m_LastFrameIndex

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

Definition at line 251 of file itkBinaryMask3DMeshSource.h.

◆ m_LastFrameNum

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

Definition at line 231 of file itkBinaryMask3DMeshSource.h.

◆ m_LastRow

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

Definition at line 223 of file itkBinaryMask3DMeshSource.h.

◆ m_LastRowIndex

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

Definition at line 249 of file itkBinaryMask3DMeshSource.h.

◆ m_LastRowNum

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

Definition at line 230 of file itkBinaryMask3DMeshSource.h.

◆ m_LastVoxel

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

Definition at line 220 of file itkBinaryMask3DMeshSource.h.

◆ m_LastVoxelIndex

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

Definition at line 250 of file itkBinaryMask3DMeshSource.h.

◆ m_LocationOffset

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

Definition at line 236 of file itkBinaryMask3DMeshSource.h.

◆ m_LUT

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

Definition at line 218 of file itkBinaryMask3DMeshSource.h.

◆ m_NodeLimit

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

Definition at line 241 of file itkBinaryMask3DMeshSource.h.

◆ m_NumberOfCells

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

Definition at line 239 of file itkBinaryMask3DMeshSource.h.

◆ m_NumberOfNodes

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

Definition at line 238 of file itkBinaryMask3DMeshSource.h.

◆ m_ObjectValue

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

Definition at line 254 of file itkBinaryMask3DMeshSource.h.

◆ m_OutputMesh

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 259 of file itkBinaryMask3DMeshSource.h.

◆ m_PointFound

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

Definition at line 253 of file itkBinaryMask3DMeshSource.h.

◆ m_RegionOfInterest

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

Definition at line 162 of file itkBinaryMask3DMeshSource.h.

◆ m_RegionOfInterestProvidedByUser

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

Definition at line 161 of file itkBinaryMask3DMeshSource.h.

◆ m_RowFlag

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

Definition at line 247 of file itkBinaryMask3DMeshSource.h.


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