source: GTP/trunk/Lib/Vis/Preprocessing/src/QtInterface/ObjectPlacer.h @ 2694

Revision 2694, 1009 bytes checked in by mattausch, 16 years ago (diff)

worked on moving objects

RevLine 
[2693]1 #ifndef OBJECTPLACER_H
2#define OBJECTPLACER_H
3
[2694]4#include "Containers.h"
5
[2693]6namespace GtpVisibilityPreprocessor {
7
8class Vector3;
[2694]9class Preprocessor;
[2693]10
11
12/** A class for managing interactive object placement
13 */
14class ObjectPlacer
15{
16public:
[2694]17        /** Default constructor taking a pointer to the currently used preprocessor.
18        */
19//      ObjectPlacer(Preprocessor *prep);
[2693]20        ObjectPlacer();
21
[2694]22        /** Sets library objects.
23        */
24        void AddObject(SceneGraphLeaf *object);
25
26        /** Selects the next library object.
27        */
[2693]28        void NextObject();
[2694]29        /** Selects the previous library object.
30        */
[2693]31        void PreviousObject();
[2694]32        /** Adds an object at the indicated position.
33        */
34        void PlaceObject(const Vector3 &p);
[2693]35
[2694]36        SceneGraphLeaf *GetCurrentObject();
[2693]37
[2694]38        virtual ~ObjectPlacer() {}
[2693]39
[2694]40        DynamicObjectsContainer &GetDynamicObjects() { return mDynamicObjects; }
[2693]41
42
43protected:
44
[2694]45        //Preprocessor *mPreprocessor;
46
47        DynamicObjectsContainer mDynamicObjects;
48               
49        int mCurrentObject;
50
[2693]51};
52
53}
54
55#endif // OBJECTPLACER_H
Note: See TracBrowser for help on using the repository browser.