Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

ProjectionVideoImage.h

Go to the documentation of this file.
00001 
00048 #ifndef _AMIRE_COMMON_PROJECTION_VIDEO_IMAGE_H
00049 #define _AMIRE_COMMON_PROJECTION_VIDEO_IMAGE_H
00050 
00051 #include <amire/common/Defines.h>
00052 #include <amire/common/Matrix.h>
00053 #include <amire/common/Image.h>
00054 
00055 namespace amire {
00056   namespace common {
00060     class AMIRE_EXPORT_API ProjectionVideoImage : public virtual Image {
00061     protected:
00065       double zNear;
00066 
00070       double zFar;
00071 
00075       amire::common::Matrix projection;
00076 
00080       amire::common::Matrix inverseProjection;
00081 
00082     public:
00086       ProjectionVideoImage(int width = 0, int height = 0, BitmapFormat format = RGB, long bufferSize = 0, unsigned char *data = NULL, bool deleteData = true);
00087 
00088       virtual ~ProjectionVideoImage();
00089 
00093       void setZRange(double zNear, double zFar);
00094 
00098       const amire::common::Matrix &getProjection() const;
00099 
00103       const amire::common::Matrix &getInverseProjection() const;
00104 
00108       double getZNear();
00109 
00113       double getZFar();
00114 
00115     protected:
00119       virtual void updateProjection() = 0;
00120     };
00121   }
00122 }
00123 
00124 #endif

Generated on Tue May 20 17:23:53 2003 for AMIRE-Framework by doxygen1.3