Begin refactor
This commit is contained in:
@@ -5,45 +5,45 @@ class GUI{
|
||||
---
|
||||
- Image currentImage
|
||||
- ImageManipulation[] imageManipulations
|
||||
+ void initialise()
|
||||
+ none initialise()
|
||||
}
|
||||
|
||||
|
||||
class Image{
|
||||
- imagedata image
|
||||
+ void setImage(imagedata)
|
||||
+ none loadImage(path: str)
|
||||
+ imagedata getImage()
|
||||
+ pair<int,int> getDimensions()
|
||||
}
|
||||
|
||||
abstract class ImageManipulation{
|
||||
+void manipulateImage(Image, Parameters)
|
||||
+string[] getParameters()
|
||||
+string getManipulationName()
|
||||
+none manipulateImage(Image, Parameters)
|
||||
+str[] getParameters()
|
||||
+str getManipulationName()
|
||||
}
|
||||
|
||||
class CropImage{
|
||||
- string name
|
||||
- str name
|
||||
}
|
||||
|
||||
class GreyScaleImage{
|
||||
- string name
|
||||
- str name
|
||||
}
|
||||
|
||||
class SmoothImage{
|
||||
- string name
|
||||
- str name
|
||||
}
|
||||
|
||||
class RotateImage{
|
||||
- string name
|
||||
- str name
|
||||
}
|
||||
|
||||
class HSVImage{
|
||||
- string
|
||||
- str
|
||||
}
|
||||
|
||||
class HueShiftImage{
|
||||
- string
|
||||
- str
|
||||
}
|
||||
|
||||
GUI ..> Image
|
||||
|
||||
Reference in New Issue
Block a user