123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 |
- #pragma once
- #include "Mat4.h"
- namespace Framework
- {
- struct MausEreignis3D;
- struct TastaturEreignis;
- class Render3D;
-
- class Zeichnung3D
- {
- protected:
- Vec3< float > pos;
- Vec3< float > angle;
- Mat4< float > welt;
- float radius;
- bool alpha;
- bool rend;
- float size;
- int ref;
- public:
-
- __declspec( dllexport ) Zeichnung3D();
- __declspec( dllexport ) virtual ~Zeichnung3D();
-
-
- __declspec( dllexport ) void setPosition( Vec3< float > &p );
-
-
-
-
- __declspec( dllexport ) void setPosition( float x, float y, float z );
-
-
- __declspec( dllexport ) void setX( float x );
-
-
- __declspec( dllexport ) void setY( float y );
-
-
- __declspec( dllexport ) void setZ( float z );
-
-
- __declspec( dllexport ) void setDrehung( Vec3< float > &d );
-
-
-
-
- __declspec( dllexport ) void setDrehung( float xWinkel, float yWinkel, float zWinkel );
-
-
- __declspec( dllexport ) void setDrehungX( float winkel );
-
-
- __declspec( dllexport ) void setDrehungY( float winkel );
-
-
- __declspec( dllexport ) void setDrehungZ( float winkel );
-
-
- __declspec( dllexport ) void setAlpha( bool a );
-
-
-
-
- __declspec( dllexport ) virtual int errechneMatrizen( Mat4< float > &viewProj, Mat4< float > *matBuffer );
-
-
- __declspec( dllexport ) virtual void doMausEreignis( MausEreignis3D &me );
-
-
- __declspec( dllexport ) virtual void doTastaturEreignis( TastaturEreignis &te );
-
-
-
- __declspec( dllexport ) virtual bool tick( double tickval );
-
- __declspec( dllexport ) bool hatAlpha() const;
-
- __declspec( dllexport ) float getRadius() const;
-
- __declspec( dllexport ) const Vec3< float > &getPos() const;
-
- __declspec( dllexport ) float getX() const;
-
- __declspec( dllexport ) float getY() const;
-
- __declspec( dllexport ) float getZ() const;
-
- __declspec( dllexport ) const Vec3< float > &getDrehung() const;
-
- __declspec( dllexport ) float getXDrehung() const;
-
- __declspec( dllexport ) float getYDrehung() const;
-
- __declspec( dllexport ) float getZDrehung() const;
-
- __declspec( dllexport ) const Mat4< float > &getMatrix() const;
-
-
- __declspec( dllexport ) Zeichnung3D *getThis();
-
-
- __declspec( dllexport ) virtual Zeichnung3D *release();
- };
- }
|