Go to the documentation of this file.
4 #ifndef tools_sg_bbox_action
5 #define tools_sg_bbox_action
10 #include "../lina/box3f"
18 virtual bool project(
float& a_x,
float& a_y,
float& a_z,
float& a_w) {
23 virtual bool add_point(
float a_x,
float a_y,
float a_z,
float) {
28 virtual bool add_point(
float a_x,
float a_y,
float a_z,
float,
29 float,
float,
float,
float) {
34 virtual bool add_line(
float a_bx,
float a_by,
float a_bz,
float,
35 float a_ex,
float a_ey,
float a_ez,
float) {
41 virtual bool add_line(
float a_bx,
float a_by,
float a_bz,
float a_bw,
42 float,
float,
float,
float,
43 float a_ex,
float a_ey,
float a_ez,
float a_ew,
44 float,
float,
float,
float) {
49 virtual bool add_triangle(
float a_p1x,
float a_p1y,
float a_p1z,
float,
50 float a_p2x,
float a_p2y,
float a_p2z,
float,
51 float a_p3x,
float a_p3y,
float a_p3z,
float){
58 virtual bool add_triangle(
float a_p1x,
float a_p1y,
float a_p1z,
float a_p1w,
59 float,
float,
float,
float,
60 float a_p2x,
float a_p2y,
float a_p2z,
float a_p2w,
61 float,
float,
float,
float,
62 float a_p3x,
float a_p3y,
float a_p3z,
float a_p3w,
63 float,
float,
float,
float){
65 a_p2x,a_p2y,a_p2z,a_p2w,
66 a_p3x,a_p3y,a_p3z,a_p3w);
77 float,
float,
float,
float) {
81 virtual bool add_line_normal(
float a_bx,
float a_by,
float a_bz,
float a_bw,
float,
float,
float,
82 float a_ex,
float a_ey,
float a_ez,
float a_ew,
float,
float,
float) {
85 virtual bool add_line_normal(
float a_bx,
float a_by,
float a_bz,
float a_bw,
float,
float,
float,
float,
float,
float,
float,
86 float a_ex,
float a_ey,
float a_ez,
float a_ew,
float,
float,
float,
float,
float,
float,
float) {
91 float a_p2x,
float a_p2y,
float a_p2z,
float a_p2w,
float,
float,
float,
92 float a_p3x,
float a_p3y,
float a_p3z,
float a_p3w,
float,
float,
float) {
94 a_p2x,a_p2y,a_p2z,a_p2w,
95 a_p3x,a_p3y,a_p3z,a_p3w);
98 float,
float,
float,
float,
float,
float,
float,
99 float a_p2x,
float a_p2y,
float a_p2z,
float a_p2w,
100 float,
float,
float,
float,
float,
float,
float,
101 float a_p3x,
float a_p3y,
float a_p3z,
float a_p3w,
102 float,
float,
float,
float,
float,
float,
float) {
104 a_p2x,a_p2y,a_p2z,a_p2w,
105 a_p3x,a_p3y,a_p3z,a_p3w);
118 if(&a_from==
this)
return *
this;
119 parent::operator=(a_from);
#define TOOLS_ACTION(a__class, a__sclass, a__parent)