EMAN2
Public Member Functions | Public Attributes
EMAN::Pixel Class Reference

Pixel describes a 3D pixel's coordinates and its intensity value. More...

#include <geometry.h>

List of all members.

Public Member Functions

 Pixel (int xx, int yy, int zz, float vv)
 Construct a Pixel object given its 3D coordinates and its value.
 Pixel (const Pixel &p)
IntPoint get_point () const
 Get the pixel's coordinates as an integer point.
float get_value () const
 Get the pixel's intensity value.

Public Attributes

int x
int y
int z
float value

Detailed Description

Pixel describes a 3D pixel's coordinates and its intensity value.

Definition at line 456 of file geometry.h.


Constructor & Destructor Documentation

EMAN::Pixel::Pixel ( int  xx,
int  yy,
int  zz,
float  vv 
) [inline]

Construct a Pixel object given its 3D coordinates and its value.

Parameters:
xxThe x coordinate value.
yyThe y coordinate value.
zzThe z coordinate value.
vvThe pixel's intensity value.

Definition at line 464 of file geometry.h.

: x(xx), y(yy), z(zz), value(vv) { }
EMAN::Pixel::Pixel ( const Pixel p) [inline]

Definition at line 466 of file geometry.h.

: x(p.x), y(p.y), z(p.z), value(p.value) {}

Member Function Documentation

IntPoint EMAN::Pixel::get_point ( ) const [inline]

Get the pixel's coordinates as an integer point.

Returns:
An integer point containing the pixel's coordinates.

Definition at line 471 of file geometry.h.

References x, y, and z.

                {
                        return IntPoint(x, y, z);
                }
float EMAN::Pixel::get_value ( ) const [inline]

Get the pixel's intensity value.

Returns:
The pixel's intensity value.

Definition at line 479 of file geometry.h.

References value.

                {
                        return value;
                }

Member Data Documentation


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