DMRITool  v0.1.1-139-g860d86b4
Diffusion MRI Tool
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
itk::MeshFromImageImageFilter< TInputImage, TOutputMesh > Class Template Reference

#include <itkMeshFromImageImageFilter.h>

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

Detailed Description

template<class TInputImage, class TOutputMesh = vtkPolyData>
class itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >

Compute mesh from SH coefficients.

Author
Jian Cheng (jian..nosp@m.chen.nosp@m.g.198.nosp@m.3@gm.nosp@m.ail.c.nosp@m.om)

Definition at line 49 of file itkMeshFromImageImageFilter.h.

Public Types

enum  ColorSchemeType {
  UNKNOWN =0,
  FIXED,
  DIRECTION,
  MAGNITUDE
}
 
typedef SmartPointer< const SelfConstPointer
 
typedef InputImageType::ConstPointer InputImageConstPointer
 
typedef InputImageType::IndexType InputImageIndexType
 
typedef InputImageType::PixelType InputImagePixelType
 
typedef InputImageType::Pointer InputImagePointer
 
typedef InputImageType::PointType InputImagePointType
 
typedef InputImageType::RegionType InputImageRegionType
 
typedef InputImageType::SizeType InputImageSizeType
 
typedef InputImageType::SizeValueType InputImageSizeValueType
 
typedef InputImageType::SpacingType InputImageSpacingType
 
typedef TInputImage InputImageType
 
typedef utl_shared_ptr< MatrixTypeMatrixPointer
 
typedef utl::NDArray< double, 2 > MatrixType
 
typedef vtkCellArray OutputMeshCellArrayType
 
typedef vtkPoints OutputMeshPointsType
 
typedef vtkSmartPointer< OutputMeshPolyDataTypeOutputMeshPolyDataPointer
 
typedef TOutputMesh OutputMeshPolyDataType
 
typedef vtkUnsignedCharArray OutputMeshRGBType
 
typedef vtkDoubleArray OutputMeshScalarType
 
typedef SmartPointer< SelfPointer
 
typedef MeshFromImageImageFilter Self
 
typedef utl_shared_ptr< STDVectorTypeSTDVectorPointer
 
typedef std::vector< double > STDVectorType
 
typedef MaskedImageToImageFilter< TInputImage, TInputImage > Superclass
 
typedef utl_shared_ptr< VectorTypeVectorPointer
 
typedef utl::NDArray< double, 1 > VectorType
 
- Public Types inherited from itk::MaskedImageToImageFilter< TInputImage, TInputImage >
typedef SmartPointer< const SelfConstPointer
 
typedef InputImageType::ConstPointer InputImageConstPointer
 
typedef InputImageType::IndexType InputImageIndexType
 
typedef InputImageType::PixelType InputImagePixelType
 
typedef InputImageType::Pointer InputImagePointer
 
typedef InputImageType::RegionType InputImageRegionType
 
typedef InputImageType::SizeType InputImageSizeType
 
typedef InputImageType::SpacingType InputImageSpacingType
 
typedef TInputImage InputImageType
 
typedef LoggerType::Pointer LoggerPointer
 
typedef ThreadLogger LoggerType
 
typedef utl_shared_ptr< LoggerVectorTypeLoggerVectorPointer
 
typedef std::vector< LoggerPointerLoggerVectorType
 
typedef MaskImageType::Pointer MaskImagePointer
 
typedef Image< double, 3 > MaskImageType
 
typedef OutputImageType::IndexType OutputImageIndexType
 
typedef OutputImageType::PixelType OutputImagePixelType
 
typedef OutputImageType::Pointer OutputImagePointer
 
typedef OutputImageType::RegionType OutputImageRegionType
 
typedef OutputImageType::SizeType OutputImageSizeType
 
typedef OutputImageType::SpacingType OutputImageSpacingType
 
typedef TInputImage OutputImageType
 
typedef SmartPointer< SelfPointer
 
typedef MaskedImageToImageFilter Self
 
typedef ImageToImageFilter< TInputImage, TInputImage > Superclass
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
std::vector< int > GetBoxView () const
 
virtual ColorSchemeType GetColorScheme ()
 
std::vector< int > GetFlip () const
 
virtual const char * GetNameOfClass () const
 
OutputMeshPolyDataPointer GetOutput ()
 
virtual double GetScale ()
 
std::vector< int > GetSliceView () const
 
void SetBoxView (const int x0, const int x1, const int y0, const int y1, const int z0, const int z1)
 
virtual void SetColorScheme (ColorSchemeType _arg)
 
void SetFlip (const int flipx, const int flipy, const int flipz)
 
virtual void SetScale (double _arg)
 
void SetSliceView (const int coronal, const int sagittal, const int transverse)
 
- Public Member Functions inherited from itk::MaskedImageToImageFilter< TInputImage, TInputImage >
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const LoggerTypeGetLogger () const
 
virtual const MaskImageTypeGetMaskImage () const
 
bool IsMaskUsed ()
 
 itkGetObjectMacro (MaskImage, MaskImageType)
 
 itkGetObjectMacro (Logger, LoggerType)
 
 itkSetGetMacro (LogLevel, int)
 
virtual void SetLogger (LoggerType *_arg)
 
virtual void SetMaskImage (MaskImageType *_arg)
 
void SetMaskImage (const std::string &file)
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::MaskedImageToImageFilter< TInputImage, TInputImage >
static Pointer New ()
 

Static Public Attributes

static const unsigned int OrientationDimension = 3
 
- Static Public Attributes inherited from itk::MaskedImageToImageFilter< TInputImage, TInputImage >
static const unsigned int InputImageDimension
 
static const unsigned int OutputImageDimension
 

Protected Member Functions

virtual void AllocateOutputs () ITK_OVERRIDE
 
virtual void GenerateOutputInformation () ITK_OVERRIDE
 
LightObject::Pointer InternalClone () const ITK_OVERRIDE
 
virtual bool IsPixelIndexVisible (const InputImageIndexType &index)
 
 MeshFromImageImageFilter ()
 
void PrintSelf (std::ostream &os, Indent indent) const ITK_OVERRIDE
 
virtual void VerifyInputParameters () const ITK_OVERRIDE
 
 ~MeshFromImageImageFilter ()
 
- Protected Member Functions inherited from itk::MaskedImageToImageFilter< TInputImage, TInputImage >
void CreateLoggerVector ()
 
virtual void InitializeThreadedLibraries ()
 
LightObject::Pointer InternalClone () const ITK_OVERRIDE
 
 MaskedImageToImageFilter ()
 
std::string ThreadIDToString () const
 
virtual void VerifyMaskInformation () const
 
void WriteLogger (const std::string &str, const LoggerBase::PriorityLevelType level=LoggerBase::DEBUG) const
 
virtual ~MaskedImageToImageFilter ()
 

Protected Attributes

std::vector< int > m_BoxView = std::vector<int>(6,-1)
 
ColorSchemeType m_ColorScheme =UNKNOWN
 
std::vector< int > m_Flip = std::vector<int>(3, 0)
 
OutputMeshPolyDataPointer m_Mesh = OutputMeshPolyDataType::New()
 
double m_Scale =1.0
 
std::vector< int > m_SliceView = std::vector<int>(3,-1)
 
- Protected Attributes inherited from itk::MaskedImageToImageFilter< TInputImage, TInputImage >
LoggerPointer m_Logger
 
LoggerVectorPointer m_LoggerVector
 
int m_LogLevel
 
MaskImagePointer m_MaskImage
 
int m_ThreadID
 

Private Member Functions

 MeshFromImageImageFilter (const Self &)
 
void operator= (const Self &)
 

Member Typedef Documentation

template<class TInputImage , class TOutputMesh = vtkPolyData>
typedef SmartPointer<const Self> itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::ConstPointer

Definition at line 57 of file itkMeshFromImageImageFilter.h.

template<class TInputImage , class TOutputMesh = vtkPolyData>
typedef InputImageType::ConstPointer itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::InputImageConstPointer

Definition at line 71 of file itkMeshFromImageImageFilter.h.

template<class TInputImage , class TOutputMesh = vtkPolyData>
typedef InputImageType::IndexType itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::InputImageIndexType

Definition at line 72 of file itkMeshFromImageImageFilter.h.

template<class TInputImage , class TOutputMesh = vtkPolyData>
typedef InputImageType::PixelType itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::InputImagePixelType

Definition at line 76 of file itkMeshFromImageImageFilter.h.

template<class TInputImage , class TOutputMesh = vtkPolyData>
typedef InputImageType::Pointer itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::InputImagePointer

Definition at line 70 of file itkMeshFromImageImageFilter.h.

template<class TInputImage , class TOutputMesh = vtkPolyData>
typedef InputImageType::PointType itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::InputImagePointType

Definition at line 78 of file itkMeshFromImageImageFilter.h.

template<class TInputImage , class TOutputMesh = vtkPolyData>
typedef InputImageType::RegionType itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::InputImageRegionType

Definition at line 77 of file itkMeshFromImageImageFilter.h.

template<class TInputImage , class TOutputMesh = vtkPolyData>
typedef InputImageType::SizeType itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::InputImageSizeType

Definition at line 73 of file itkMeshFromImageImageFilter.h.

template<class TInputImage , class TOutputMesh = vtkPolyData>
typedef InputImageType::SizeValueType itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::InputImageSizeValueType

Definition at line 74 of file itkMeshFromImageImageFilter.h.

template<class TInputImage , class TOutputMesh = vtkPolyData>
typedef InputImageType::SpacingType itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::InputImageSpacingType

Definition at line 75 of file itkMeshFromImageImageFilter.h.

template<class TInputImage , class TOutputMesh = vtkPolyData>
typedef TInputImage itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::InputImageType

Definition at line 69 of file itkMeshFromImageImageFilter.h.

template<class TInputImage , class TOutputMesh = vtkPolyData>
typedef utl_shared_ptr<MatrixType> itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::MatrixPointer

Definition at line 92 of file itkMeshFromImageImageFilter.h.

template<class TInputImage , class TOutputMesh = vtkPolyData>
typedef utl::NDArray<double,2> itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::MatrixType

Orientation Matrices

Definition at line 90 of file itkMeshFromImageImageFilter.h.

template<class TInputImage , class TOutputMesh = vtkPolyData>
typedef vtkCellArray itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::OutputMeshCellArrayType

Definition at line 83 of file itkMeshFromImageImageFilter.h.

template<class TInputImage , class TOutputMesh = vtkPolyData>
typedef vtkPoints itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::OutputMeshPointsType

Definition at line 82 of file itkMeshFromImageImageFilter.h.

template<class TInputImage , class TOutputMesh = vtkPolyData>
typedef vtkSmartPointer<OutputMeshPolyDataType> itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::OutputMeshPolyDataPointer

Definition at line 85 of file itkMeshFromImageImageFilter.h.

template<class TInputImage , class TOutputMesh = vtkPolyData>
typedef TOutputMesh itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::OutputMeshPolyDataType

Definition at line 80 of file itkMeshFromImageImageFilter.h.

template<class TInputImage , class TOutputMesh = vtkPolyData>
typedef vtkUnsignedCharArray itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::OutputMeshRGBType

Definition at line 87 of file itkMeshFromImageImageFilter.h.

template<class TInputImage , class TOutputMesh = vtkPolyData>
typedef vtkDoubleArray itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::OutputMeshScalarType

Definition at line 86 of file itkMeshFromImageImageFilter.h.

template<class TInputImage , class TOutputMesh = vtkPolyData>
typedef SmartPointer<Self> itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::Pointer

Definition at line 56 of file itkMeshFromImageImageFilter.h.

template<class TInputImage , class TOutputMesh = vtkPolyData>
typedef MeshFromImageImageFilter itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::Self

Standard class typedefs.

Definition at line 54 of file itkMeshFromImageImageFilter.h.

template<class TInputImage , class TOutputMesh = vtkPolyData>
typedef utl_shared_ptr<STDVectorType > itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::STDVectorPointer

Definition at line 95 of file itkMeshFromImageImageFilter.h.

template<class TInputImage , class TOutputMesh = vtkPolyData>
typedef std::vector<double> itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::STDVectorType

Definition at line 94 of file itkMeshFromImageImageFilter.h.

template<class TInputImage , class TOutputMesh = vtkPolyData>
typedef MaskedImageToImageFilter<TInputImage, TInputImage> itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::Superclass

Definition at line 55 of file itkMeshFromImageImageFilter.h.

template<class TInputImage , class TOutputMesh = vtkPolyData>
typedef utl_shared_ptr<VectorType> itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::VectorPointer

Definition at line 93 of file itkMeshFromImageImageFilter.h.

template<class TInputImage , class TOutputMesh = vtkPolyData>
typedef utl::NDArray<double,1> itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::VectorType

Definition at line 91 of file itkMeshFromImageImageFilter.h.

Member Enumeration Documentation

template<class TInputImage , class TOutputMesh = vtkPolyData>
enum itk::MeshFromImageImageFilter::ColorSchemeType
Enumerator
UNKNOWN 
FIXED 
DIRECTION 
MAGNITUDE 

Definition at line 97 of file itkMeshFromImageImageFilter.h.

Constructor & Destructor Documentation

template<class TInputImage , class TOutputMesh = vtkPolyData>
itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::MeshFromImageImageFilter ( )
inlineprotected

Definition at line 157 of file itkMeshFromImageImageFilter.h.

template<class TInputImage , class TOutputMesh = vtkPolyData>
itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::~MeshFromImageImageFilter ( )
inlineprotected

Definition at line 163 of file itkMeshFromImageImageFilter.h.

template<class TInputImage , class TOutputMesh = vtkPolyData>
itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::MeshFromImageImageFilter ( const Self )
private

Member Function Documentation

template<class TInputImage , class TOutputMesh = vtkPolyData>
virtual void itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::AllocateOutputs ( )
inlineprotectedvirtual

The output is m_Mesh, do not allocate output image

Definition at line 232 of file itkMeshFromImageImageFilter.h.

template<class TInputImage , class TOutputMesh = vtkPolyData>
virtual::itk::LightObject::Pointer itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::CreateAnother ( void  ) const
template<class TInputImage , class TOutputMesh = vtkPolyData>
virtual void itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::GenerateOutputInformation ( void  )
inlineprotectedvirtual

the information of the output image is used for ThreadedGenerateData() in subclass

Definition at line 223 of file itkMeshFromImageImageFilter.h.

References itk::CopyImageInformation().

+ Here is the call graph for this function:

template<class TInputImage , class TOutputMesh = vtkPolyData>
std::vector<int> itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::GetBoxView ( ) const
inline

Definition at line 122 of file itkMeshFromImageImageFilter.h.

template<class TInputImage , class TOutputMesh = vtkPolyData>
virtual ColorSchemeType itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::GetColorScheme ( )
virtual
template<class TInputImage , class TOutputMesh = vtkPolyData>
std::vector<int> itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::GetFlip ( ) const
inline

Definition at line 140 of file itkMeshFromImageImageFilter.h.

template<class TInputImage , class TOutputMesh = vtkPolyData>
virtual const char* itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::GetNameOfClass ( ) const
virtual
template<class TInputImage , class TOutputMesh = vtkPolyData>
OutputMeshPolyDataPointer itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::GetOutput ( )
inline

Access to Mesh

Definition at line 151 of file itkMeshFromImageImageFilter.h.

template<class TInputImage , class TOutputMesh = vtkPolyData>
virtual double itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::GetScale ( )
virtual
template<class TInputImage , class TOutputMesh = vtkPolyData>
std::vector<int> itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::GetSliceView ( ) const
inline

Definition at line 131 of file itkMeshFromImageImageFilter.h.

template<class TInputImage , class TOutputMesh = vtkPolyData>
LightObject::Pointer itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::InternalClone ( ) const
inlineprotected

Definition at line 201 of file itkMeshFromImageImageFilter.h.

template<class TInputImage , class TOutputMesh = vtkPolyData>
virtual bool itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::IsPixelIndexVisible ( const InputImageIndexType index)
inlineprotectedvirtual

Definition at line 169 of file itkMeshFromImageImageFilter.h.

template<class TInputImage , class TOutputMesh = vtkPolyData>
static Pointer itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::New ( )
static

Method for creation through the object factory.

template<class TInputImage , class TOutputMesh = vtkPolyData>
void itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::operator= ( const Self )
private
template<class TInputImage , class TOutputMesh = vtkPolyData>
void itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
inlineprotectedvirtual
template<class TInputImage , class TOutputMesh = vtkPolyData>
void itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::SetBoxView ( const int  x0,
const int  x1,
const int  y0,
const int  y1,
const int  z0,
const int  z1 
)
inline

Definition at line 113 of file itkMeshFromImageImageFilter.h.

template<class TInputImage , class TOutputMesh = vtkPolyData>
virtual void itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::SetColorScheme ( ColorSchemeType  _arg)
virtual
template<class TInputImage , class TOutputMesh = vtkPolyData>
void itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::SetFlip ( const int  flipx,
const int  flipy,
const int  flipz 
)
inline

Definition at line 136 of file itkMeshFromImageImageFilter.h.

template<class TInputImage , class TOutputMesh = vtkPolyData>
virtual void itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::SetScale ( double  _arg)
virtual

Set/Get scale factor

template<class TInputImage , class TOutputMesh = vtkPolyData>
void itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::SetSliceView ( const int  coronal,
const int  sagittal,
const int  transverse 
)
inline

Definition at line 127 of file itkMeshFromImageImageFilter.h.

template<class TInputImage , class TOutputMesh = vtkPolyData>
virtual void itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::VerifyInputParameters ( ) const
inlineprotectedvirtual

Member Data Documentation

template<class TInputImage , class TOutputMesh = vtkPolyData>
std::vector<int> itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::m_BoxView = std::vector<int>(6,-1)
protected

3D box view (xmin, xmax, ymin, ymax, zmin, zmax)

Definition at line 243 of file itkMeshFromImageImageFilter.h.

template<class TInputImage , class TOutputMesh = vtkPolyData>
ColorSchemeType itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::m_ColorScheme =UNKNOWN
protected

Definition at line 240 of file itkMeshFromImageImageFilter.h.

template<class TInputImage , class TOutputMesh = vtkPolyData>
std::vector<int> itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::m_Flip = std::vector<int>(3, 0)
protected

flips in x/y/z-axis. 0 means no flip, 1 means flip

Definition at line 249 of file itkMeshFromImageImageFilter.h.

template<class TInputImage , class TOutputMesh = vtkPolyData>
OutputMeshPolyDataPointer itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::m_Mesh = OutputMeshPolyDataType::New()
protected

Definition at line 236 of file itkMeshFromImageImageFilter.h.

template<class TInputImage , class TOutputMesh = vtkPolyData>
double itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::m_Scale =1.0
protected

Definition at line 238 of file itkMeshFromImageImageFilter.h.

template<class TInputImage , class TOutputMesh = vtkPolyData>
std::vector<int> itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::m_SliceView = std::vector<int>(3,-1)
protected

slice view (x,y,z), 3 orthogonal slices

Definition at line 246 of file itkMeshFromImageImageFilter.h.

template<class TInputImage , class TOutputMesh = vtkPolyData>
const unsigned int itk::MeshFromImageImageFilter< TInputImage, TOutputMesh >::OrientationDimension = 3
static

Orienation dimension

Definition at line 66 of file itkMeshFromImageImageFilter.h.


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