Krisjanis Rijnieks
5076b39c89
Make SurfaceStack not a singleton
9 years ago
Krisjanis Rijnieks
038758ce33
Fix ScaleWidget not capturing new surface after duplicate
9 years ago
Krisjanis Rijnieks
20efd8ebc6
Make `SurfaceStack` a singleton and adjust `SurfaceManager`
9 years ago
Krisjanis Rijnieks
1cb3367113
Fix create surface undo
9 years ago
Krisjanis Rijnieks
4d5266f755
Clean up, rm `duplicateSurface` method from `CommandManager`
9 years ago
Krisjanis Rijnieks
b5d0fbfc03
Add `duplicateSurface()` method to `SurfaceManager`
9 years ago
Krisjanis Rijnieks
fd734328c7
Move all surfaces with the keyboard arrows if no surface selected
9 years ago
Krisjanis Rijnieks
ede1f4fd18
Add `surfaceUnselectedevent to `SurfaceManager`
9 years ago
Krisjanis Rijnieks
14aa1aedfe
Add `selectVertex` to `SurfaceManager`
9 years ago
Krisjanis Rijnieks
0a3c6ff8a2
Move vertex on `moveSelectionBy`
9 years ago
Krisjanis Rijnieks
1a09a6e268
Add `SurfaceManager::moveSelectionBy`
9 years ago
Krisjanis Rijnieks
456845f33f
Implement `SurfaceManager` `selectNextVertex` and `selectPrevVertex` methods
9 years ago
Krisjanis Rijnieks
9182ddbc05
Add `SurfaceManager::selectNext` and `::selectPrevVertex` method placeholders
9 years ago
Krisjanis Rijnieks
0f1ded7ba3
Add `selectNextSurface` and `selectPrevSurface` methods to `SurfaceManager`
9 years ago
Krisjanis Rijnieks
13b1fdd506
Add `surfaceSelectedEvent`
9 years ago
Krisjanis Rijnieks
5726357069
Make surfaces emit events when vertices change
9 years ago
Krisjanis Rijnieks
058eb23b13
Clean up `SurfaceManager`
10 years ago
Krisjanis Rijnieks
6bb151b369
Move XML settings save and load to `SettingsLoader` singleton
10 years ago
Krisjanis Rijnieks
ad76db5319
Clean up `SurfaceManager`
10 years ago
Krisjanis Rijnieks
5cfa51718b
Remove `SurfaceStack` test from `SurfaceManager`
10 years ago
Krisjanis Rijnieks
b4f2e7bcb7
Fix `SurfaceManager::saveXmlSettings()`
10 years ago
Krisjanis Rijnieks
3ec8ba7abb
Simplify surface creation code. Use `SurfaceFactory` class.
10 years ago
Krisjanis Rijnieks
b954dec21e
Replace `surfaces` vector with `SurfaceStack` class
10 years ago
Krisjanis Rijnieks
8df88a5163
Add simple `SurfaceStack` test
10 years ago
Krisjanis Rijnieks
dbc4eb0d07
Make `loadXmlSettings()` return `bool` value
10 years ago
Krisjanis Rijnieks
ac2a2e7834
Rename `SurfaceManager::addSurface(...)` to `createSurface` where it creates surface
There has to be a difference between creational and "additional" methods.
10 years ago
Krisjanis Rijnieks
2b268349c7
Remove `addSurface(int surfaceType, BaseSource * newSource)` from `SurfaceManager`
It is not used anywhere.
10 years ago
Krisjanis Rijnieks
26e89f11a7
Move `SurfaceManager` variable initialization to constructor body
Because sticking to this kind of convention is so much more readable.
10 years ago
Krisjanis Rijnieks
bdd3f88d2b
Remove `addSurface(int surfaceType)` from `SurfaceManager`
Cleaning up. This method is not used anywhere.
10 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
423d17af86
Reset color to white before drawing each of the surfaces
10 years ago
Krisjanis Rijnieks
8867edb8f2
Add AddSurfaceCmd and move surface creation key commands
- from ofxPiMapper to application state machine
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
6d011c2e7a
Add undo feature with SelectSurfaceCommand
10 years ago
Krisjanis Rijnieks
bd69364284
Add undoable RemoveSurfaceCommand
10 years ago
Krisjanis Rijnieks
6ca4834ffb
Fix selected surface not being initialized to null in surface manager
11 years ago
Krisjanis Rijnieks
7db249d890
Add saving and loading FBO source
11 years ago
Krisjanis Rijnieks
fdb24a99e4
Move surface related files into Surfaces directory
11 years ago
Krisjanis Rijnieks
19c33ddd5f
Massive restructure:
- Added source types
- Adjusted surfaces to work with the types instead of plain textures
- Improved media server to manage all of the source types
- Added video source that works on Mac for now
- A lot of small adjustments
11 years ago
Krisjanis Rijnieks
5088df1de5
Remove annoying message on triangle on xml settings load
11 years ago
Felix Dubrownik
6d44d1cae7
ran clang Format with google code Style
11 years ago
Felix Dubrownik
66283175f1
Refactoring: Renaming Classes, introducing namespace
11 years ago
Felix Dubrownik
921b2e20da
Renamed the files
11 years ago
sebl
6099c436bf
edit ofxSurfaceManager.cpp
new file: src/ofxQuadSurface.cpp
new file: src/ofxQuadSurface.h
src/ofxQuadSurface.cpp
11 years ago
sebl
b674303dc4
modified: example-fboTexture/bin/data/defaultSurfaces.xml
modified: example-fboTexture/src/ofApp.cpp
modified: example-fboTexture/src/ofApp.h
modified: src/ofxProjectionEditor.h
modified: src/ofxSurfaceManager.cpp
modified: src/ofxSurfaceManager.h
modified: src/ofxSurfaceType.h
modified: src/ofxTextureEditor.cpp
src/ofxQuadSurface.cpp
src/ofxQuadSurface.h
11 years ago
Krisjanis Rijnieks
f7df8734d6
Add remove surface method to both examples, press backspace and delete selected surface
11 years ago
Krisjanis Rijnieks
7c26399452
Fix joints not redrawn on new surface selection while in projection editor
11 years ago
Krisjanis Rijnieks
0a75947b66
Add loading surface data from surfaces.xml
11 years ago