Krisjanis Rijnieks
|
5d89e84088
|
Clean up SurfaceManagerGui even more
|
9 years ago |
Krisjanis Rijnieks
|
fca7b4e5a9
|
Remove SurfaceManagerGui::mousePressed()
|
9 years ago |
Krisjanis Rijnieks
|
8e984d7c15
|
Remove ProjectionMappingState::mousePressed() code from SurfaceManagerGui
|
9 years ago |
Krisjanis Rijnieks
|
5f562fb012
|
Remove SurfaceManagerGui::mouseDragged()
|
9 years ago |
Krisjanis Rijnieks
|
bffb98e558
|
Move mouseDragged texture mapping part to TextureMappingState
|
9 years ago |
Krisjanis Rijnieks
|
a4939f3a34
|
Clean up SurfaceMangerGui::mouseDragged()
|
9 years ago |
Krisjanis Rijnieks
|
0a15a972f9
|
Move projection editor mouseDragged part to ProjectionMappingState
|
9 years ago |
Krisjanis Rijnieks
|
976dbd9ad4
|
Remove SurfaceManagerGui::mouseReleased()
|
9 years ago |
Krisjanis Rijnieks
|
74c07b6234
|
Move mouseReleased from SurfaceManagerGui to states
To ProjectionMappingState
To TextureMappingState
|
9 years ago |
Krisjanis Rijnieks
|
92e9d66e9c
|
Clean up SurfaceManagerGui::mouseReleased()
|
9 years ago |
Krisjanis Rijnieks
|
2f8cf9de78
|
Remove SurfaceManagerGui::draw() method
|
9 years ago |
Krisjanis Rijnieks
|
4adf3eb2e2
|
Draw SourcesEditor directly from SourceSelectionState
|
9 years ago |
Krisjanis Rijnieks
|
aeae570b73
|
Move projection editor draw to ProjectionMappingState
|
9 years ago |
Krisjanis Rijnieks
|
8b41c8227f
|
Simplify SurfaceManagerGui, remove desctructor
|
9 years ago |
Krisjanis Rijnieks
|
2e3be30953
|
Clean up SurfaceManagerGui
With the intention to remove it completely in a step-by-step manner.
|
9 years ago |
Krisjanis Rijnieks
|
0f0aa49e37
|
Improve texture mapping mode code
|
9 years ago |
Krisjanis Rijnieks
|
fa71960821
|
Fix not being able to drag vertices in projection mapping mode
|
9 years ago |
Krisjanis Rijnieks
|
fe7933d1b4
|
Add texture translate working with crop smooth
This commit is based on a number of other broken features. Work in progress.
|
9 years ago |
Krisjanis Rijnieks
|
c4f9cf5005
|
Remove surfaceManager->draw() from SurfaceManagerGui::draw()
|
9 years ago |
Krisjanis Rijnieks
|
fabb81531f
|
Remove SurfaceManagerGui::drawSelectedSurfaceTextureHighlight() method
|
9 years ago |
Krisjanis Rijnieks
|
5efee9111c
|
Integrate SurfaceHighlightWidget into Application
|
9 years ago |
Krisjanis Rijnieks
|
5f5cc00ff0
|
Draw selected triangle surface highlight as a ofPolyline
|
9 years ago |
Krisjanis Rijnieks
|
8ad0a307e4
|
Add primitive and buggy ScaleWidget functionality
|
9 years ago |
Krisjanis Rijnieks
|
ebf121e1ce
|
Add work in progress `GuiWidgetEvent`
|
9 years ago |
Krisjanis Rijnieks
|
8f452cc3ae
|
Fix ofEnableNormalizedTexCoords in texture editing mode
|
9 years ago |
Krisjanis Rijnieks
|
555d0619f7
|
Add deselect tex coord joints on background click
|
9 years ago |
Krisjanis Rijnieks
|
c91ad37b05
|
Add `getSourcesEditor()` method to `SurfaceManagerGui`
|
9 years ago |
Krisjanis Rijnieks
|
166ea510cd
|
Integrate `SelNextTexCoordCmd` into appliction
|
9 years ago |
Krisjanis Rijnieks
|
60488bc219
|
Refactor `SurfaceManagerGui` texture editor onMousePressed routine
|
9 years ago |
Krisjanis Rijnieks
|
5eef8ef8e5
|
Notify `backgroundPressedEvent` instead of deselect cmd
|
9 years ago |
Krisjanis Rijnieks
|
7430c64655
|
Optimize `SurfaceManagerGui`
Replace the initiation of `StartDragSurfaceCmd` with an emited event that is being handled elsewhere
|
9 years ago |
Krisjanis Rijnieks
|
3b23e9e6aa
|
Add notify events to projection mapping mode mouse pressed evnts
|
9 years ago |
Krisjanis Rijnieks
|
e4a955f3fa
|
Add todos to `SurfaceManagerGui`
As the first step for improving the GUI vs system separation
|
9 years ago |
Krisjanis Rijnieks
|
e3fd194d6b
|
Handle `surfaceUnselectedEvent` in `SurfaceManagerGui`
|
9 years ago |
Krisjanis Rijnieks
|
db85e1e285
|
Make use of `DeselectSurfaceCmd` in `SurfaceManagerGui`
|
9 years ago |
Krisjanis Rijnieks
|
7511e8300a
|
Use `SelVertexCmd` and fix `onVertexChanged` in `SurfaceManagerGui`
|
9 years ago |
Krisjanis Rijnieks
|
e08425e89f
|
Rebuild joints on vertex change
|
9 years ago |
Krisjanis Rijnieks
|
4231f61acc
|
Select vertex GUI on `vertexSelectedEvent` from `SurfaceManager`
|
9 years ago |
Krisjanis Rijnieks
|
2c81b45e6e
|
Respond to surfaceSelectedEvent with rebuilding selected surface gui
|
9 years ago |
Krisjanis Rijnieks
|
5726357069
|
Make surfaces emit events when vertices change
|
9 years ago |
Krisjanis Rijnieks
|
aced3db45e
|
Improve wireframe display of selected surfaces
|
9 years ago |
Krisjanis Rijnieks
|
61491173a6
|
Draw nice wireframe for the `GridWarpSurface`
|
9 years ago |
Krisjanis Rijnieks
|
65074e50fb
|
Add `getProjectionEditor` method to `SurfaceManagerGui`
|
9 years ago |
Krisjanis Rijnieks
|
0fbfe7174b
|
Remove `std::` prefix everywhere in `src`
|
10 years ago |
Krisjanis Rijnieks
|
f160fbd232
|
Replace `NULL` with `0` everywhere
|
10 years ago |
Krisjanis Rijnieks
|
95b366ada5
|
Change src code style using ofStyler
|
10 years ago |
Krisjanis Rijnieks
|
9bf14255c8
|
Reset color to white before drawing texture
|
10 years ago |
Krisjanis Rijnieks
|
0d0bae9f43
|
Remove the `auto` specifier from `i` variable in `for` loops
`auto` is available in C++11+ compilers and this is not the case of a basic RPi setup.
|
10 years ago |
Krisjanis Rijnieks
|
bb720731f2
|
Fix crashing on mouse release if no source selected
- SurfaceManagerGui mouseRelease method did not check whether a surface is selected before checking if a selected surface has been moved
|
10 years ago |
Krisjanis Rijnieks
|
7e7aa93226
|
Add SelSourceCmd select source undoable command
|
10 years ago |