simulator.h 518 Bytes
Newer Older
Pierre Kraemer's avatar
Pierre Kraemer committed
1
2
3
4
#ifndef SIMULATOR_H
#define SIMULATOR_H

#include "env_map.h"
pitiot's avatar
pitiot committed
5
#include "needle.h"
pitiot's avatar
pitiot committed
6
#include "knife.h"
pitiot's avatar
pitiot committed
7
#include "tree.h"
pitiot's avatar
pitiot committed
8
#include "segment.h"
9

pitiot's avatar
pitiot committed
10
using namespace CGoGN ;
Pierre Kraemer's avatar
Pierre Kraemer committed
11
12
13
class Simulator
{
public:
pitiot's avatar
init    
pitiot committed
14
	Simulator() ;
15
16
17

	~Simulator() ;

pitiot's avatar
init    
pitiot committed
18
19
	void init(int argc, char **argv);
	void doStep();
pitiot's avatar
pitiot committed
20
    void initMovingObject();
pitiot's avatar
pitiot committed
21
22
    void initFixedObjects();
    void initEmptyMovingObject();
pitiot's avatar
pitiot committed
23
    EnvMap envMap_;
pitiot's avatar
init    
pitiot committed
24
	double nbSteps_;
pitiot's avatar
pitiot committed
25
    MovingObject * aiguille;
pitiot's avatar
pitiot committed
26
27
    std::vector<ArticulatedObject * >objects;
    bool Needle_or_knife;
28

pitiot's avatar
maj    
pitiot committed
29
};
Pierre Kraemer's avatar
Pierre Kraemer committed
30
31

#endif