Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes

cmtk::Image Class Reference
[cmtkPipeline Library]

Class for 2D image data. More...

#include <cmtkImage.h>

Inheritance diagram for cmtk::Image:
Inheritance graph
[legend]
Collaboration diagram for cmtk::Image:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 igsClassParameter (ScalarDataType, DataType)
 Scalar data type.
TypedArray::SmartPtr GetData ()
 Return a pointer to the object holding the image data.
void SetData (TypedArray::SmartPtr &data)
 Replace existing data array by new one.
void SetFromScalarImage (ScalarImage *const scalarImage, const bool copyPixelData)
 Copy non-pipelined scalar image.
void SetFromScalarImage (const ScalarImage *scalarImage)
 Copy non-pipelined scalar image.
ScalarImageGetScalarImage () const
 Create copy as non-pipelined scalar image.
double GetDataAt (const int x, const int y, const double def=0)
 Return data at a certain grid location (pixel).
void SetDataAt (const int x, const int y, const double value=0)
 Set data at a certain grid location (pixel).
double GetDataAt (const int index, const double def=0)
 Return data at a certain grid location (index).
void SetDataAt (const int index, const double value=0)
 Set data at a certain grid location (index).
double GetDataAt (const double x, const double y, const double def=0)
 Return data at a certain grid location (in world coordinates).

Static Public Member Functions

static ImageNew ()
 Create new object.

Protected Member Functions

 Image ()
 Default constructor.
virtual ~Image ()
 Destructor.

Protected Attributes

TypedArray::SmartPtr Data
 The actual image data.

Detailed Description

Class for 2D image data.

Definition at line 54 of file cmtkImage.h.


Constructor & Destructor Documentation

virtual cmtk::Image::~Image (  ) [inline, protected, virtual]

Destructor.

Definition at line 137 of file cmtkImage.h.


Member Function Documentation

cmtk::Image::igsClassParameter ( ScalarDataType  ,
DataType   
)

Scalar data type.

static Image* cmtk::Image::New (  ) [inline, static]

Create new object.

Reimplemented from cmtk::Plane.

Definition at line 60 of file cmtkImage.h.

Referenced by cmtk::QtTriplanarWindow::QtTriplanarWindow().


Member Data Documentation

The actual image data.

Definition at line 137 of file cmtkImage.h.

Referenced by GetData(), GetScalarImage(), and SetData().


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