Comments (1)
The main idea is that at certain event the js part invokes a cpp function that perform the "hard" part of the task (like for example selecting or reporting the info about the clicked point).
For this task we need a consistent way to pass the viewing information between the js system and the cpp part. This is fundamental because the processing part is done with actions defined in screen space.
For example this is what happens when the info picking tools is started:
- the icon of the tool is enhanced and in the tab below the option of the tools appears
- the icon of the mouse is changed and the selected tools grab the mouse focus. Since the activation of the tools all the mouse events are intercepted are intercepted and managed by the tools. Pressing alt allow to bypass the tool and the mouse event are passed as usual (so mouse movements rotate the object)
- when the user do a mouse down mouse up release, the framework call an 'apply' method of the tool plugin with the current camera parameters and the mouse position.
- camera parameters are passed using a vcg::Shotf object
from meshlabjs.
Related Issues (20)
- [Product Request] Create an app for Owncloud HOT 1
- Future of Repair? HOT 1
- Physically Based Rendering Shading Model
- Problem with newest Chrome Browser HOT 10
- Undo and creation from url HOT 1
- Per-vertex normal visualization non working on point clouds
- Setting a camera view programatically
- Possibility to change the Transformation origin
- Measurement Grid display HOT 1
- File format (extension) should be case insensitive
- Open .mtl file associated to .obj file HOT 11
- compile error Meshing.cpp HOT 1
- Adding the ability to overlay texture on the 3D model in meshlabJS HOT 2
- error on windows chrome 65.0.3325.181 HOT 1
- Pull .zip from file system HOT 10
- Building meshlabJS error in vcglib HOT 1
- "no member" Error in make -f MakefileJS HOT 2
- PLY file not loading
- error when opening the file
- Filters not working ("layerTmp.cppMesh.pushState is not a function")
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meshlabjs.