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

cmtk::Plane Class Reference
[cmtkPipeline Library]

Class for 2D planes, that is uniform point meshes. More...

#include <cmtkPlane.h>

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

List of all members.

Public Member Functions

 igsClassParameter2Array (unsigned int, Dims)
 Dimensions array.
 igsClassParameter2Array (Types::Coordinate, Spacing)
 Spacing (ie. pixel size) array.
 igsClassParameter3Array (Types::Coordinate, Origin)
 Origin of image in 3D space.
 igsClassParameter3Array (Types::Coordinate, DirectionX)
 Direction of image's x-axis in 3D space.
 igsClassParameter3Array (Types::Coordinate, DirectionY)
 Direction of image's y-axis in 3D space.
void CopyStructure (const Plane *plane)
 Copy the structure of another Plane object.
virtual unsigned int GetNumPixels () const
 Return number of pixels in this object.
void GetPixelLocation (Vector3D &v, const unsigned int x, const unsigned int y) const
 Return 3D coordinate of a particular pixel.
void Project (Vector3D &p, const Vector3D &q) const
 Project 3D coordinate onto plane.
void ProjectPixel (const Vector3D &v, unsigned int &i, unsigned int &j) const
 Project 3D coordinate onto image plane pixels.

Static Public Member Functions

static PlaneNew ()
 Create new object.

Protected Member Functions

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

Detailed Description

Class for 2D planes, that is uniform point meshes.

Definition at line 53 of file cmtkPlane.h.


Constructor & Destructor Documentation

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

Destructor.

Definition at line 111 of file cmtkPlane.h.


Member Function Documentation

virtual unsigned int cmtk::Plane::GetNumPixels (  ) const [inline, virtual]

Return number of pixels in this object.

Definition at line 82 of file cmtkPlane.h.

void cmtk::Plane::GetPixelLocation ( Vector3D v,
const unsigned int  x,
const unsigned int  y 
) const [inline]

Return 3D coordinate of a particular pixel.

Definition at line 85 of file cmtkPlane.h.

cmtk::Plane::igsClassParameter2Array ( unsigned  int,
Dims   
)

Dimensions array.

cmtk::Plane::igsClassParameter2Array ( Types::Coordinate  ,
Spacing   
)

Spacing (ie. pixel size) array.

cmtk::Plane::igsClassParameter3Array ( Types::Coordinate  ,
Origin   
)

Origin of image in 3D space.

cmtk::Plane::igsClassParameter3Array ( Types::Coordinate  ,
DirectionX   
)

Direction of image's x-axis in 3D space.

cmtk::Plane::igsClassParameter3Array ( Types::Coordinate  ,
DirectionY   
)

Direction of image's y-axis in 3D space.

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

Create new object.

Reimplemented in cmtk::Image, and cmtk::ImageRGB.

Definition at line 58 of file cmtkPlane.h.


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