Moka libraries
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
GMap3d::CImage3d Class Referenceabstract

#include <image-3d.hh>

Inheritance diagram for GMap3d::CImage3d:
GMap3d::CImage3dCEA GMap3d::CImage3dMagick

Public Member Functions

 CImage3d (int AActuPlaneIndex)
 
virtual ~CImage3d ()
 
bool isOk () const
 
unsigned int getPlaneActu () const
 
unsigned int getWidth () const
 
unsigned int getHeight () const
 
bool readNextPlane ()
 
bool lastPlane ()
 
virtual bool sameVoxel (unsigned int Ax1, unsigned int Ay1, bool Az1, unsigned int Ax2, unsigned int Ay2, bool Az2) const =0
 
virtual bool sameVoxel (unsigned int Ax, unsigned int Ay, bool Az, int ARed, int AGreen, int ABlue, int AAlpha) const =0
 
bool sameVoxelActuLeft (unsigned int x, unsigned int y) const
 
bool sameVoxelActuBehind (unsigned int x, unsigned int y) const
 
bool sameVoxelActuUp (unsigned int x, unsigned int y) const
 
bool sameVoxelLeftBehind (unsigned int x, unsigned int y) const
 
bool sameVoxelLeftUp (unsigned int x, unsigned int y) const
 
bool sameVoxelBehindLeft (unsigned int x, unsigned int y) const
 
bool sameVoxelBehindUp (unsigned int x, unsigned int y) const
 
bool sameVoxelUpLeft (unsigned int x, unsigned int y) const
 
bool sameVoxelUpBehind (unsigned int x, unsigned int y) const
 
bool sameVoxelUpbehindLeft (unsigned int x, unsigned int y) const
 
bool sameVoxelLeftbehindUp (unsigned int x, unsigned int y) const
 
bool sameVoxelLeftupBehind (unsigned int x, unsigned int y) const
 

Protected Member Functions

virtual bool readData ()=0
 
virtual void freePlane (bool AActuPlane)
 
virtual void pushPlane ()
 

Protected Attributes

unsigned int FWidth
 
unsigned int FHeight
 
bool FIsOk
 
int FNbPlaneToRead
 
int FActuPlaneIndex
 

Detailed Description

Definition at line 41 of file image-3d.hh.

Constructor & Destructor Documentation

INLINE GMap3d::CImage3d::CImage3d ( int  AActuPlaneIndex)

Definition at line 32 of file image-3d.icc.

CImage3d::~CImage3d ( )
virtual

Definition at line 29 of file image-3d.cc.

Member Function Documentation

INLINE void GMap3d::CImage3d::freePlane ( bool  AActuPlane)
protectedvirtual

Reimplemented in GMap3d::CImage3dMagick, and GMap3d::CImage3dCEA.

Definition at line 232 of file image-3d.icc.

INLINE unsigned int GMap3d::CImage3d::getHeight ( ) const

Definition at line 61 of file image-3d.icc.

INLINE unsigned int GMap3d::CImage3d::getPlaneActu ( ) const

Definition at line 49 of file image-3d.icc.

INLINE unsigned int GMap3d::CImage3d::getWidth ( ) const

Definition at line 55 of file image-3d.icc.

INLINE bool GMap3d::CImage3d::isOk ( ) const

Definition at line 43 of file image-3d.icc.

INLINE bool GMap3d::CImage3d::lastPlane ( )

Definition at line 228 of file image-3d.icc.

INLINE void GMap3d::CImage3d::pushPlane ( )
protectedvirtual

Reimplemented in GMap3d::CImage3dMagick, and GMap3d::CImage3dCEA.

Definition at line 241 of file image-3d.icc.

virtual bool GMap3d::CImage3d::readData ( )
protectedpure virtual
INLINE bool GMap3d::CImage3d::readNextPlane ( )

Definition at line 193 of file image-3d.icc.

virtual bool GMap3d::CImage3d::sameVoxel ( unsigned int  Ax1,
unsigned int  Ay1,
bool  Az1,
unsigned int  Ax2,
unsigned int  Ay2,
bool  Az2 
) const
pure virtual
virtual bool GMap3d::CImage3d::sameVoxel ( unsigned int  Ax,
unsigned int  Ay,
bool  Az,
int  ARed,
int  AGreen,
int  ABlue,
int  AAlpha 
) const
pure virtual

Méthode pour comparer si le voxel se trouvant aux coordonnées (Ax,Ay,Az) est de la couleur (ARed, AGreen, ABlue, AAlpha).

Implemented in GMap3d::CImage3dMagick, and GMap3d::CImage3dCEA.

INLINE bool GMap3d::CImage3d::sameVoxelActuBehind ( unsigned int  x,
unsigned int  y 
) const

Definition at line 83 of file image-3d.icc.

INLINE bool GMap3d::CImage3d::sameVoxelActuLeft ( unsigned int  x,
unsigned int  y 
) const

Definition at line 74 of file image-3d.icc.

INLINE bool GMap3d::CImage3d::sameVoxelActuUp ( unsigned int  x,
unsigned int  y 
) const

Definition at line 92 of file image-3d.icc.

INLINE bool GMap3d::CImage3d::sameVoxelBehindLeft ( unsigned int  x,
unsigned int  y 
) const

Definition at line 126 of file image-3d.icc.

INLINE bool GMap3d::CImage3d::sameVoxelBehindUp ( unsigned int  x,
unsigned int  y 
) const

Definition at line 135 of file image-3d.icc.

INLINE bool GMap3d::CImage3d::sameVoxelLeftBehind ( unsigned int  x,
unsigned int  y 
) const

Definition at line 104 of file image-3d.icc.

INLINE bool GMap3d::CImage3d::sameVoxelLeftbehindUp ( unsigned int  x,
unsigned int  y 
) const

Definition at line 175 of file image-3d.icc.

INLINE bool GMap3d::CImage3d::sameVoxelLeftUp ( unsigned int  x,
unsigned int  y 
) const

Definition at line 113 of file image-3d.icc.

INLINE bool GMap3d::CImage3d::sameVoxelLeftupBehind ( unsigned int  x,
unsigned int  y 
) const

Definition at line 184 of file image-3d.icc.

INLINE bool GMap3d::CImage3d::sameVoxelUpBehind ( unsigned int  x,
unsigned int  y 
) const

Definition at line 157 of file image-3d.icc.

INLINE bool GMap3d::CImage3d::sameVoxelUpbehindLeft ( unsigned int  x,
unsigned int  y 
) const

Definition at line 166 of file image-3d.icc.

INLINE bool GMap3d::CImage3d::sameVoxelUpLeft ( unsigned int  x,
unsigned int  y 
) const

Definition at line 148 of file image-3d.icc.

Member Data Documentation

int GMap3d::CImage3d::FActuPlaneIndex
protected

Definition at line 105 of file image-3d.hh.

unsigned int GMap3d::CImage3d::FHeight
protected

Definition at line 100 of file image-3d.hh.

bool GMap3d::CImage3d::FIsOk
protected

Definition at line 102 of file image-3d.hh.

int GMap3d::CImage3d::FNbPlaneToRead
protected

Definition at line 104 of file image-3d.hh.

unsigned int GMap3d::CImage3d::FWidth
protected

Definition at line 100 of file image-3d.hh.


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