Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions

mitk::DiffusionImageMapper< TPixelType > Class Template Reference
[Mapper Classes]

Mapper for raw diffusion weighted images. More...

#include <mitkDiffusionImageMapper.h>

Inheritance diagram for mitk::DiffusionImageMapper< TPixelType >:
Inheritance graph
[legend]
Collaboration diagram for mitk::DiffusionImageMapper< TPixelType >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef DiffusionImageMapper Self
typedef ImageMapperGL2D Superclass
typedef itk::SmartPointer< SelfPointer
typedef itk::SmartPointer
< const Self
ConstPointer

Public Member Functions

virtual const char * GetClassName () const
void GenerateData (mitk::BaseRenderer *renderer)

Static Public Member Functions

static Pointer New ()
static void SetDefaultProperties (DataNode *node, BaseRenderer *renderer=NULL, bool overwrite=false)
 Set default values of properties used by this mapper to node.

Protected Member Functions

 DiffusionImageMapper ()
virtual ~DiffusionImageMapper ()

Detailed Description

template<class TPixelType>
class mitk::DiffusionImageMapper< TPixelType >

Mapper for raw diffusion weighted images.

Definition at line 30 of file mitkDiffusionImageMapper.h.


Member Typedef Documentation

template<class TPixelType >
typedef itk::SmartPointer<const Self> mitk::DiffusionImageMapper< TPixelType >::ConstPointer

Reimplemented from mitk::ImageMapperGL2D.

Definition at line 34 of file mitkDiffusionImageMapper.h.

template<class TPixelType >
typedef itk::SmartPointer<Self> mitk::DiffusionImageMapper< TPixelType >::Pointer

Reimplemented from mitk::ImageMapperGL2D.

Definition at line 34 of file mitkDiffusionImageMapper.h.

template<class TPixelType >
typedef DiffusionImageMapper mitk::DiffusionImageMapper< TPixelType >::Self

Standard class typedefs.

Reimplemented from mitk::ImageMapperGL2D.

Definition at line 34 of file mitkDiffusionImageMapper.h.

template<class TPixelType >
typedef ImageMapperGL2D mitk::DiffusionImageMapper< TPixelType >::Superclass

Reimplemented from mitk::ImageMapperGL2D.

Definition at line 34 of file mitkDiffusionImageMapper.h.


Constructor & Destructor Documentation

template<class TPixelType >
mitk::DiffusionImageMapper< TPixelType >::DiffusionImageMapper (  ) [protected]

Definition at line 26 of file mitkDiffusionImageMapper.cpp.

{
}
template<class TPixelType >
mitk::DiffusionImageMapper< TPixelType >::~DiffusionImageMapper (  ) [protected, virtual]

Definition at line 31 of file mitkDiffusionImageMapper.cpp.

{
}

Member Function Documentation

template<class TPixelType >
void mitk::DiffusionImageMapper< TPixelType >::GenerateData ( mitk::BaseRenderer renderer ) [virtual]

Does the actual resampling, without rendering the image yet.

Reimplemented from mitk::ImageMapperGL2D.

Definition at line 37 of file mitkDiffusionImageMapper.cpp.

References mitk::DiffusionImage< TPixelType >::SetDisplayIndexForRendering().

{
  int displayIndex(0);
  this->GetDataNode()->GetIntProperty( "DisplayChannel", displayIndex, renderer );
  InputImageType *input = const_cast< InputImageType* >(
    this->GetInput()
    );
  mitk::DiffusionImage<TPixelType> *input2 = dynamic_cast< mitk::DiffusionImage<TPixelType>* >(
    input
    );
  input2->SetDisplayIndexForRendering(displayIndex);
  Superclass::GenerateData(renderer);
}
template<class TPixelType >
virtual const char* mitk::DiffusionImageMapper< TPixelType >::GetClassName (  ) const [virtual]

Reimplemented from mitk::ImageMapperGL2D.

template<class TPixelType >
static Pointer mitk::DiffusionImageMapper< TPixelType >::New (  ) [static]

Method for creation through the object factory.

Reimplemented from mitk::ImageMapperGL2D.

template<class TPixelType >
void mitk::DiffusionImageMapper< TPixelType >::SetDefaultProperties ( mitk::DataNode node,
mitk::BaseRenderer renderer = NULL,
bool  overwrite = false 
) [static]

Set default values of properties used by this mapper to node.

Parameters:
nodeThe node for which the properties are set
overwriteoverwrite existing properties (default: false)
rendererdefines which property list of node is used (default: NULL, i.e. default property list)

Reimplemented from mitk::ImageMapperGL2D.

Definition at line 52 of file mitkDiffusionImageMapper.cpp.

References mitk::DataNode::AddProperty(), and mitk::IntProperty::New().

Referenced by QmitkTensorReconstructionView::DoTensorsToDWI().

{
  node->AddProperty( "DisplayChannel", mitk::IntProperty::New( true ), renderer, overwrite );
  Superclass::SetDefaultProperties(node, renderer, overwrite);
}

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines