trase
Geometry.hpp File Reference

available geometry types are Points, Line. More...

#include <memory>
#include <vector>
#include "frontend/Data.hpp"
#include "frontend/Drawable.hpp"
#include "frontend/Transform.hpp"
#include "util/BBox.hpp"
#include "util/Colors.hpp"
#include "util/Exception.hpp"
#include "frontend/Geometry.tcc"
Include dependency graph for Geometry.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  trase::Geometry
 

Macros

#define TRASE_DISPATCH_LEGEND(backend_type)
 
#define TRASE_ANIMATED_DISPATCH_LEGEND(backend_type)
 
#define TRASE_DISPATCH_LEGEND_SVG
 
#define TRASE_DISPATCH_LEGEND_GL
 
#define TRASE_GEOMETRY_DISPATCH_BACKENDS
 

Detailed Description

available geometry types are Points, Line.

Any new sub-classes need to be added here

Macro Definition Documentation

◆ TRASE_ANIMATED_DISPATCH_LEGEND

#define TRASE_ANIMATED_DISPATCH_LEGEND (   backend_type)
Value:
void dispatch_legend(backend_type &backend, const bfloat2_t &box) override { \
draw_legend(backend, box); \
}

◆ TRASE_DISPATCH_LEGEND

#define TRASE_DISPATCH_LEGEND (   backend_type)
Value:
void dispatch_legend(backend_type &backend, float time, \
const bfloat2_t &box) override { \
draw_legend(backend, time, box); \
}

◆ TRASE_DISPATCH_LEGEND_SVG

#define TRASE_DISPATCH_LEGEND_SVG
Value:
TRASE_DISPATCH_LEGEND(BackendSVG) \
TRASE_ANIMATED_DISPATCH_LEGEND(BackendSVG)

◆ TRASE_GEOMETRY_DISPATCH_BACKENDS

#define TRASE_GEOMETRY_DISPATCH_BACKENDS
Value:
TRASE_DISPATCH_SVG \
TRASE_DISPATCH_GL \
TRASE_DISPATCH_LEGEND_SVG \
TRASE_DISPATCH_LEGEND_GL