#include <TaskOrthoViews.h>
Public Member Functions | |
void | add_view (int rel_x, int rel_y) |
void | auto_dims (bool setting) |
void | del_all () |
void | del_view (int rel_x, int rel_y) |
bool | get_Axo (int rel_x, int rel_y, int &axo, gp_Dir &up, gp_Dir &right, bool &away, bool &tri, float &axo_scale) |
void | get_configs (float configs[5]) |
int | is_Ortho (int rel_x, int rel_y) |
OrthoViews (App::Document *, const char *pagename, const char *partname) | |
void | set_Axo (int rel_x, int rel_y) |
void | set_Axo (int rel_x, int rel_y, gp_Dir up, gp_Dir right, bool away=false, int axo=0, bool tri=false) |
void | set_Axo_scale (int rel_x, int rel_y, float axo_scale) |
void | set_configs (float configs[5]) |
void | set_hidden (bool state) |
void | set_Ortho (int rel_x, int rel_y) |
void | set_primary (gp_Dir facing, gp_Dir right) |
void | set_projection (int proj) |
void | set_smooth (bool state) |
~OrthoViews () | |
OrthoViews::OrthoViews | ( | App::Document * | doc, |
const char * | pagename, | ||
const char * | partname | ||
) |
OrthoViews::~OrthoViews | ( | ) |
References App::DocumentObject::recomputeFeature().
References set_Axo().
Referenced by DrawingGui::TaskOrthoViews::cb_toggled(), and set_primary().
void OrthoViews::auto_dims | ( | bool | setting | ) |
Referenced by DrawingGui::TaskOrthoViews::toggle_auto().
void OrthoViews::del_all | ( | ) |
Referenced by DrawingGui::TaskOrthoViews::clean_up().
Referenced by DrawingGui::TaskOrthoViews::cb_toggled().
bool OrthoViews::get_Axo | ( | int | rel_x, |
int | rel_y, | ||
int & | axo, | ||
gp_Dir & | up, | ||
gp_Dir & | right, | ||
bool & | away, | ||
bool & | tri, | ||
float & | axo_scale | ||
) |
void OrthoViews::get_configs | ( | float | configs[5] | ) |
References draftfunctions.scale::scale().
void OrthoViews::set_Axo | ( | int | rel_x, |
int | rel_y, | ||
gp_Dir | up, | ||
gp_Dir | right, | ||
bool | away = false , |
||
int | axo = 0 , |
||
bool | tri = false |
||
) |
References App::Document::recompute().
Referenced by add_view(), DrawingGui::TaskOrthoViews::change_axo(), set_Axo(), and DrawingGui::TaskOrthoViews::ShowContextMenu().
References App::Document::recompute().
Referenced by DrawingGui::TaskOrthoViews::axo_scale().
void OrthoViews::set_configs | ( | float | configs[5] | ) |
Referenced by DrawingGui::TaskOrthoViews::data_entered().
void OrthoViews::set_hidden | ( | bool | state | ) |
References App::Document::recompute().
Referenced by DrawingGui::TaskOrthoViews::hidden().
References App::Document::recompute().
Referenced by DrawingGui::TaskOrthoViews::ShowContextMenu().
void OrthoViews::set_primary | ( | gp_Dir | facing, |
gp_Dir | right | ||
) |
void OrthoViews::set_projection | ( | int | proj | ) |
Referenced by DrawingGui::TaskOrthoViews::projectionChanged().
void OrthoViews::set_smooth | ( | bool | state | ) |
References App::Document::recompute().
Referenced by DrawingGui::TaskOrthoViews::smooth().