Blame view

legacy/rts_glFilamentNetwork.h 625 Bytes
f1402849   dmayerich   renewed commit
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
  #ifndef RTS_GLFILAMENTNETWORK_H

  #define RTS_GLFILAMENTNETWORK_H

  

  #include "rtsFilamentNetwork.h"

  #include "rts_glOBJ.h"

  #include <windows.h>

  #include <gl/gl.h>

  #include <gl/glut.h>

  

  class rts_glFilamentNetwork:public rtsFilamentNetwork

  {

  public:

  	rts_glFilamentNetwork(){network = new rts_glOBJ();}

  	void glRender();

  	void glRenderSelected();

  

  	int LoadFIB(const char* filename);		//overload the parent function to reset the display list

  

  	void Pick(unsigned int x, unsigned int y, unsigned int size_x, unsigned int size_y)

  	{

  		((rts_glOBJ*)network)->Pick(x, y, size_x, size_y);

  	}

  };

  		

  				

  #endif