Enables GlSlice to render normal images/volumes (SharedImageSet).
In GlSlice, this renderer is also referred to as the default renderer. This renderer accepts either 2D or 3D images exclusively depending on the flag given during construction.
- See also
- GlSlice, SharedImageSet
|
| | GlSliceRendererImage (bool is3d) |
| | Cretaes a new GlSliceRendererImage.
|
|
double | thickness () const |
| | Returns the thickness of the MPR slice in mm.
|
|
void | setThickness (double value) |
| | Sets the thickness of the MPR slice in mm.
|
|
ReductionMode | reductionMode () const |
| | Returns the reduction mode when rendering thick MPRs.
|
|
void | setReductionMode (ReductionMode value) |
| | Sets the reduction mode when rendering thick MPRs.
|
|
InterpolationMode | interpolationMode () const |
| | Returns the interpolation mode.
|
|
void | setInterpolationMode (InterpolationMode value) |
| | Sets the interpolation mode.
|
|
bool | ignoreMatrix () const |
| | Returns the flag whether to ignore the image matrix during rendering.
|
|
void | setIgnoreMatrix (bool value) |
| | Sets the flag whether to ignore the image matrix during rendering.
|
|
bool | rendersFocusImageOnly () const |
| | Returns the flag whether to all selected images of the SharedImageSet also for 2D image sets.
|
|
void | setRenderFocusImageOnly (bool value) |
| | Sets the flag whether to all selected images of the SharedImageSet also for 2D image sets.
|
| std::string | name () const override |
| | Returns the name for identification/GUI usage of this slice renderer.
|
| bool | accepts (const Data *data) const override |
| | Returns whether this slice renderer is capable of displaying the given data.
|
| void | render (const GL::ViewState &viewState, const Slice &slice, const Data &data, const DisplayOptions2d &displayOptions, bool encodeDistance) override |
| | Renders the data in the given configuration.
|
| mat4 | defaultPose (const Data &data, Slice::AnatomicalPlane originalPlane) const override |
| | Returns the default view matrix to use for showing the given dataset in a slice view of the given anatomical plane.
|
| vec2 | extent (const Slice &slice, const Data &data) override |
| | Returns the 2D extent of the data when rendering it onto slice in pixels.
|
| void | configure (const Properties *p) override |
| | Configure this object instance by de-serializing the given Properties.
|
| void | configuration (Properties *p) const override |
| | Serialize the current object configuration into the given Properties object.
|
|
| GlSliceRenderer ()=default |
| | Creates a new GlSliceRenderer using the given decorator for masking.
|
| virtual void | configureDefaults () |
| | Retrieve the properties of this object, replaces values with their defaults and sets it again.
|
|
void | registerParameter (ParameterBase *param) |
| | Register the given Parameter or SubProperty, so that it will be configured during configure()/configuration().
|
|
void | unregisterParameter (const ParameterBase *param) |
| | Remove the given Parameter or SubProperty from the list of registered parameters.
|
|
| Configurable (const Configurable &rhs) |
|
| Configurable (Configurable &&rhs) noexcept |
|
Configurable & | operator= (const Configurable &) |
|
Configurable & | operator= (Configurable &&) noexcept |