mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-22 16:21:24 -06:00
3DScene render method partially moved to c++
This commit is contained in:
parent
db260a669c
commit
363a964ebb
10 changed files with 326 additions and 450 deletions
|
@ -91,10 +91,16 @@ public:
|
|||
~PerlCallback() { this->deregister_callback(); }
|
||||
void register_callback(void *sv);
|
||||
void deregister_callback();
|
||||
void call();
|
||||
void call(int i);
|
||||
void call(int i, int j);
|
||||
// void call(const std::vector<int> &ints);
|
||||
//##############################################################################################################
|
||||
void call() const;
|
||||
void call(int i) const;
|
||||
void call(int i, int j) const;
|
||||
// void call(const std::vector<int> &ints);
|
||||
// void call();
|
||||
// void call(int i);
|
||||
// void call(int i, int j);
|
||||
//// void call(const std::vector<int> &ints);
|
||||
//##############################################################################################################
|
||||
private:
|
||||
void *m_callback;
|
||||
};
|
||||
|
|
|
@ -184,7 +184,10 @@ void PerlCallback::deregister_callback()
|
|||
}
|
||||
}
|
||||
|
||||
void PerlCallback::call()
|
||||
//##############################################################################################################
|
||||
void PerlCallback::call() const
|
||||
//void PerlCallback::call()
|
||||
//##############################################################################################################
|
||||
{
|
||||
if (! m_callback)
|
||||
return;
|
||||
|
@ -198,7 +201,10 @@ void PerlCallback::call()
|
|||
LEAVE;
|
||||
}
|
||||
|
||||
void PerlCallback::call(int i)
|
||||
//##############################################################################################################
|
||||
void PerlCallback::call(int i) const
|
||||
//void PerlCallback::call(int i)
|
||||
//##############################################################################################################
|
||||
{
|
||||
if (! m_callback)
|
||||
return;
|
||||
|
@ -213,7 +219,10 @@ void PerlCallback::call(int i)
|
|||
LEAVE;
|
||||
}
|
||||
|
||||
void PerlCallback::call(int i, int j)
|
||||
//##############################################################################################################
|
||||
void PerlCallback::call(int i, int j) const
|
||||
//void PerlCallback::call(int i, int j)
|
||||
//##############################################################################################################
|
||||
{
|
||||
if (! m_callback)
|
||||
return;
|
||||
|
@ -230,7 +239,10 @@ void PerlCallback::call(int i, int j)
|
|||
}
|
||||
|
||||
/*
|
||||
void PerlCallback::call(const std::vector<int> &ints)
|
||||
//##############################################################################################################
|
||||
void PerlCallback::call(const std::vector<int> &ints) const
|
||||
//void PerlCallback::call(const std::vector<int> &ints)
|
||||
//##############################################################################################################
|
||||
{
|
||||
if (! m_callback)
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue