mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-20 03:16:10 +00:00
- various changes derived from the new MeshRenderInterface interface definition
This commit is contained in:
parent
3426de029c
commit
b859838b15
@ -53,7 +53,7 @@ RadianceScalingRendererPlugin::RadianceScalingRendererPlugin()
|
||||
|
||||
}
|
||||
|
||||
void RadianceScalingRendererPlugin::Init(QAction *, MeshDocument &, GLArea *gla) {
|
||||
void RadianceScalingRendererPlugin::Init(QAction *, MeshDocument &, MLSceneGLSharedDataContext::PerMeshRenderingDataMap& /*mp*/, GLArea *gla) {
|
||||
if (_sDialog) {
|
||||
_sDialog->close();
|
||||
delete _sDialog;
|
||||
@ -93,7 +93,7 @@ void RadianceScalingRendererPlugin::Init(QAction *, MeshDocument &, GLArea *gla)
|
||||
GL_TEST_ERR
|
||||
}
|
||||
|
||||
void RadianceScalingRendererPlugin::Render(QAction *, MeshDocument &md, GLArea *gla)
|
||||
void RadianceScalingRendererPlugin::Render(QAction *, MeshDocument &md, MLSceneGLSharedDataContext::PerMeshRenderingDataMap& /*mp*/, GLArea *gla)
|
||||
{
|
||||
if (gla == NULL)
|
||||
return;
|
||||
|
||||
@ -55,9 +55,9 @@ class RadianceScalingRendererPlugin : public QObject, public MeshRenderInterface
|
||||
void initActionList();
|
||||
|
||||
virtual bool isSupported() {return _supported;}
|
||||
virtual void Init(QAction *a, MeshDocument &m, GLArea *gla);
|
||||
virtual void Init(QAction *a, MeshDocument &m, MLSceneGLSharedDataContext::PerMeshRenderingDataMap& mp, GLArea *gla);
|
||||
virtual void Finalize(QAction *a, MeshDocument *m, GLArea * gla);
|
||||
virtual void Render(QAction *a, MeshDocument &m, GLArea *gla);
|
||||
virtual void Render(QAction *a, MeshDocument &m, MLSceneGLSharedDataContext::PerMeshRenderingDataMap& mp, GLArea *gla);
|
||||
|
||||
inline void setEnable(bool enabled);
|
||||
inline void setLit(bool lit);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user