编辑“Gallery:Modules:imagenotes:Design”
该编辑可以被撤销。 请检查下面的对比以核实您想要撤销的内容,然后发布下面的更改以完成撤销。
最后版本 | 您的文本 | ||
第1行: | 第1行: | ||
== | ==Design== | ||
=== | ===Overview=== | ||
* | * Keep extensible. | ||
*: | *: It is hoped that this module will be extensible so that features not envisioned here can be included later and so that administrators can enable only the features they desire, minimising page load time, client side operation time and resource usage. | ||
=== | ===Concepts=== | ||
; | ; Image regions: | ||
* | * An image region is a specific area of an image that has some importance. This image region exists on all versions of the same image (i.e. on all derivatives of the source image). Note that a derivative image may have a different scale AND orientation to the original. | ||
* | * An image region is represented by a rectangular DIV or other 2d shape within the bounds of the image. | ||
: | : It should be possible to convert a rectangular DIV selection into a proper 2d shape. | ||
* | * All image region's no matter what shape will have a 2d bounding box, which will make collision detection faster. | ||
* ?? | * ?? An image region usually represents a complex 3 dimensional object in 2 dimensional space. Rather than just representing a 2d area, the image region may define the 3d properties of the object in the 2d space, such as the rotation of a face, head and torso. ?? Should this instead be an annotation/other association? | ||
* ?? | * ?? An image region should be able to provide a scalable view of that region for re-use in the page. | ||
; | ; Image region sets: | ||
* | * An image region set is a grouping of related image regions. Because a 3d object may be represented by disjoint regions in 2d space, we need to be able to link separate image regions together. (This becomes important when, for instance, a person is being tagged and their arm goes behind someone else. We tag the image region set rather than each individual 2d image region) | ||
第65行: | 第65行: | ||
* By an image region. When an image region is first created (or edited) and tags/notes are being applied, a convienient place to get the appropriate options is right next to the image region (or maybe just a modal dialog) | * By an image region. When an image region is first created (or edited) and tags/notes are being applied, a convienient place to get the appropriate options is right next to the image region (or maybe just a modal dialog) | ||
; | ;Manipulation: | ||
: | :When adding/editing the following operations will probably be needed for both image regions and annotations. | ||
* | * Dragging | ||
** | ** Constrained | ||
* | * Scaling | ||
** | ** Constrained | ||
** | ** Aspect ratio | ||
** | ** Min and Max | ||
* Z- | * Z-ordering (layering) | ||
* | * Grouping/ungrouping | ||
** | ** Image region in multiple groups? | ||
** | ** Set operations for shapes (Union, Intersection, Negation) Keep the operators? | ||
* | * Node moving (when not a simple rectangle, points of the shape can be moved individually) | ||
** | ** Constrained. Does a shape stop a node being moved to certain places to maintain the shape? | ||
* | * Rotation | ||
* | * 3d manipulation | ||
; | ;Modes: | ||
: | :Certain modes (and sub-modes) will be in use when interacting with the image. The mode will determine the behaviour. | ||
* | * Viewing. | ||
* | * Editing: | ||
** | ** Editing image regions. | ||
** | ** Editing tags. | ||
** | ** Editing notes. | ||
** | ** Editing non-image region annotations (drawings?) | ||
* | * User suggestions (Can an image region be suggested without anything associated to it? Probably not): | ||
** | ** Suggesting tags. | ||
** | ** Suggesting notes. | ||
** | ** Suggesting drawing. | ||
* | * Viewing suggestions? Viewing may look different to when you are editing suggestions. | ||
* | * Moderating (Suggestion response). | ||
** | ** View shows who/what made the various suggestion. Can limit view to a specific suggester. | ||
===Client side=== | ===Client side=== |