25 #ifndef VISUALIZATIONCHANNELSPECSORTHOVIEWRENDERER_HH 26 #define VISUALIZATIONCHANNELSPECSORTHOVIEWRENDERER_HH 52 void render(QPainter* painter = NULL)
const override;
54 QXmlStreamWriter &svgStream,
55 blitz::TinyVector<double,3>
const &shapePx,
56 blitz::TinyVector<double,3>
const &lowerBoundUm,
57 blitz::TinyVector<double,3>
const &upperBoundUm,
58 std::string
const &font,
double fontSizePt,
62 blitz::TinyVector<atb::BlitzIndexT,3>
cacheShapePx()
const;
63 blitz::Array<blitz::TinyVector<float,3>,2>
const &
cache(
int direction)
const;
67 virtual void updateCache(
int direction)
const override;
71 mutable blitz::TinyVector<blitz::Array<blitz::TinyVector<float,3>,2>,3>
Array class derived from blitz++ Arrays for handling microscopic datasets with associated element siz...
blitz::TinyVector< atb::BlitzIndexT, 3 > cacheOffsetPx() const
void userInteractionEvent(UserInteractionEvent *event) override
Reimplement this function if your specialized ChannelSpecsRenderer should respond to a passed UserInt...
void render(QPainter *painter=NULL) const override
Main rendering routine which is called whenever a paintEvent() on the ViewWidget occurs.
virtual void updateCache() const override
Update the rendering cache.
VisualizationChannelSpecsOrthoViewRenderer(VisualizationChannelSpecs *channel, OrthoViewWidget *view)
blitz::TinyVector< atb::BlitzIndexT, 3 > cacheShapePx() const
ChannelSpecs * channel() const
blitz::Array< blitz::TinyVector< float, 3 >, 2 > const & cache(int direction) const
ViewWidget * view() const
~VisualizationChannelSpecsOrthoViewRenderer()
virtual bool event(QEvent *event)
Interprets and distributes the given event.