FAST
3.2.0
Framework for Heterogeneous Medical Image Computing and Visualization
|
Go to the documentation of this file.
14 void setLabelName(
int label, std::string name);
15 void setLabelColor(
int label,
Color color);
16 void setAreaThreshold(
float threshold);
17 void draw(Matrix4f perspectiveMatrix, Matrix4f viewingMatrix,
float zNear,
float zFar,
bool mode2D)
override;
18 void loadAttributes()
override;
21 void execute()
override;
24 std::unordered_map<uint, uint>
mVAO;
25 std::unordered_map<uint, uint>
mVBO;
26 std::unordered_map<uint, uint>
mEBO;
27 std::unordered_map<uint, std::shared_ptr<RegionList>>
m_regions;
28 std::unordered_map<uint, std::shared_ptr<Image>>
mImageUsed;
40 float m_textHeightInMM = 1.0f;
41 bool m_centerPosition =
true;
42 bool m_dynamicSize =
true;
Definition: Renderer.hpp:14
Vector2f m_viewPosition
Definition: SegmentationLabelRenderer.hpp:39
Definition: AffineTransformation.hpp:7
std::unordered_map< uint, uint > mVBO
Definition: SegmentationLabelRenderer.hpp:25
std::unordered_map< int, Color > m_labelColors
Definition: SegmentationLabelRenderer.hpp:34
#define FAST_OBJECT(className)
Definition: Object.hpp:9
float m_areaThreshold
Definition: SegmentationLabelRenderer.hpp:43
std::unordered_map< uint, uint > mVAO
Definition: SegmentationLabelRenderer.hpp:24
std::unordered_map< int, std::string > m_labelNames
Definition: SegmentationLabelRenderer.hpp:35
Definition: SegmentationLabelRenderer.hpp:11
std::unordered_map< uint, std::shared_ptr< RegionList > > m_regions
Definition: SegmentationLabelRenderer.hpp:27
uint mFontSize
Definition: SegmentationLabelRenderer.hpp:37
std::unordered_map< uint, float > mScales
Definition: SegmentationLabelRenderer.hpp:33
Vector2f m_worldPosition
Definition: SegmentationLabelRenderer.hpp:38
std::unordered_map< uint, std::shared_ptr< Image > > mImageUsed
Definition: SegmentationLabelRenderer.hpp:28
std::unordered_map< uint, uint > mTexturesToRender
Definition: SegmentationLabelRenderer.hpp:23
std::unordered_map< uint, uint64_t > mDataTimestamp
Definition: SegmentationLabelRenderer.hpp:32
unsigned int uint
Definition: DataTypes.hpp:16
std::unordered_map< uint, uint > mEBO
Definition: SegmentationLabelRenderer.hpp:26