#include <Annotaion.h>
|
| static std::vector< std::string > * | GetTypes () |
| | get types vector pointer More...
|
| |
| static std::size_t | GetTypeIndex (std::string type_) |
| | GetTypeIndex auto add to vector map if has not. More...
|
| |
| static std::string | GetTypeByIndex (size_t index) |
| | GetTypeByIndex auto add to vector map if has not. More...
|
| |
| static void | ComputeOBB (const PointCloudI::Ptr cloud, std::vector< int > &slice, double p1[3], double p2[3]) |
| | ComputeOBB compute max,min [x,y,z] aligned to xyz axis. More...
|
| |
|
| static std::vector< std::string > * | types = nullptr |
| | types all annotation type here More...
|
| |
◆ Annotation() [1/3]
| Annotation::Annotation |
( |
const std::vector< int > & |
slice, |
|
|
std::string |
type_ |
|
) |
| |
Annotation construct from slice which load from label file.
- Parameters
-
References type.
◆ Annotation() [2/3]
| Annotation::Annotation |
( |
const BoxLabel & |
label, |
|
|
bool |
visible_ = true, |
|
|
bool |
lock_ = false |
|
) |
| |
◆ Annotation() [3/3]
| Annotation::Annotation |
( |
const PointCloudI::Ptr |
cloud, |
|
|
std::vector< int > & |
slice, |
|
|
std::string |
type_ |
|
) |
| |
◆ ~Annotation()
| Annotation::~Annotation |
( |
| ) |
|
◆ adjustToAnchor()
| void Annotation::adjustToAnchor |
( |
| ) |
|
◆ applyTransform()
◆ colorAnnotation()
| void Annotation::colorAnnotation |
( |
int |
color_index = -1 | ) |
|
|
protected |
◆ ComputeOBB()
| void Annotation::ComputeOBB |
( |
const PointCloudI::Ptr |
cloud, |
|
|
std::vector< int > & |
slice, |
|
|
double |
p1[3], |
|
|
double |
p2[3] |
|
) |
| |
|
static |
ComputeOBB compute max,min [x,y,z] aligned to xyz axis.
- Parameters
-
| cloud | |
| slice | |
| p1 | min [x,y,z] |
| p2 | max [x,y,z] |
Referenced by Annotation().
◆ computeScaleAndCenterShift()
| double Annotation::computeScaleAndCenterShift |
( |
double |
o[3], |
|
|
double |
scs[2] |
|
) |
| |
|
protected |
computeScaleAndCenterShift
- Parameters
-
| o | direction |
| scs | ["scale", "center shift"] |
- Returns
- scale
References a, and x.
Referenced by adjustToAnchor().
◆ getActor()
◆ getBoxLabel()
◆ getSlice()
| const std::vector< int > & Annotation::getSlice |
( |
| ) |
const |
◆ getType()
| std::string Annotation::getType |
( |
| ) |
const |
◆ GetTypeByIndex()
| std::string Annotation::GetTypeByIndex |
( |
size_t |
index | ) |
|
|
static |
◆ GetTypeIndex()
| std::size_t Annotation::GetTypeIndex |
( |
std::string |
type_ | ) |
|
|
static |
◆ GetTypes()
| std::vector< std::string > * Annotation::GetTypes |
( |
| ) |
|
|
static |
◆ initial()
| void Annotation::initial |
( |
| ) |
|
|
protected |
◆ picked()
| void Annotation::picked |
( |
vtkRenderWindowInteractor * |
interactor | ) |
|
◆ setAnchorPoint()
| void Annotation::setAnchorPoint |
( |
const PointCloudI::Ptr |
cloud, |
|
|
const std::vector< int > & |
slice |
|
) |
| |
|
protected |
copy selected points as anchor to current annotation
- Parameters
-
Referenced by Annotation().
◆ setType()
| void Annotation::setType |
( |
const std::string |
value | ) |
|
change the type of annotation, and color too
- Parameters
-
References colorAnnotation().
◆ unpicked()
| void Annotation::unpicked |
( |
| ) |
|
◆ types
| std::vector< std::string > * Annotation::types = nullptr |
|
staticprotected |
The documentation for this class was generated from the following files:
- /tmp/v394src/libs/PCLEngine/Tools/AnnotationTools/Annotaion.h
- /tmp/v394src/libs/PCLEngine/Tools/AnnotationTools/Annotaion.cpp