Go to the documentation of this file.
4 #ifndef tools_sg_perspective
5 #define tools_sg_perspective
20 virtual void zoom(
float a_fac) {
32 static const desc_fields s_v(parent::node_desc_fields(),1,
47 mem::increment(s_class().c_str());
53 mem::decrement(s_class().c_str());
62 mem::increment(s_class().c_str());
67 parent::operator=(a_from);
73 if(!parent::operator==(a_from))
return false;
81 void dump(std::ostream& a_out) {
87 virtual void get_lrbt(
unsigned int a_ww,
unsigned int a_wh,
88 float& a_l,
float& a_r,
float& a_b,
float& a_t) {
89 float aspect = float(a_ww)/float(a_wh);
#define TOOLS_NODE(a__class, a__sclass, a__parent)
#define TOOLS_FIELD_DESC_NODE_CLASS(a__class)
#define TOOLS_ARG_FIELD_DESC(a__field)