#include <NucleusMarkerOrthoViewRenderer.hh>
◆ NucleusMarkerOrthoViewRendererCache() [1/2]
NucleusMarkerOrthoViewRendererCache::NucleusMarkerOrthoViewRendererCache |
( |
| ) |
|
◆ NucleusMarkerOrthoViewRendererCache() [2/2]
◆ ~NucleusMarkerOrthoViewRendererCache()
virtual NucleusMarkerOrthoViewRendererCache::~NucleusMarkerOrthoViewRendererCache |
( |
| ) |
|
|
virtual |
◆ clone()
◆ render()
virtual void NucleusMarkerOrthoViewRendererCache::render |
( |
QPainter * |
painter | ) |
const |
|
virtual |
Render the content of the cache into the given painter.
This function is called from the MarkerOrthoViewRenderer::render(QPainter*) method at every repaint. Pen color and width are already set when this function is called to reflect label and selection status, so change these pen properties only if you want to highlight or demote parts of the visualization.
- Parameters
-
painter | The painter to pass painter commands to |
Reimplemented from SHSurfaceMarkerOrthoViewRendererCache.
◆ setMitotic()
void NucleusMarkerOrthoViewRendererCache::setMitotic |
( |
bool |
mitotic | ) |
|
Set mitotic flag.
Calling this function sets the show mitotic flag.
- Parameters
-
mitotic | The new mitotic flag value |
◆ setPredictedMitotic()
void NucleusMarkerOrthoViewRendererCache::setPredictedMitotic |
( |
bool |
predictedMitotic | ) |
|
Set predictedMitotic flag.
Calling this function clears the showMitotic flag
- Parameters
-
predictedMitotic | The new predicted mitotic flag value |
◆ setContinuity()
void NucleusMarkerOrthoViewRendererCache::setContinuity |
( |
int |
continuity | ) |
|
Set continuity.
- Parameters
-
continuity | The new continuity |
◆ setPredictedContinuity()
void NucleusMarkerOrthoViewRendererCache::setPredictedContinuity |
( |
int |
predictedContinuity | ) |
|
Set predicted continuity.
- Parameters
-
predictedContinuity | The new predicted continuity |
◆ lines() [1/2]
std::vector< blitz::TinyVector<QPointF,2> > const& SHSurfaceMarkerOrthoViewRendererCache::lines |
( |
| ) |
const |
|
inherited |
Get read-only access to the lines vector.
- Returns
- A read-only reference to the lines vector
◆ lines() [2/2]
std::vector< blitz::TinyVector<QPointF,2> >& SHSurfaceMarkerOrthoViewRendererCache::lines |
( |
| ) |
|
|
inherited |
Get random access to the lines vector.
- Returns
- A random access reference to the lines vector
◆ setRadius()
void SphereMarkerOrthoViewRendererCache::setRadius |
( |
float |
radius | ) |
|
|
inherited |
Set the circle geometry.
- Parameters
-
radius | The radius of the circle to draw |
◆ setCross()
void PointMarkerOrthoViewRendererCache::setCross |
( |
blitz::TinyVector< QLineF, 2 > const & |
cross | ) |
|
|
inherited |
Set the cross lines to the given lines.
This implicitely changes the rendering mode to cross rendering.
- Parameters
-
cross | The QLines defining the cross to draw. |
◆ setPoint()
void PointMarkerOrthoViewRendererCache::setPoint |
( |
QPointF const & |
point | ) |
|
|
inherited |
Set the point to the given QPoint.
This implicitely changes the rendering mode to point rendering.
- Parameters
-
◆ setActive()
void MarkerOrthoViewRendererCache::setActive |
( |
bool |
active | ) |
|
|
inherited |
Set the active flag of this cache.
If the cache is inactive a call to the render() method is a noop.
- Parameters
-
active | The new active flag value |
◆ active()
bool MarkerOrthoViewRendererCache::active |
( |
| ) |
const |
|
inherited |
Get the active flag of this cache.
- Returns
- The current active flag
◆ setShowHelperLines()
void MarkerOrthoViewRendererCache::setShowHelperLines |
( |
bool |
showHelperLines | ) |
|
|
inherited |
Set the showHelperLines flag of this cache.
If this flag is set additional helper lines for specific marker types are drawn.
- Parameters
-
showHelperLines | The new showHelperLines flag value |
◆ showHelperLines()
bool MarkerOrthoViewRendererCache::showHelperLines |
( |
| ) |
const |
|
inherited |
Get the showHelperLines flag of this cache.
- Returns
- The current showHelperLines flag
◆ setFontSize()
void MarkerOrthoViewRendererCache::setFontSize |
( |
int |
fontSize | ) |
|
|
inherited |
Set the font size for text drawn by this cache.
- Parameters
-
fontSize | The font size to use for drawing text |
◆ fontSize()
int MarkerOrthoViewRendererCache::fontSize |
( |
| ) |
const |
|
inherited |
Get the font size for text drawn by this cache.
- Returns
- The font size to use for drawing text
◆ _showMitotic
bool NucleusMarkerOrthoViewRendererCache::_showMitotic |
|
protected |
◆ _mitotic
bool NucleusMarkerOrthoViewRendererCache::_mitotic |
|
protected |
◆ _predictedMitotic
bool NucleusMarkerOrthoViewRendererCache::_predictedMitotic |
|
protected |
◆ _continuity
int NucleusMarkerOrthoViewRendererCache::_continuity |
|
protected |
◆ _predictedContinuity
int NucleusMarkerOrthoViewRendererCache::_predictedContinuity |
|
protected |
◆ _lines
std::vector< blitz::TinyVector<QPointF,2> > SHSurfaceMarkerOrthoViewRendererCache::_lines |
|
protectedinherited |
◆ _radius
float SphereMarkerOrthoViewRendererCache::_radius |
|
protectedinherited |
◆ _showCross
bool PointMarkerOrthoViewRendererCache::_showCross |
|
protectedinherited |
◆ _cross
blitz::TinyVector<QLineF,2> PointMarkerOrthoViewRendererCache::_cross |
|
protectedinherited |
◆ _point
QPointF PointMarkerOrthoViewRendererCache::_point |
|
protectedinherited |
◆ _active
bool MarkerOrthoViewRendererCache::_active |
|
protectedinherited |
◆ _showHelperLines
bool MarkerOrthoViewRendererCache::_showHelperLines |
|
protectedinherited |
◆ _fontSize
int MarkerOrthoViewRendererCache::_fontSize |
|
protectedinherited |
The documentation for this class was generated from the following file: