Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

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:
xx The x coordinate value.
yy The y coordinate value.
zz The z coordinate value.
vv The pixel's intensity value.

Definition at line 464 of file geometry.h.

References x, and y.

00464 : x(xx), y(yy), z(zz), value(vv) { }

EMAN::Pixel::Pixel const Pixel p  )  [inline]
 

Definition at line 466 of file geometry.h.

References x, and y.

00466 : 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, and y.

00472                 {
00473                         return IntPoint(x, y, z);
00474                 }

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.

00480                 {
00481                         return value;
00482                 }


Member Data Documentation

float EMAN::Pixel::value
 

Definition at line 487 of file geometry.h.

Referenced by EMAN::operator<(), EMAN::operator==(), and EMAN::TestUtil::test_vector_pixel().

int EMAN::Pixel::x
 

Definition at line 484 of file geometry.h.

Referenced by EMAN::operator==(), EMAN::DistanceSegmentProcessor::process(), and EMAN::TestUtil::test_vector_pixel().

int EMAN::Pixel::y
 

Definition at line 485 of file geometry.h.

Referenced by EMAN::operator==(), EMAN::DistanceSegmentProcessor::process(), and EMAN::TestUtil::test_vector_pixel().

int EMAN::Pixel::z
 

Definition at line 486 of file geometry.h.

Referenced by EMAN::operator==(), EMAN::DistanceSegmentProcessor::process(), and EMAN::TestUtil::test_vector_pixel().


The documentation for this class was generated from the following file:
Generated on Tue Jun 11 13:42:04 2013 for EMAN2 by  doxygen 1.3.9.1