Coder Social home page Coder Social logo

superboubek / qmvc Goto Github PK

View Code? Open in Web Editor NEW
68.0 68.0 12.0 8.25 MB

QMVC - Mean value coordinates for quad cages in 3D, reference implementation (J.-M. Thiery, P. Memari & T. Boubekeur, ACM SIGGRAPH Asia 2018/ACM Trans. Graph.)

License: Other

C++ 99.61% QMake 0.39%

qmvc's People

Contributors

superboubek avatar tartouille avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

qmvc's Issues

Doesn't Compile on Manjaro

In file included from CageManip.h:60,
from main.cpp:29:
CageManipInterface.h: In member function ‘std::vector<std::vector >& CMInterface<point_t>::get_cage_quads_cuts()’:
CageManipInterface.h:173:79: error: invalid initialization of reference of type ‘std::vector<std::vector >&’ from expression of type ‘std::vector<std::pair<int, int> >’
inline std::vector< std::vector< int > > & get_cage_quads_cuts() { return cage_quads_cuts ; }
^~~~~~~~~~~~~~~
CageManipInterface.h: In member function ‘const std::vector<std::vector >& CMInterface<point_t>::get_cage_quads_cuts() const’:
CageManipInterface.h:174:91: error: invalid initialization of reference of type ‘const std::vector<std::vector >&’ from expression of type ‘const std::vector<std::pair<int, int> >’
inline std::vector< std::vector< int > > const & get_cage_quads_cuts() const { return cage_quads_cuts ; }
^~~~~~~~~~~~~~~
In file included from main.cpp:29:
CageManip.h: In member function ‘void CMViewer::pickBackgroundColor()’:
CageManip.h:533:19: error: ‘class CMViewer’ has no member named ‘updateGL’; did you mean ‘update’?
this->updateGL();
^~~~~~~~
update
CageManip.h: In member function ‘virtual void CMViewer::init()’:
CageManip.h:597:29: error: ‘class QSurfaceFormat’ has no member named ‘setSampleBuffers’; did you mean ‘setSamples’?
context()->format().setSampleBuffers(true);
^~~~~~~~~~~~~~~~
setSamples
CageManip.h: In member function ‘virtual void CMViewer::mousePressEvent(QMouseEvent*)’:
CageManip.h:716:17: error: ‘updateGL’ was not declared in this scope
updateGL();
^~~~~~~~
CageManip.h:716:17: note: suggested alternative: ‘update’
updateGL();
^~~~~~~~
update
CageManip.h: In member function ‘virtual void CMViewer::mouseMoveEvent(QMouseEvent*)’:
CageManip.h:735:17: error: ‘updateGL’ was not declared in this scope
updateGL();
^~~~~~~~
CageManip.h:735:17: note: suggested alternative: ‘update’
updateGL();
^~~~~~~~
update
CageManip.h: In member function ‘virtual void CMViewer::mouseReleaseEvent(QMouseEvent*)’:
CageManip.h:754:17: error: ‘updateGL’ was not declared in this scope
updateGL();
^~~~~~~~
CageManip.h:754:17: note: suggested alternative: ‘update’
updateGL();
^~~~~~~~
update
CageManip.h: In member function ‘void CMViewer::openCameraFromFile(const QString&)’:
CageManip.h:801:9: error: ‘updateGL’ was not declared in this scope
updateGL();
^~~~~~~~
CageManip.h:801:9: note: suggested alternative: ‘update’
updateGL();
^~~~~~~~
update
CageManip.h: In member function ‘void CMViewer::open_mesh()’:
CageManip.h:827:13: error: ‘updateGL’ was not declared in this scope
updateGL();
^~~~~~~~
CageManip.h:827:13: note: suggested alternative: ‘update’
updateGL();
^~~~~~~~
update
CageManip.h: In member function ‘void CMViewer::open_cage()’:
CageManip.h:893:13: error: ‘updateGL’ was not declared in this scope
updateGL();
^~~~~~~~
CageManip.h:893:13: note: suggested alternative: ‘update’
updateGL();
^~~~~~~~
update
CageManip.h: In member function ‘void CMViewer::open_deformed_cage()’:
CageManip.h:913:13: error: ‘updateGL’ was not declared in this scope
updateGL();
^~~~~~~~
CageManip.h:913:13: note: suggested alternative: ‘update’
updateGL();
^~~~~~~~
update
CageManip.h: In member function ‘void CMViewer::methodChanged(int)’:
CageManip.h:965:9: error: ‘updateGL’ was not declared in this scope
updateGL();
^~~~~~~~
CageManip.h:965:9: note: suggested alternative: ‘update’
updateGL();
^~~~~~~~
update
In file included from CageManip.h:51,
from main.cpp:29:
shared/gl/TextureHandler.h: In instantiation of ‘void ScalarTextureHandler::initTexture(glViewer*, const QString&) [with glViewer = CMViewer]’:
CageManip.h:568:40: required from here
shared/gl/TextureHandler.h:47:27: error: ‘class CMViewer’ has no member named ‘convertToGLFormat’
textimg = viewer->convertToGLFormat( buf );
~~~~~~~~^~~~~~~~~~~~~~~~~
shared/gl/TextureHandler.h:53:30: error: ‘class CMViewer’ has no member named ‘bindTexture’; did you mean ‘glBindTexture’?
ui_text_id = viewer->bindTexture( textimg, GL_TEXTURE_2D, GL_RGB );
~~~~~~~~^~~~~~~~~~~
glBindTexture
In file included from ../coordinates/shared/point3.h:58,
from CageManip.h:48,
from main.cpp:29:
shared/gl/openglincludeQtComp.h: At global scope:
shared/gl/openglincludeQtComp.h:64:12: warning: ‘int printOglError(const char*, int)’ defined but not used [-Wunused-function]
static int printOglError (const char * file, int line) {
^~~~~~~~~~~~~
make: *** [Makefile:890: tmp/obj/main.o] Error 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.