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