-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathSyntheticScan.h
36 lines (29 loc) · 947 Bytes
/
SyntheticScan.h
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
31
32
33
34
35
36
//############################################################
//
// SyntheticScan.h
//
// Matt Ginzton
// Mon Jul 27 15:42:20 PDT 1998
//
// "Scan" objects created analytically rather than acquired.
//
//############################################################
#include "RigidScan.h"
#include "Bbox.h"
class SyntheticScan: public RigidScan
{
public:
SyntheticScan (float size = 1.0);
// perVertex: colors and normals for every vertex (not every 3)
// stripped: triangle strips instead of triangles
// color: one of the enum values from RigidScan.h
// colorsize: # of bytes for color
virtual MeshTransport* mesh(bool perVertex = true,
bool stripped = true,
ColorSource color = colorNone,
int colorSize = 3);
virtual OccSt carve_cube (const Pnt3 &ctr, float side);
virtual float
closest_along_line_of_sight(const Pnt3 &p, Pnt3 &cp,
OccSt &status_p);
};