ImageRendererBase class
Abstract base class use by ImageRenderer and SegmentationRenderer.
Contents
Base classes
Derived classes
- class ImageRenderer
- Renders 2D Image data objects, both in 2D and 3D.
- class SegmentationRenderer
- Renders 2D segmentation data.
Constructors, destructors, conversion operators
- ImageRendererBase() protected
Protected functions
- void deleteAllTextures() virtual
- void drawTextures(std::unordered_map<uint, std::shared_ptr<SpatialDataObject>> copy, Matrix4f& perspectiveMatrix, Matrix4f& viewingMatrix, bool mode2D, bool useInterpolation = false, bool useWindowLevel = true)
Protected variables
- std::unordered_map<uint, uint> mTexturesToRender
-
std::unordered_map<uint, Image::
pointer> mImageUsed - std::unordered_map<uint, uint64_t> mDataTimestamp
- std::unordered_map<uint, uint> mVAO
- std::unordered_map<uint, uint> mVBO
- std::unordered_map<uint, uint> mEBO
- cl::Kernel mKernel
- float mWindow
- float mLevel
- float m_opacity
- bool m_applyTransformationsIn2D
Variable documentation
std::unordered_map<uint, uint64_t> fast:: ImageRendererBase:: mDataTimestamp protected
Timestamp used to generate texture