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

#include <dl_entities.h>

Inheritance diagram for DL_TextData:
Collaboration diagram for DL_TextData:

Public Member Functions

 DL_TextData (double ipx, double ipy, double ipz, double apx, double apy, double apz, double height, double xScaleFactor, int textGenerationFlags, int hJustification, int vJustification, const std::string &text, const std::string &style, double angle)
 

Public Attributes

double ipx
 
double ipy
 
double ipz
 
double apx
 
double apy
 
double apz
 
double height
 
double xScaleFactor
 
int textGenerationFlags
 
int hJustification
 
int vJustification
 
std::string text
 
std::string style
 
double angle
 

Detailed Description

Text Data.

Definition at line 785 of file dl_entities.h.

Constructor & Destructor Documentation

◆ DL_TextData()

DL_TextData::DL_TextData ( double  ipx,
double  ipy,
double  ipz,
double  apx,
double  apy,
double  apz,
double  height,
double  xScaleFactor,
int  textGenerationFlags,
int  hJustification,
int  vJustification,
const std::string &  text,
const std::string &  style,
double  angle 
)
inline

Constructor. Parameters: see member variables.

Definition at line 790 of file dl_entities.h.

Member Data Documentation

◆ angle

double DL_TextData::angle

Rotation angle of dimension text away from default orientation.

Definition at line 858 of file dl_entities.h.

◆ apx

double DL_TextData::apx

X Coordinate of alignment point.

Definition at line 827 of file dl_entities.h.

◆ apy

double DL_TextData::apy

Y Coordinate of alignment point.

Definition at line 829 of file dl_entities.h.

◆ apz

double DL_TextData::apz

Z Coordinate of alignment point.

Definition at line 831 of file dl_entities.h.

◆ height

double DL_TextData::height

Text height

Definition at line 834 of file dl_entities.h.

◆ hJustification

int DL_TextData::hJustification

Horizontal justification.

0 = Left (default), 1 = Center, 2 = Right, 3 = Aligned, 4 = Middle, 5 = Fit For 3, 4, 5 the vertical alignment has to be 0.

Definition at line 846 of file dl_entities.h.

◆ ipx

double DL_TextData::ipx

X Coordinate of insertion point.

Definition at line 820 of file dl_entities.h.

◆ ipy

double DL_TextData::ipy

Y Coordinate of insertion point.

Definition at line 822 of file dl_entities.h.

◆ ipz

double DL_TextData::ipz

Z Coordinate of insertion point.

Definition at line 824 of file dl_entities.h.

◆ style

std::string DL_TextData::style

Style (font).

Definition at line 856 of file dl_entities.h.

◆ text

std::string DL_TextData::text

Text string.

Definition at line 854 of file dl_entities.h.

◆ textGenerationFlags

int DL_TextData::textGenerationFlags

0 = default, 2 = Backwards, 4 = Upside down

Definition at line 838 of file dl_entities.h.

◆ vJustification

int DL_TextData::vJustification

Vertical justification.

0 = Baseline (default), 1 = Bottom, 2 = Middle, 3= Top

Definition at line 852 of file dl_entities.h.

◆ xScaleFactor

double DL_TextData::xScaleFactor

Relative X scale factor.

Definition at line 836 of file dl_entities.h.


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