ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
cvAnnotation Struct Reference

Annotation for a selection. More...

#include <cvSelectionAnnotation.h>

Public Member Functions

 cvAnnotation ()
 
 cvAnnotation (const QString &txt, const double pos[3], const QString &uid=QString())
 

Public Attributes

QString text
 Annotation text. More...
 
QString id
 Unique ID. More...
 
double position [3]
 3D position More...
 
QColor color
 Text color. More...
 
int fontSize
 Font size in points. More...
 
QString fontFamily
 Font family (e.g., "Arial") More...
 
bool bold
 Bold flag. More...
 
bool italic
 Italic flag. More...
 
bool shadow
 Shadow flag. More...
 
double opacity
 Text opacity (0.0 to 1.0) More...
 
QString horizontalJustification
 "Left", "Center", "Right" More...
 
QString verticalJustification
 "Top", "Center", "Bottom" More...
 
bool visible
 Visibility flag. More...
 
bool followSelection
 Auto-update position with selection. More...
 
qint64 timestamp
 Creation timestamp. More...
 

Detailed Description

Annotation for a selection.

Stores text annotation, position, style, and visibility.

Constructor & Destructor Documentation

◆ cvAnnotation() [1/2]

cvAnnotation::cvAnnotation ( )
inline

References color, position, and ecvColor::yellow().

◆ cvAnnotation() [2/2]

cvAnnotation::cvAnnotation ( const QString &  txt,
const double  pos[3],
const QString &  uid = QString() 
)
inline

References color, position, and ecvColor::yellow().

Member Data Documentation

◆ bold

◆ color

◆ followSelection

bool cvAnnotation::followSelection

◆ fontFamily

◆ fontSize

◆ horizontalJustification

QString cvAnnotation::horizontalJustification

◆ id

QString cvAnnotation::id

◆ italic

◆ opacity

◆ position

double cvAnnotation::position[3]

◆ shadow

◆ text

QString cvAnnotation::text

◆ timestamp

qint64 cvAnnotation::timestamp

Creation timestamp.

Referenced by cvSelectionAnnotationManager::importFromFile().

◆ verticalJustification

QString cvAnnotation::verticalJustification

◆ visible

bool cvAnnotation::visible

Visibility flag.

Referenced by cvSelectionAnnotationManager::importFromFile().


The documentation for this struct was generated from the following file: