cee::vis::MarkupPart
-
class MarkupPart : public RefCountedObject
Base class for MarkupModel Parts.
See also
MarkupModel, MarkupPartArrows, MarkupPartFixedSizeGlyph, MarkupPartLabels, MarkupPartLines, MarkupPartPoints, MarkupPartTriangles
Subclassed by MarkupPartArrows, MarkupPartFixedSizeArrow, MarkupPartFixedSizeGlyph, MarkupPartFixedSizeSphere, MarkupPartInstancedGeometry, MarkupPartLabels, MarkupPartLines, MarkupPartPoints, MarkupPartText3d, MarkupPartTriangles
Public Types
-
enum PartType
Enum specifying the type of MarkupPart.
Values:
-
enumerator LABELS
Labels part: MarkupPartLabels.
-
enumerator TEXTS_3D
3d text: MarkupPartText3d
-
enumerator TRIANGLES
Triangles part: MarkupPartTriangles.
-
enumerator INSTANCED_GEOMETRY
Instanced Triangles part: MarkupPartInstancedGeometry.
-
enumerator LINES
Lines part: MarkupPartLines.
-
enumerator POINTS
Points part: MarkupPartPoints.
-
enumerator ARROWS
Arrows part: MarkupPartArrows.
-
enumerator FIXED_SIZE_ARROW
Fixed size arrow part: MarkupPartFixedSizeArrow.
-
enumerator FIXED_SIZE_SPHERE
Fixed size sphere part: MarkupPartFixedSizeSphere.
-
enumerator FIXED_SIZE_IMAGE_GLYPH
Fixed size image glyph part: MarkupPartFixedSizeGlyph.
-
enumerator LABELS
Public Functions
-
MarkupPart()
-
virtual BoundingBox boundingBox() const = 0
Returns the current bounding box of the part.
-
bool visible() const
Returns true if the part is visible.
-
void setVisible(bool visible)
Sets if the part should be visible or not.
-
virtual int priority() const = 0
Returns the render priority of the part.
-
virtual void setPriority(int priority) = 0
Sets render priority of the part.
-
enum PartType