cee::vis::MarkupPart Class Referenceabstract

Base class for MarkupModel Parts. More...

Public Types

enum  PartType {
  LABELS, TEXTS_3D, TRIANGLES, INSTANCED_GEOMETRY,
  LINES, POINTS, ARROWS, FIXED_SIZE_ARROW,
  FIXED_SIZE_SPHERE, FIXED_SIZE_IMAGE_GLYPH
}
 Enum specifying the type of MarkupPart. More...
 

Public Member Functions

virtual PartType type () const =0
 Returns the type of Markup part. More...
 
virtual BoundingBox boundingBox () const =0
 Returns the current bounding box of the part. More...
 
bool visible () const
 Returns true if the part is visible. More...
 
void setVisible (bool visible)
 Sets if the part should be visible or not. More...
 
virtual int priority () const =0
 Returns the render priority of the part. More...
 
virtual void setPriority (int priority)=0
 Sets render priority of the part. More...
 
virtual const Mat4dtransformation () const =0
 Returns the current transformation matrix for the part. More...
 
virtual void setTransformation (const Mat4d &matrix)=0
 Sets the transformation matrix to use for the part. More...
 
- Public Member Functions inherited from cee::RefCountedObject
void addRef () const
 Increments the reference count for this object. More...
 
void release () const
 Decrements the reference count for this object. More...
 
int refCount () const
 Returns the reference count for this object. More...
 
void setRefCountZero () const
 Sets the ref count to zero, but DOES NOT delete the object. More...
 
Inheritance diagram for cee::vis::MarkupPart:
cee::RefCountedObject cee::vis::MarkupPartArrows cee::vis::MarkupPartFixedSizeArrow cee::vis::MarkupPartFixedSizeGlyph cee::vis::MarkupPartFixedSizeSphere cee::vis::MarkupPartInstancedGeometry cee::vis::MarkupPartLabels cee::vis::MarkupPartLines cee::vis::MarkupPartPoints cee::vis::MarkupPartText3d cee::vis::MarkupPartTriangles

Detailed Description

Member Enumeration Documentation

Enum specifying the type of MarkupPart.

Enumerator
LABELS 

Labels part: MarkupPartLabels.

TEXTS_3D 

3d text: MarkupPartText3d

TRIANGLES 

Triangles part: MarkupPartTriangles.

INSTANCED_GEOMETRY 

Instanced Triangles part: MarkupPartInstancedGeometry.

LINES 

Lines part: MarkupPartLines.

POINTS 

Points part: MarkupPartPoints.

ARROWS 

Arrows part: MarkupPartArrows.

FIXED_SIZE_ARROW 

Fixed size arrow part: MarkupPartFixedSizeArrow.

FIXED_SIZE_SPHERE 

Fixed size sphere part: MarkupPartFixedSizeSphere.

FIXED_SIZE_IMAGE_GLYPH 

Fixed size image glyph part: MarkupPartFixedSizeGlyph.

Member Function Documentation

void cee::vis::MarkupPart::setVisible ( bool  visible)

Sets if the part should be visible or not.

bool cee::vis::MarkupPart::visible ( ) const

Returns true if the part is visible.