Class for 2D planes, that is uniform point meshes. More...
#include <cmtkPlane.h>
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 Plane * | New () |
Create new object. | |
Protected Member Functions | |
Plane () | |
Default constructor. | |
virtual | ~Plane () |
Destructor. |
Class for 2D planes, that is uniform point meshes.
Definition at line 53 of file cmtkPlane.h.
virtual cmtk::Plane::~Plane | ( | ) | [inline, protected, virtual] |
Destructor.
Definition at line 111 of file cmtkPlane.h.
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.