|
|
void | setName (QString name) |
| | Opens a QInputDialog to pick a new name for this annotation.
|
| |
|
void | plotLineProfile (SharedImageSet *is, bool clearPrevious=true) |
| | Plot line profile, if the annotation already had a line plot with the same data source it is replaced.
|
| |
|
void | plotLineProfiles (const std::vector< SharedImageSet * > &images, bool clearPrevious=true) |
| |
|
void | createPlotData (const std::vector< SharedImageSet * > &isVec) |
| |
|
void | updatePlotData (const SharedImageSet *is) |
| |
|
void | sampleLineProfile (const SharedImageSet *is, Tensor< 1 > *&x, std::vector< Tensor< 1 > * > &y, int interpolationRange=0) |
| | Sample values from image. Creates one y-value tensor per channel. Interpolation is in pixels and over a line for 2D and slice for 3D data.
|
| |
|
void | setShowStatistics (bool showStatistics) |
| | Add statistics.
|
| |
|
bool | showStatistics () const |
| |
|
void | updateStatistics (SharedImageSet *is) |
| |
|
void | sliceSpline (SharedImageSet *is) |
| | Slice spline.
|
| |
|
void | onViewUpdate () |
| | Called when view is updated to redraw additional information; such as statistics, line plots etc.
|
| |
|
void | refineAnnotation (SharedImageSet *is) |
| | Refine annotation.
|
| |
|
void | convertToLabelMap (SharedImageSet *is) |
| | Convert a closed spline to a label map.
|
| |
|
void | closeLoopAnnotation () |
| | Close an open contour represented by a spline.
|
| |
|
|
| InteractiveAnnotation (MainWindowBase *mw, GlAnnotation *object, Manipulator *manipulator=0, bool own=true) |
| |
| bool | sceneEvent (QEvent *event, InteractiveView *view) override |
| | Called by the hosting InteractiveView to notify on user input events.
|
| |
|
GlAnnotation * | gl () |
| |
|
const GlAnnotation * | gl () const |
| |
|
MainWindowBase * | mw () |
| |
|
void | onTransformationChanged (const Data *data) |
| | Used to redraw plots as necessary.
|
| |
|
void | onDataDeleted (const Data *data) |
| | Removes all associated plots if the source data gets deleted.
|
| |
| void | goTo (Data *data=nullptr) const |
| | Center the views contained in the default display widget which show data on the object.
|
| |
|
void | removeFromLinePlot () |
| | Removes any plots sampled with this annotation, will also delete the plot view if this causes it to become empty.
|
| |
|
void | onAnnotationChanged (const GlPointBasedAnnotation *) |
| |
| virtual void | goTo (DisplayWidgetMulti *display, Data *data=nullptr, int frame=-1) const |
| | Center the views contained in the passed display widget which show data on the object.
|
| |
|
| InteractiveObject (GlObject *object, Manipulator *manipulator=nullptr, bool own=true) |
| | Instantiate a new InteractiveOverlay, optionally taking ownership of the underlying GlObject and Manipulator.
|
| |
|
template<typename T> |
| const T * | gl () const |
| | Get a typed pointer to the underlying GlObject.
|
| |
|
template<typename T> |
| T * | gl () |
| | Get a typed pointer to the underlying GlObject.
|
| |
|
const GlObject * | gl () const |
| | Get the underlying abstract GlObject.
|
| |
|
GlObject * | gl () |
| | Get the underlying abstract GlObject.
|
| |
|
const Manipulator * | manipulator () const |
| | Get the underlying manipulator.
|
| |
|
Manipulator * | manipulator () |
| | Get the underlying manipulator.
|
| |
| GUI::EventResult | handleInputEvent (const GUI::InputEvent &event, const GUI::View &view) override |
| | Gets called by the parent view in order to handle user input events.
|
| |
| | ViewObject (std::unique_ptr< GlObject > glObject) |
| | Instantiate a new ViewObject taking ownership of the underlying GlObject which must not be null.
|
| |
|
const GlObject & | glObject () const |
| | Get the underlying abstract GlObject.
|
| |
|
GlObject & | glObject () |
| |
|
const GlObject * | gl () const |
| | Original API methods for the underlying abstract GlObject.
|
| |
|
GlObject * | gl () |
| |
|
| SignalReceiver ()=default |
| | Default constructor.
|
| |
|
| SignalReceiver (const SignalReceiver &other) |
| | Copy constructor, does not copy any existing signal connections from other.
|
| |
|
SignalReceiver & | operator= (SignalReceiver rhs) |
| | Assignment operator, disconnects all existing connections, does not copy any existing signal connections from rhs.
|
| |
|
virtual | ~SignalReceiver () |
| | Virtual destructor disconnects from all connected signals.
|
| |