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

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

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 (const DataObjectIdentifierType &key, DataObject *output)
 
void SetOutput (TOutputMesh *output)
 
virtual void GraftOutput (DataObject *output)
 
- 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)
 
virtual void Update ()
 
virtual void UpdateLargestPossibleRegion ()
 
virtual void UpdateOutputData (DataObject *output)
 
virtual void UpdateOutputInformation ()
 
void UpdateProgress (float progress)
 
void SetProgress (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 SetNumberOfThreads (ThreadIdType _arg)
 
virtual const ThreadIdTypeGetNumberOfThreads () 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
 
virtual void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetReferenceCount (int) override
 
virtual void UnRegister () const noexceptoverride
 
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
 
virtual 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
 
- Protected Member Functions inherited from itk::MeshSource< TOutputMesh >
virtual void GenerateInputRequestedRegion () override
 
 MeshSource ()
 
virtual ~MeshSource () override
 
- 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
 
 itkLegacyMacro (virtual void RemoveOutput(DataObject *output))
 
 itkLegacyMacro (void SetNumberOfOutputs(DataObjectPointerArraySizeType num))
 
 itkLegacyMacro (virtual void RemoveInput(DataObject *input))
 
 itkLegacyMacro (void SetNumberOfInputs(DataObjectPointerArraySizeType num))
 
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 ()
 
virtual void VerifyPreconditions ()
 
 ~ProcessObject () override
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryInputName (void) const
 
DataObjectGetOutput (const DataObjectIdentifierType &key)
 
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryOutputName (void) 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)
 
virtual ~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
 
- Protected Attributes inherited from itk::ProcessObject
TimeStamp m_OutputInformationMTime
 
bool m_Updating
 
- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Private Types

typedef InputImageType::SizeType InputImageSizeType
 

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
 
int m_ColFlag
 
IdentifierType ** m_CurrentFrame
 
unsigned short m_CurrentFrameIndex
 
unsigned short m_CurrentFrameNum
 
IdentifierType ** m_CurrentRow
 
unsigned short m_CurrentRowIndex
 
unsigned short m_CurrentRowNum
 
IdentifierType m_CurrentVoxel [14]
 
int m_FrameFlag
 
int m_ImageDepth
 
int m_ImageHeight
 
int m_ImageWidth
 
const InputImageTypem_InputImage
 
IdentifierType ** m_LastFrame
 
int m_LastFrameIndex
 
unsigned short m_LastFrameNum
 
IdentifierType ** m_LastRow
 
int m_LastRowIndex
 
unsigned short m_LastRowNum
 
IdentifierType m_LastVoxel [14]
 
int m_LastVoxelIndex
 
double m_LocationOffset [14][3]
 
unsigned char m_LUT [256][2]
 
int m_NodeLimit
 
SizeValueType m_NumberOfCells
 
SizeValueType m_NumberOfNodes
 
InputPixelType m_ObjectValue
 
OutputMeshTypem_OutputMesh
 
unsigned char m_PointFound
 
int m_RowFlag
 

Member Typedef Documentation

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

Definition at line 98 of file itkBinaryMask3DMeshSource.h.

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

Definition at line 97 of file itkBinaryMask3DMeshSource.h.

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

Definition at line 94 of file itkBinaryMask3DMeshSource.h.

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

Definition at line 78 of file itkBinaryMask3DMeshSource.h.

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

Definition at line 99 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
typedef itk::IdentifierType itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::IdentifierType

Definition at line 123 of file itkBinaryMask3DMeshSource.h.

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

Definition at line 111 of file itkBinaryMask3DMeshSource.h.

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

Type definition for the classified image index type.

Definition at line 119 of file itkBinaryMask3DMeshSource.h.

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

Definition at line 121 of file itkBinaryMask3DMeshSource.h.

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

Definition at line 110 of file itkBinaryMask3DMeshSource.h.

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

Definition at line 161 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
typedef TInputImage itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::InputImageType

Input Image Type Definition.

Definition at line 109 of file itkBinaryMask3DMeshSource.h.

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

Definition at line 112 of file itkBinaryMask3DMeshSource.h.

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

Definition at line 100 of file itkBinaryMask3DMeshSource.h.

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

Definition at line 88 of file itkBinaryMask3DMeshSource.h.

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

Definition at line 90 of file itkBinaryMask3DMeshSource.h.

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

Definition at line 89 of file itkBinaryMask3DMeshSource.h.

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

Definition at line 114 of file itkBinaryMask3DMeshSource.h.

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

Some convenient typedefs.

Definition at line 93 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
typedef TOutputMesh itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::OutputMeshType

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

Definition at line 84 of file itkBinaryMask3DMeshSource.h.

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

Definition at line 77 of file itkBinaryMask3DMeshSource.h.

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

Definition at line 96 of file itkBinaryMask3DMeshSource.h.

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

Definition at line 95 of file itkBinaryMask3DMeshSource.h.

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

Definition at line 115 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
typedef BinaryMask3DMeshSource itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::Self

Standard "Self" typedef.

Definition at line 75 of file itkBinaryMask3DMeshSource.h.

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

Definition at line 116 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
typedef itk::SizeValueType itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::SizeValueType

Definition at line 124 of file itkBinaryMask3DMeshSource.h.

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

Definition at line 113 of file itkBinaryMask3DMeshSource.h.

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

Definition at line 76 of file itkBinaryMask3DMeshSource.h.

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

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

Definition at line 104 of file itkBinaryMask3DMeshSource.h.

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

Definition at line 105 of file itkBinaryMask3DMeshSource.h.

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

Definition at line 106 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 >
virtual 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 158 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::MeshSource< TOutputMesh >.

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 135 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
private

Definition at line 222 of file itkBinaryMask3DMeshSource.h.

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

Definition at line 226 of file itkBinaryMask3DMeshSource.h.

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

Definition at line 206 of file itkBinaryMask3DMeshSource.h.

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

Definition at line 209 of file itkBinaryMask3DMeshSource.h.

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

Definition at line 213 of file itkBinaryMask3DMeshSource.h.

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

Definition at line 205 of file itkBinaryMask3DMeshSource.h.

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

Definition at line 208 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
unsigned short itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::m_CurrentRowNum
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
private

Definition at line 228 of file itkBinaryMask3DMeshSource.h.

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

Definition at line 225 of file itkBinaryMask3DMeshSource.h.

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

Definition at line 224 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
int itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::m_ImageWidth
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
private

Definition at line 204 of file itkBinaryMask3DMeshSource.h.

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

Definition at line 231 of file itkBinaryMask3DMeshSource.h.

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

Definition at line 211 of file itkBinaryMask3DMeshSource.h.

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

Definition at line 203 of file itkBinaryMask3DMeshSource.h.

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

Definition at line 229 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
unsigned short itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::m_LastRowNum
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
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
private

Definition at line 221 of file itkBinaryMask3DMeshSource.h.

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

Definition at line 219 of file itkBinaryMask3DMeshSource.h.

template<typename TInputImage , typename TOutputMesh >
SizeValueType itk::BinaryMask3DMeshSource< TInputImage, TOutputMesh >::m_NumberOfNodes
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
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 156 of file itkBinaryMask3DMeshSource.h.

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

Definition at line 155 of file itkBinaryMask3DMeshSource.h.

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

Definition at line 227 of file itkBinaryMask3DMeshSource.h.


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