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

#include <image-3d-magick.hh>

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

Public Member Functions

 CImage3dMagick (const std::string &AFilename, int FirstPlane=0, int NbPlaneToRead=0, unsigned int Lg=3)
 
 ~CImage3dMagick ()
 
bool sameVoxel (unsigned int Ax1, unsigned int Ay1, bool Az1, unsigned int Ax2, unsigned int Ay2, bool Az2) const
 
bool sameVoxel (unsigned int Ax, unsigned int Ay, bool Az, int ARed, int AGreen, int ABlue, int AAlpha) const
 
- Public Member Functions inherited from GMap3d::CImage3d
 CImage3d (int AActuPlaneIndex)
 
virtual ~CImage3d ()
 
bool isOk () const
 
unsigned int getPlaneActu () const
 
unsigned int getWidth () const
 
unsigned int getHeight () const
 
bool readNextPlane ()
 
bool lastPlane ()
 
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

bool readData ()
 
void freePlane (bool AActuPlane)
 
void pushPlane ()
 

Additional Inherited Members

- Protected Attributes inherited from GMap3d::CImage3d
unsigned int FWidth
 
unsigned int FHeight
 
bool FIsOk
 
int FNbPlaneToRead
 
int FActuPlaneIndex
 

Detailed Description

Definition at line 44 of file image-3d-magick.hh.

Constructor & Destructor Documentation

INLINE GMap3d::CImage3dMagick::CImage3dMagick ( const std::string &  AFilename,
int  FirstPlane = 0,
int  NbPlaneToRead = 0,
unsigned int  Lg = 3 
)

Definition at line 33 of file image-3d-magick.icc.

INLINE GMap3d::CImage3dMagick::~CImage3dMagick ( )

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

Member Function Documentation

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

Reimplemented from GMap3d::CImage3d.

Definition at line 130 of file image-3d-magick.icc.

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

Reimplemented from GMap3d::CImage3d.

Definition at line 141 of file image-3d-magick.icc.

INLINE bool GMap3d::CImage3dMagick::readData ( )
protectedvirtual

Implements GMap3d::CImage3d.

Definition at line 79 of file image-3d-magick.icc.

INLINE bool GMap3d::CImage3dMagick::sameVoxel ( unsigned int  Ax1,
unsigned int  Ay1,
bool  Az1,
unsigned int  Ax2,
unsigned int  Ay2,
bool  Az2 
) const
virtual

Implements GMap3d::CImage3d.

Definition at line 112 of file image-3d-magick.icc.

INLINE bool GMap3d::CImage3dMagick::sameVoxel ( unsigned int  Ax,
unsigned int  Ay,
bool  Az,
int  ARed,
int  AGreen,
int  ABlue,
int  AAlpha 
) const
virtual

Méthode pour comparer si le voxel se trouvant aux coordonnées (Ax,Ay,Az) est de la même couleur que AColor. AColor contient 3 octets représentant Rouge, Vert, Bleu (dans cet ordre)

Implements GMap3d::CImage3d.

Definition at line 122 of file image-3d-magick.icc.


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