RobinTrace
lseq.h
Go to the documentation of this file.
1 
2 #ifndef LSEQ_H
3 #define LSEQ_H
4 
5 #include <vector>
6 
7 #include "pinyo.h"
8 #include "lseq_part.h"
10 #include "lpart_vec.h"
11 #include "lseq_input/lseq_rays.h"
12 #include "type_map/type_map.h"
13 
16 class lseq {
17  public:
19  std::vector<lseq_part> parts;
22 
24  lseq();
26  lseq (const lpart_vec &parts);
27 
29  void trace_next ();
31  void trace_remaining ();
34 };
35 
36 #endif // LSEQ_H
Vector of lparts.
Definition: lpart_vec.h:12
Top-level API for robintrace. Holds parts, rays and manages the computations.
Definition: lseq.h:16
lseq()
Default constructor.
void compute_parts_global_position()
Compute the global position (apex and rotation) of all parts.
Definition: lseq.cpp:25
type_map< lseq_input > inputs
Table of inputs for computations in lseq.
Definition: lseq.h:21
void trace_next()
Trace the lseq_rays through the next part.
Definition: lseq.cpp:9
std::vector< lseq_part > parts
Vector of the system's lseq_part.
Definition: lseq.h:19
void trace_remaining()
Trace the lseq_rays through the remaining parts.
Definition: lseq.cpp:18