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

#include <Annotaion.h>

Collaboration diagram for BoxLabel:

Public Member Functions

 BoxLabel ()
 
 BoxLabel (const double p1[3], const double p2[3], std::string type_="unknown")
 
std::string toString ()
 

Public Attributes

std::string type
 
union {
   double   data [7]
 
   struct {
      double   center_x
 
      double   center_y
 
      double   center_z
 
      double   length
 
      double   width
 
      double   height
 
      double   yaw
 
   }   detail
 
}; 
 

Detailed Description

Definition at line 15 of file Annotaion.h.

Constructor & Destructor Documentation

◆ BoxLabel() [1/2]

BoxLabel::BoxLabel ( )
inline

Definition at line 16 of file Annotaion.h.

References detail, and type.

◆ BoxLabel() [2/2]

BoxLabel::BoxLabel ( const double  p1[3],
const double  p2[3],
std::string  type_ = "unknown" 
)
inline

Definition at line 23 of file Annotaion.h.

References detail, and type.

Member Function Documentation

◆ toString()

std::string BoxLabel::toString ( )
inline

Definition at line 49 of file Annotaion.h.

References data, and type.

Member Data Documentation

◆ 

union { ... }

◆ center_x

double BoxLabel::center_x

Definition at line 39 of file Annotaion.h.

◆ center_y

double BoxLabel::center_y

Definition at line 40 of file Annotaion.h.

◆ center_z

double BoxLabel::center_z

Definition at line 41 of file Annotaion.h.

◆ data

double BoxLabel::data[7]

Definition at line 37 of file Annotaion.h.

Referenced by Annotation::getBoxLabel(), and toString().

◆ 

struct { ... } BoxLabel::detail

◆ height

double BoxLabel::height

Definition at line 44 of file Annotaion.h.

◆ length

double BoxLabel::length

Definition at line 42 of file Annotaion.h.

◆ type

std::string BoxLabel::type

Definition at line 35 of file Annotaion.h.

Referenced by Annotation::Annotation(), BoxLabel(), Annotation::getBoxLabel(), and toString().

◆ width

double BoxLabel::width

Definition at line 43 of file Annotaion.h.

◆ yaw

double BoxLabel::yaw

Definition at line 45 of file Annotaion.h.


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