25 #ifndef CHANNELSPECSORTHOVIEWRENDERER_HH 26 #define CHANNELSPECSORTHOVIEWRENDERER_HH 34 #include <blitz/array.h> 117 QXmlStreamWriter &svgStream,
118 blitz::TinyVector<double,3>
const &shapePx,
119 blitz::TinyVector<double,3>
const &lowerBoundUm,
120 blitz::TinyVector<double,3>
const &upperBoundUm,
121 std::string
const &font,
double fontSizePt,
ChannelSpecsOrthoViewRenderer(ChannelSpecs *channel, OrthoViewWidget *view)
virtual ~ChannelSpecsOrthoViewRenderer()
void setOrthogonalDimension(int orthogonalDimension)
virtual void render(QXmlStreamWriter &svgStream, blitz::TinyVector< double, 3 > const &shapePx, blitz::TinyVector< double, 3 > const &lowerBoundUm, blitz::TinyVector< double, 3 > const &upperBoundUm, std::string const &font, double fontSizePt, iRoCS::ProgressReporter *pr=NULL) const =0
Render this channel into the given SVG-stream.
virtual void updateCache() const override
Update the rendering cache.
void cacheUpdated(ChannelSpecsOrthoViewRenderer const *source, int direction) const
This signal must be emitted at the end of a cache update to inform the view, that the cache for the o...
ChannelSpecs * channel() const
ViewWidget * view() const
virtual void render(QPainter *painter=NULL) const =0
Main rendering routine which is called whenever a paintEvent() on the ViewWidget occurs.