Rev | Line | |
---|
[10192] | 1 | #ifndef _CAMERAMAN_H |
---|
| 2 | #define _CAMERAMAN_H |
---|
| 3 | |
---|
| 4 | #include "p_node.h" |
---|
[10197] | 5 | #include "camera.h" |
---|
[10206] | 6 | #include <vector> |
---|
[10272] | 7 | #include "base_object.h" |
---|
[10192] | 8 | |
---|
[10272] | 9 | class cameraman : public BaseObject { |
---|
| 10 | ObjectListDeclaration(cameraman); |
---|
[10192] | 11 | |
---|
| 12 | private: |
---|
[10197] | 13 | Camera* currentCam; |
---|
[10272] | 14 | float nearClip; |
---|
| 15 | float farClip; |
---|
[10192] | 16 | |
---|
| 17 | |
---|
| 18 | public: |
---|
[10257] | 19 | std::vector<Camera*> cameras; |
---|
[10192] | 20 | cameraman(); |
---|
[10193] | 21 | void setCam(int CameraNo); |
---|
[10192] | 22 | void createCam(); |
---|
[10204] | 23 | void moveCam(int x, int y, int z, int camNo); |
---|
| 24 | void moveCurrCam(int x, int y, int z); |
---|
[10199] | 25 | void changeTarget(int camNo, PNode* target); |
---|
| 26 | void changeCurrTarget(PNode* target); |
---|
[10236] | 27 | void atachCurrTarget(PNode* target); |
---|
[10199] | 28 | void jumpCam(int x, int y, int z, int camNo); |
---|
[10204] | 29 | void jumpCurrCam(int x, int y, int z); |
---|
| 30 | void changeSpeed(float speed); |
---|
[10254] | 31 | void testCam(); |
---|
[10272] | 32 | void setClipRegion(float nearClip, float farClip); |
---|
[10192] | 33 | |
---|
| 34 | |
---|
| 35 | }; |
---|
| 36 | |
---|
[10195] | 37 | #endif /* _CAMERAMAN_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.