My Project
rayFileInstance.h
1 #ifndef RAY_FILE_INSTANCE_INCLUDED
2 #define RAY_FILE_INSTANCE_INCLUDED
3 #include <Util/geometry.h>
4 #include "rayShape.h"
5 #include "rayScene.h"
6 
7 
9 class RayFileInstance : public RayShape {
10  RayFile* rayFile;
11 public:
12  RayFileInstance(RayFile* rayFile);
13 
14  void write(int indent,FILE* fp=stdout);
15 
17  // Ray-Tracing stuff //
19  double intersect(Ray3D ray,struct RayIntersectionInfo& iInfo,double mx=-1);
20 
22 
24  // OpenGL stuff //
26  void setUpOpenGL(int cplx);
27 
28  int drawOpenGL(int materialIndex);
29  int isStatic(void);
30 };
31 
32 #endif // RAY_FILE_INSTANCE_INCLUDED
33 
void write(int indent, FILE *fp=stdout)
Definition: rayFileInstance.cpp:8
Definition: geometry.h:421
int drawOpenGL(int materialIndex)
Definition: rayFileInstance.cpp:29
Definition: rayScene.h:109
void setUpOpenGL(int cplx)
Definition: rayFileInstance.cpp:24
Definition: rayScene.h:16
double intersect(Ray3D ray, struct RayIntersectionInfo &iInfo, double mx=-1)
Definition: rayFileInstance.cpp:13
BoundingBox3D setBoundingBox(void)
Definition: rayFileInstance.cpp:17
Definition: geometry.h:182
Definition: rayShape.h:9
Definition: rayFileInstance.h:9
int isStatic(void)
Definition: rayFileInstance.cpp:22