minor improvements
This commit is contained in:
@@ -74,6 +74,7 @@ public:
|
||||
clipView->plane.setValue(SbPlane(SbVec3f(0,0,1),0));
|
||||
clipView->ref();
|
||||
|
||||
node = 0;
|
||||
sensor = new SoTimerSensor(moveCallback, this);
|
||||
}
|
||||
~Private()
|
||||
|
||||
@@ -19,8 +19,8 @@
|
||||
#ifndef GLIMAGEBOX_H
|
||||
#define GLIMAGEBOX_H
|
||||
|
||||
#include <Mod/Image/App/ImageBase.h>
|
||||
#include <QGLWidget>
|
||||
#include <Mod/Image/App/ImageBase.h>
|
||||
#include <QGLWidget>
|
||||
|
||||
namespace ImageGui
|
||||
{
|
||||
@@ -75,7 +75,7 @@ public:
|
||||
unsigned int pixValToMapIndex(double PixVal);
|
||||
|
||||
Q_SIGNALS:
|
||||
void drawGraphics();
|
||||
void drawGraphics();
|
||||
|
||||
private:
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@ public:
|
||||
virtual ~ImageView();
|
||||
|
||||
const char *getName(void) const {return "ImageView";}
|
||||
void onUpdate(void){};
|
||||
void onUpdate(void){}
|
||||
|
||||
bool onMsg(const char* ,const char** ){ return true; }
|
||||
bool onHasMsg(const char* ) const { return false; }
|
||||
|
||||
@@ -465,7 +465,7 @@ void MeshSelection::selectGLCallback(void * ud, SoEventCallback * n)
|
||||
|
||||
std::list<ViewProviderMesh*> views = self->getViewProviders();
|
||||
for (std::list<ViewProviderMesh*>::iterator it = views.begin(); it != views.end(); ++it) {
|
||||
ViewProviderMesh* vp = static_cast<ViewProviderMesh*>(*it);
|
||||
ViewProviderMesh* vp = *it;
|
||||
|
||||
std::vector<unsigned long> faces;
|
||||
const Mesh::MeshObject& mesh = static_cast<Mesh::Feature*>((*it)->getObject())->Mesh.getValue();
|
||||
|
||||
@@ -55,7 +55,7 @@ public:
|
||||
|
||||
protected:
|
||||
// Force using the reference count mechanism.
|
||||
virtual ~SoFCIndexedFaceSet() {};
|
||||
virtual ~SoFCIndexedFaceSet() {}
|
||||
virtual void GLRender(SoGLRenderAction *action);
|
||||
void drawCoords(const SoGLCoordinateElement * const vertexlist,
|
||||
const int32_t *vertexindices,
|
||||
|
||||
Reference in New Issue
Block a user