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

#include <ecvDrawContext.h>

Collaboration diagram for WIDGETS_PARAMETER:

Public Member Functions

 WIDGETS_PARAMETER (WIDGETS_TYPE t, QString id="id", int port=0)
 
 WIDGETS_PARAMETER (ccHObject *obj, WIDGETS_TYPE t, QString id="id", int port=0)
 
void setLineWidget (const LineWidget &line)
 

Public Attributes

ccHObjectentity
 
WIDGETS_TYPE type
 
QString viewID
 
int viewport = 0
 
ecvColor::Rgbaf color
 
CC_DRAW_CONTEXT context
 
int fontSize = 10
 
QImage image
 
double opacity = 1.0
 
QString text
 
bool filled = true
 
QRect rect
 
QPoint p1
 
QPoint p2
 
QPoint p3
 
QPoint p4 = QPoint(-1, -1)
 
float radius
 
CCVector3 center
 
CCVector2 pos
 
bool handleEnabled = false
 
LineWidget lineWidget
 

Detailed Description

Definition at line 533 of file ecvDrawContext.h.

Constructor & Destructor Documentation

◆ WIDGETS_PARAMETER() [1/2]

WIDGETS_PARAMETER::WIDGETS_PARAMETER ( WIDGETS_TYPE  t,
QString  id = "id",
int  port = 0 
)
inline

Definition at line 573 of file ecvDrawContext.h.

References context.

◆ WIDGETS_PARAMETER() [2/2]

WIDGETS_PARAMETER::WIDGETS_PARAMETER ( ccHObject obj,
WIDGETS_TYPE  t,
QString  id = "id",
int  port = 0 
)
inline

Definition at line 578 of file ecvDrawContext.h.

References context.

Member Function Documentation

◆ setLineWidget()

void WIDGETS_PARAMETER::setLineWidget ( const LineWidget line)
inline

Definition at line 586 of file ecvDrawContext.h.

Referenced by cc2DLabel::drawMeOnly3D().

Member Data Documentation

◆ center

CCVector3 WIDGETS_PARAMETER::center

◆ color

◆ context

CC_DRAW_CONTEXT WIDGETS_PARAMETER::context

◆ entity

ccHObject* WIDGETS_PARAMETER::entity

Definition at line 536 of file ecvDrawContext.h.

Referenced by PCLDisplayTools::drawWidgets(), and ecvDisplayTools::DrawWidgets().

◆ filled

bool WIDGETS_PARAMETER::filled = true

Definition at line 554 of file ecvDrawContext.h.

Referenced by PCLDisplayTools::drawWidgets().

◆ fontSize

int WIDGETS_PARAMETER::fontSize = 10

◆ handleEnabled

bool WIDGETS_PARAMETER::handleEnabled = false

Definition at line 567 of file ecvDrawContext.h.

Referenced by PCLDisplayTools::drawWidgets().

◆ image

QImage WIDGETS_PARAMETER::image

◆ lineWidget

LineWidget WIDGETS_PARAMETER::lineWidget

Definition at line 570 of file ecvDrawContext.h.

Referenced by PCLDisplayTools::drawWidgets(), and ecvDisplayTools::DrawWidgets().

◆ opacity

double WIDGETS_PARAMETER::opacity = 1.0

◆ p1

QPoint WIDGETS_PARAMETER::p1

◆ p2

QPoint WIDGETS_PARAMETER::p2

◆ p3

QPoint WIDGETS_PARAMETER::p3

◆ p4

QPoint WIDGETS_PARAMETER::p4 = QPoint(-1, -1)

◆ pos

CCVector2 WIDGETS_PARAMETER::pos

Definition at line 566 of file ecvDrawContext.h.

Referenced by cc2DLabel::drawMeOnly2D(), and PCLDisplayTools::drawWidgets().

◆ radius

float WIDGETS_PARAMETER::radius

◆ rect

◆ text

◆ type

◆ viewID

QString WIDGETS_PARAMETER::viewID

◆ viewport

int WIDGETS_PARAMETER::viewport = 0

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