mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-21 07:41:09 -06:00
Another set of 3DScene methods moved to c++
This commit is contained in:
parent
9729c71691
commit
d74b85f3fe
13 changed files with 151 additions and 62 deletions
|
@ -93,9 +93,6 @@
|
|||
int count()
|
||||
%code{% RETVAL = THIS->volumes.size(); %};
|
||||
|
||||
std::vector<double> get_current_print_zs(bool active_only)
|
||||
%code{% RETVAL = THIS->get_current_print_zs(active_only); %};
|
||||
|
||||
void set_range(double low, double high);
|
||||
|
||||
void render_VBOs() const;
|
||||
|
@ -389,6 +386,23 @@ render(canvas)
|
|||
CODE:
|
||||
_3DScene::render((wxGLCanvas*)wxPli_sv_2_object(aTHX_ canvas, "Wx::GLCanvas"));
|
||||
|
||||
std::vector<double>
|
||||
get_current_print_zs(canvas, active_only)
|
||||
SV *canvas;
|
||||
bool active_only;
|
||||
CODE:
|
||||
RETVAL = _3DScene::get_current_print_zs((wxGLCanvas*)wxPli_sv_2_object(aTHX_ canvas, "Wx::GLCanvas"), active_only);
|
||||
OUTPUT:
|
||||
RETVAL
|
||||
|
||||
void
|
||||
set_toolpaths_range(canvas, low, high)
|
||||
SV *canvas;
|
||||
double low;
|
||||
double high;
|
||||
CODE:
|
||||
_3DScene::set_toolpaths_range((wxGLCanvas*)wxPli_sv_2_object(aTHX_ canvas, "Wx::GLCanvas"), low, high);
|
||||
|
||||
void
|
||||
register_on_viewport_changed_callback(canvas, callback)
|
||||
SV *canvas;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue