Go to the documentation of this file.
4 #ifndef tools_sg_plottables
5 #define tools_sg_plottables
17 virtual void*
cast(
const std::string& a_class)
const {
18 if(
void* p = cmp_cast<bins1D>(
this,a_class)) {
return p;}
27 virtual unsigned int bins()
const = 0;
46 virtual void*
cast(
const std::string& a_class)
const {
47 if(
void* p = cmp_cast<bins2D>(
this,a_class)) {
return p;}
56 virtual unsigned int x_bins()
const = 0;
60 virtual unsigned int y_bins()
const = 0;
72 virtual float bin_Sw(
int,
int)
const = 0;
80 virtual void*
cast(
const std::string& a_class)
const {
81 if(
void* p = cmp_cast<func1D>(
this,a_class)) {
return p;}
87 virtual bool value(
float,
float&)
const = 0;
89 virtual float x_min()
const = 0;
90 virtual float x_max()
const = 0;
97 virtual void*
cast(
const std::string& a_class)
const {
98 if(
void* p = cmp_cast<func2D>(
this,a_class)) {
return p;}
104 virtual bool value(
float,
float,
float&)
const = 0;
124 virtual void*
cast(
const std::string& a_class)
const {
125 if(
void* p = cmp_cast<points2D>(
this,a_class)) {
return p;}
137 virtual bool ith_point(
unsigned int,
float&,
float&)
const = 0;
144 virtual void*
cast(
const std::string& a_class)
const {
145 if(
void* p = cmp_cast<points3D>(
this,a_class)) {
return p;}
159 virtual bool ith_point(
unsigned int,
float&,
float&,
float&)
const = 0;
163 static const std::string s_v(
"tools::sg::fit2plot");
182 virtual void*
cast(
const std::string& a_class)
const {
183 if(
void* p = cmp_cast<plottable_text>(
this,a_class)) {
return p;}
204 char a_HJUST,
char a_VJUST,
205 const std::string& a_FONT,
const colorf& a_TXCI,
206 float a_SCALE,
bool a_SMOOTHING,
bool a_HINTING,
float a_line_width,
272 virtual void*
cast(
const std::string& a_class)
const {
273 if(
void* p = cmp_cast<plottable_box>(
this,a_class)) {
return p;}
288 bool a_BORD,
const colorf& a_PLCI,
float a_LWID)
331 virtual void*
cast(
const std::string& a_class)
const {
332 if(
void* p = cmp_cast<plottable_ellipse>(
this,a_class)) {
return p;}
347 bool a_BORD,
const colorf& a_PLCI,
float a_LWID)
388 #include "../typedefs"
398 virtual void*
cast(
const std::string& a_class)
const {
399 if(
void* p = cmp_cast<plottable_img>(
this,a_class)) {
return p;}
virtual void * cast(const std::string &a_class) const
font_modeling m_font_modeling
plottable_text & operator=(const plottable_text &a_from)
#define TOOLS_SCLASS(a_name)
plottable_text(const plottable_text &a_from)
plottable_text(const std::string &a_TEXT, float a_X, float a_Y, float a_SIZE, text_mode a_text_mode, float a_ANGLE, char a_HJUST, char a_VJUST, const std::string &a_FONT, const colorf &a_TXCI, float a_SCALE, bool a_SMOOTHING, bool a_HINTING, float a_line_width, font_modeling a_font_modeling)
virtual plotprim * copy() const