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

#include <dl_entities.h>

Collaboration diagram for DL_MTextData:

Public Member Functions

 DL_MTextData (double ipx, double ipy, double ipz, double dirx, double diry, double dirz, double height, double width, int attachmentPoint, int drawingDirection, int lineSpacingStyle, double lineSpacingFactor, const std::string &text, const std::string &style, double angle)
 

Public Attributes

double ipx
 
double ipy
 
double ipz
 
double dirx
 
double diry
 
double dirz
 
double height
 
double width
 
int attachmentPoint
 
int drawingDirection
 
int lineSpacingStyle
 
double lineSpacingFactor
 
std::string text
 
std::string style
 
double angle
 

Detailed Description

MText Data.

Definition at line 698 of file dl_entities.h.

Constructor & Destructor Documentation

◆ DL_MTextData()

DL_MTextData::DL_MTextData ( double  ipx,
double  ipy,
double  ipz,
double  dirx,
double  diry,
double  dirz,
double  height,
double  width,
int  attachmentPoint,
int  drawingDirection,
int  lineSpacingStyle,
double  lineSpacingFactor,
const std::string &  text,
const std::string &  style,
double  angle 
)
inline

Constructor. Parameters: see member variables.

Definition at line 703 of file dl_entities.h.

Member Data Documentation

◆ angle

double DL_MTextData::angle

Rotation angle.

Definition at line 779 of file dl_entities.h.

◆ attachmentPoint

int DL_MTextData::attachmentPoint

Attachment point.

1 = Top left, 2 = Top center, 3 = Top right, 4 = Middle left, 5 = Middle center, 6 = Middle right, 7 = Bottom left, 8 = Bottom center, 9 = Bottom right

Definition at line 757 of file dl_entities.h.

◆ dirx

double DL_MTextData::dirx

X Coordinate of X direction vector.

Definition at line 741 of file dl_entities.h.

◆ diry

double DL_MTextData::diry

Y Coordinate of X direction vector.

Definition at line 743 of file dl_entities.h.

◆ dirz

double DL_MTextData::dirz

Z Coordinate of X direction vector.

Definition at line 745 of file dl_entities.h.

◆ drawingDirection

int DL_MTextData::drawingDirection

Drawing direction.

1 = left to right, 3 = top to bottom, 5 = by style

Definition at line 763 of file dl_entities.h.

◆ height

double DL_MTextData::height

Text height

Definition at line 747 of file dl_entities.h.

◆ ipx

double DL_MTextData::ipx

X Coordinate of insertion point.

Definition at line 735 of file dl_entities.h.

◆ ipy

double DL_MTextData::ipy

Y Coordinate of insertion point.

Definition at line 737 of file dl_entities.h.

◆ ipz

double DL_MTextData::ipz

Z Coordinate of insertion point.

Definition at line 739 of file dl_entities.h.

◆ lineSpacingFactor

double DL_MTextData::lineSpacingFactor

Line spacing factor. 0.25 .. 4.0

Definition at line 773 of file dl_entities.h.

◆ lineSpacingStyle

int DL_MTextData::lineSpacingStyle

Line spacing style.

1 = at least, 2 = exact

Definition at line 769 of file dl_entities.h.

◆ style

std::string DL_MTextData::style

Style string.

Definition at line 777 of file dl_entities.h.

◆ text

std::string DL_MTextData::text

Text string.

Definition at line 775 of file dl_entities.h.

◆ width

double DL_MTextData::width

Width of the text box.

Definition at line 749 of file dl_entities.h.


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