 |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Go to the documentation of this file.
38 explicit ccGBLSensor(ROTATION_ORDER rotOrder = YAW_THEN_PITCH);
84 static QString GetErrorString(
int errorCode);
143 m_sensorRange = range;
162 m_rotationOrder = rotOrder;
174 void projectPoint(
const CCVector3& sourcePoint,
177 double posIndex = 0)
const;
192 double posIndex = 0)
const;
228 void clearDepthBuffer();
240 bool toFile_MeOnly(QFile& out,
short dataVersion)
const override;
245 LoadedIDMap& oldToNewIDMap)
override;
bool pitchIsShifted() const
Definition: ecvGBLSensor.h:109
cloudViewer::geometry::LineSet m_axis
Definition: ecvGBLSensor.h:292
ROTATION_ORDER getRotationOrder() const
Returns the sensor internal rotations order.
Definition: ecvGBLSensor.h:156
void setUncertainty(PointCoordinateType u)
Sets the Z-buffer uncertainty on depth values.
Definition: ecvGBLSensor.h:153
PointCoordinateType m_phiMin
Minimal pitch limit (in radians)
Definition: ecvGBLSensor.h:257
PointCoordinateType getPitchStep() const
Returns the lateral pitch step (in radians)
Definition: ecvGBLSensor.h:105
PointCoordinateType m_thetaMax
Maximal yaw limit (in radians)
Definition: ecvGBLSensor.h:272
const cloudViewer::geometry::LineSet & getSensorLegLines() const
Definition: ecvGBLSensor.h:230
PointCoordinateType getYawStep() const
Returns the yaw step (in radians)
Definition: ecvGBLSensor.h:130
@ GBL_SENSOR
Definition: CVTypes.h:117
PointCoordinateType m_phiMax
Maximal pitch limit (in radians)
Definition: ecvGBLSensor.h:260
std::vector< ecvColor::Rgb > ColorGrid
2D grid of colors
Definition: ecvGBLSensor.h:195
Bounding box structure.
Definition: ecvBBox.h:25
Sensor "depth map".
Definition: ecvDepthBuffer.h:25
Definition: GenericCloud.h:20
A 3D cloud and its associated features (color, normals, scalar fields, etc.)
Definition: ecvPointCloud.h:146
virtual unsigned char checkVisibility(const CCVector3 &P) const
Returns the "visibility type" of a point.
Definition: ecvSensor.h:58
PointCoordinateType getUncertainty() const
Returns the Z-buffer uncertainty on depth values.
Definition: ecvGBLSensor.h:147
virtual void hideShowDrawings(CC_DRAW_CONTEXT &context)
Definition: ecvSensor.cpp:56
bool isSerializable() const override
Returns whether object is serializable of not.
Definition: ecvGBLSensor.h:51
bool yawIsShifted() const
Definition: ecvGBLSensor.h:134
PointCoordinateType getSensorRange() const
Returns the sensor max. range.
Definition: ecvGBLSensor.h:137
virtual ccBBox getOwnFitBB(ccGLMatrix &trans)
Returns best-fit bounding-box (if available)
Definition: ecvHObject.cpp:1009
int64_t CV_CLASS_ENUM
Type of object type flags (64 bits)
Definition: CVTypes.h:97
ImGuiContext * context
Definition: Window.cpp:76
bool m_yawAnglesAreShifted
Definition: ecvGBLSensor.h:277
bool m_pitchAnglesAreShifted
Definition: ecvGBLSensor.h:265
const cloudViewer::geometry::LineSet & getSensorAxis() const
Definition: ecvGBLSensor.h:233
void setRotationOrder(ROTATION_ORDER rotOrder)
Sets the sensor internal rotations order.
Definition: ecvGBLSensor.h:161
PointCoordinateType getMaxYaw() const
Returns the maximal yaw limit (in radians)
Definition: ecvGBLSensor.h:122
ROTATION_ORDER m_rotationOrder
Mirrors rotation order.
Definition: ecvGBLSensor.h:280
PointCoordinateType getMinYaw() const
Returns the minimal yaw limit (in radians)
Definition: ecvGBLSensor.h:119
PointCoordinateType m_deltaTheta
Yaw step (in radians)
Definition: ecvGBLSensor.h:274
Generic sensor interface.
Definition: ecvSensor.h:27
void setSensorRange(PointCoordinateType range)
Sets the sensor max. range.
Definition: ecvGBLSensor.h:142
PointCoordinateType getMaxPitch() const
Returns the maximal pitch limit (in radians)
Definition: ecvGBLSensor.h:97
PointCoordinateType getMinPitch() const
Returns the minimal pitch limit (in radians)
Definition: ecvGBLSensor.h:94
Ground-based Laser sensor.
Definition: ecvGBLSensor.h:26
const ccDepthBuffer & getDepthBuffer() const
Returns the associated depth buffer.
Definition: ecvGBLSensor.h:225
PointCoordinateType m_sensorRange
Sensor max range.
Definition: ecvGBLSensor.h:283
short minimumFileVersion_MeOnly() const override
Definition: ecvSensor.cpp:155
cloudViewer::geometry::LineSet m_leg
Definition: ecvGBLSensor.h:291
virtual bool applyViewport()
Apply sensor 'viewport' to a 3D view.
Definition: ecvSensor.cpp:198
const ecvOrientedBBox & getSensorHead() const
Definition: ecvGBLSensor.h:236
ecvOrientedBBox m_obbHead
Definition: ecvGBLSensor.h:290
ROTATION_ORDER
The order of inner-rotations of the sensor (body/mirrors)
Definition: ecvGBLSensor.h:33
std::vector< CCVector3 > NormalGrid
2D grid of normals
Definition: ecvGBLSensor.h:180
virtual void clearDrawings()
Definition: ecvSensor.cpp:54
Float version of ccGLMatrixTpl.
Definition: ecvGLMatrix.h:19
PointCoordinateType m_uncertainty
Z-buffer uncertainty.
Definition: ecvGBLSensor.h:285
CV_CLASS_ENUM getClassID() const override
Returns class ID.
Definition: ecvGBLSensor.h:50
ccDepthBuffer m_depthBuffer
Associated Z-buffer.
Definition: ecvGBLSensor.h:288
Definition: ecvOrientedBBox.h:29
virtual ccBBox getOwnBB(bool withGLFeatures=false)
Returns the entity's own bounding-box.
Definition: ecvHObject.cpp:757
#define CV_DB_LIB_API
Definition: CV_db.h:15
PointCoordinateType m_deltaPhi
Pitch step (in radians)
Definition: ecvGBLSensor.h:262
Display context.
Definition: ecvDrawContext.h:365
float PointCoordinateType
Type of the coordinates of a (N-D) point.
Definition: CVTypes.h:16
PointCoordinateType m_thetaMin
Minimal yaw limit (in radians)
Definition: ecvGBLSensor.h:269
bool toFile_MeOnly(QFile &out, short dataVersion) const override
Save own object data.
Definition: ecvSensor.cpp:123
bool fromFile_MeOnly(QFile &in, short dataVersion, int flags, LoadedIDMap &oldToNewIDMap) override
Loads own object data.
Definition: ecvSensor.cpp:161
virtual void drawMeOnly(CC_DRAW_CONTEXT &context)
Draws the entity only (not its children)
Definition: ecvHObject.h:655
LineSet define a sets of lines in 3D. A typical application is to display the point cloud corresponde...
Definition: LineSet.h:29