File: TransformVisitor.h

package info (click to toggle)
pinball 0.3.20201218-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 8,452 kB
  • sloc: cpp: 15,230; makefile: 840; sh: 381; xml: 24
file content (30 lines) | stat: -rw-r--r-- 850 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/***************************************************************************
                          TVisitor.h  -  description
                             -------------------
    begin                : Wed Jan 26 2000
    copyright            : (C) 2000 by Henrik Enqvist
    email                : henqvist@excite.com
 ***************************************************************************/

#ifndef TRANSFORMVISITOR_H
#define TRANSFORMVISITOR_H

#include "Visitor.h"
#include "EMath.h"

/** Only for internal use. */
class TransformVisitor : public Visitor {
 protected:
	TransformVisitor();
 public:
	~TransformVisitor();
	static TransformVisitor * getInstance();
	void setCamera(Group*);
	void visit(Group*);
	void empty();
 private:
	Group* p_GroupCamera;
	static TransformVisitor * p_TransformVisitor;
};

#endif // TRANSFORMVISITOR_H