 |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Go to the documentation of this file.
41 bool useInputCoordinatesShiftIfPossible,
43 bool* preserveCoordinateShift,
44 double* coordinatesScale,
50 static bool NeedShift(
double d);
52 static bool NeedRescale(
double d);
58 static double BestScale(
double d);
64 MAX_COORDINATE_ABS_VALUE = value;
71 MAX_DIAGONAL_LENGTH = value;
75 static void StoreShift(
const CCVector3d& shift,
77 bool preserve =
true);
89 : shift(0, 0, 0), scale(1.0),
name(str), preserve(true) {}
92 : shift(T), scale(s),
name(str), preserve(true) {}
95 static bool GetLast(ShiftInfo& info);
96 static bool GetLast(std::vector<ShiftInfo>& infos);
static void SetMaxBoundgBoxDiagonal(double value)
Sets the max bounding-box diagonal.
Definition: ecvGlobalShiftManager.h:70
CCVector3d shift
Definition: ecvGlobalShiftManager.h:82
@ NO_DIALOG_AUTO_SHIFT
Definition: ecvGlobalShiftManager.h:31
Shift and scale info.
Definition: ecvGlobalShiftManager.h:81
static double MaxBoundgBoxDiagonal()
Returns max bounding-box diagonal.
Definition: ecvGlobalShiftManager.h:68
ShiftInfo(QString str, const CCVector3d &T, double s=1.0)
Constructor from a vector and a scale value.
Definition: ecvGlobalShiftManager.h:91
#define CV_IO_LIB_API
Definition: CV_io.h:15
static void SetMaxCoordinateAbsValue(double value)
Sets the max coordinate (absolute) value.
Definition: ecvGlobalShiftManager.h:63
@ NO_DIALOG
Definition: ecvGlobalShiftManager.h:30
static double MAX_COORDINATE_ABS_VALUE
Definition: ecvGlobalShiftManager.h:100
static double MaxCoordinateAbsValue()
Returns the max coordinate (absolute) value.
Definition: ecvGlobalShiftManager.h:61
bool preserve
Definition: ecvGlobalShiftManager.h:85
@ DIALOG_IF_NECESSARY
Definition: ecvGlobalShiftManager.h:32
Hierarchical CLOUDVIEWER Object.
Definition: ecvHObject.h:25
Mode
Strategy to handle coordinates shift/scale.
Definition: ecvGlobalShiftManager.h:29
double scale
Definition: ecvGlobalShiftManager.h:83
static double MAX_DIAGONAL_LENGTH
Definition: ecvGlobalShiftManager.h:103
QString name
Definition: ecvGlobalShiftManager.h:84
Definition: ecvGlobalShiftManager.h:26
ShiftInfo(QString str=QString("unnamed"))
Default constructor.
Definition: ecvGlobalShiftManager.h:88
std::string name
Definition: FileIOFactory.cpp:129