7 #ifndef __moa_SplatLineSystem_h__ 8 #define __moa_SplatLineSystem_h__ 135 void initialize(
void);
137 virtual void compile(
const t_note_id &a_note_id);
139 virtual bool match(
const Record &r_splat) = 0;
141 virtual void image(
void);
148 Annotation(t_moa_real a_x, t_moa_real a_y,
150 m_x(a_x), m_y(a_y), m_text(a_text) {}
169 t_image_splat::t_span m_loc;
170 void setReal(
const String &a_name, t_moa_real a_value);
171 void dot(t_moa_real a_x, t_moa_real a_y);
172 void mark(t_moa_real a_x, t_moa_real a_y);
173 void line(t_moa_real a_x, t_moa_real a_y);
174 void annotate(t_moa_real a_x, t_moa_real a_y,
176 void annotate(t_moa_real a_x, t_moa_real a_y,
181 std::vector<t_moa_real> m_x_run;
182 std::vector<t_moa_real> m_y_run;
187 std::vector< Annotation > m_annotations;
200 std::vector< sp<Context> > m_contexts;
205 typedef std::map< String, SplatTarget > t_splatmap;
206 t_splatmap m_splatMap;
207 AsDatasetMeta m_asDatasetMeta;
208 std::vector< sp<Context> > m_contexts;
209 t_note_id m_note_image;
210 t_note_id m_note_datapoint;
211 t_note_id m_note_run_stop;
212 t_note_id m_note_line_start;
213 t_note_id m_note_line_stop;
214 t_note_id m_note_loop_start;
215 t_note_id m_note_loop_stop;
216 t_note_id m_note_dt_change;
219 class FE_DL_EXPORT SplatLineSystem :
224 SplatLineSystem(
void);
225 virtual ~SplatLineSystem(
void);
226 void initialize(
void) {}
228 virtual void perform(
const t_note_id &a_note_id);
229 virtual bool match(
const Record &r_splat);
233 class FE_DL_EXPORT NyquistLineSystem :
238 NyquistLineSystem(
void);
239 virtual ~NyquistLineSystem(
void);
240 void initialize(
void);
242 virtual void perform(
const t_note_id &a_note_id);
243 virtual void compile(
const t_note_id &a_note_id);
244 virtual bool match(
const Record &r_splat);
249 t_moa_real m_start_time;
255 std::vector<NyquistContext> m_nyquistContexts;
256 AsNyquistLine m_asNyquistLine;
259 class Imager :
virtual public t_image_splat::Functor
266 virtual ~Imager(
void)
272 typename t_image_splat::t_span loc;
273 t_moa_v3 color = a_splat.direct(a_index);
274 a_splat.location(loc, a_index);
275 int R = (int)(color[0]*255.0);
276 int G = (int)(color[1]*255.0);
277 int B = (int)(color[2]*255.0);
Interface to attach a 2D splat.
Definition: SplatterI.h:16
N dimensional state buffer.
Definition: Splat.h:28
Heap-based support for classes participating in fe::ptr <>
Definition: Counted.h:35
kernel
Definition: namespace.dox:3
Per-class participation in the Initialized <> mechanism.
Definition: Initialized.h:117
A System to capture data via splatting.
Definition: SplatLineSystem.h:127
Clock.
Definition: moaAS.h:104
Automatically reference-counted string container.
Definition: String.h:128
Reference to an instance of a Layout.
Definition: RecordSB.h:35
Splat Configuration.
Definition: moaAS.h:169
Intrusive Smart Pointer.
Definition: src/core/ptr.h:53
System Interface for MOA.
Definition: SystemI.h:18
Non-persistent reference to an instance of a Layout.
Definition: WeakRecordSB.h:17