 |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Go to the documentation of this file.
29 QString
name = QString(
"CoordinateSystem"));
37 QString
name = QString(
"CoordinateSystem"));
50 virtual QString
getTypeName()
const override {
return "CoordinateSystem"; }
56 void ShowAxisPlanes(
bool show);
60 void ShowAxisLines(
bool show);
69 return m_DisplayScale;
76 return m_transformation.getTranslationAsVec3D();
80 std::shared_ptr<ccPlane> getXYplane()
const;
82 std::shared_ptr<ccPlane> getYZplane()
const;
84 std::shared_ptr<ccPlane> getZXplane()
const;
92 static constexpr
float MIN_DISPLAY_SCALE_F = 0.001f;
96 static constexpr
float MIN_AXIS_WIDTH_F = 1.0f;
98 static constexpr
float MAX_AXIS_WIDTH_F = 16.0f;
105 bool toFile_MeOnly(QFile& out,
short dataVersion)
const override;
111 virtual bool buildUp()
override;
bool axisPlanesAreShown() const
Definition: ecvCoordinateSystem.h:54
QMultiMap< unsigned, unsigned > LoadedIDMap
Map of loaded unique IDs (old ID --> new ID)
Definition: ecvSerializableObject.h:61
bool axisLinesAreShown() const
Definition: ecvCoordinateSystem.h:58
short minimumFileVersion_MeOnly() const override
Definition: ecvGenericPrimitive.cpp:154
virtual void clearDrawings()
Definition: ecvGenericPrimitive.cpp:215
int width
Definition: FileIOFactory.cpp:142
int64_t CV_CLASS_ENUM
Type of object type flags (64 bits)
Definition: CVTypes.h:97
virtual QString getTypeName() const override
Returns type name (sphere, cylinder, etc.)
Definition: ecvCoordinateSystem.h:50
ImGuiContext * context
Definition: Window.cpp:76
bool m_showAxisLines
Definition: ecvCoordinateSystem.h:121
PointCoordinateType getAxisWidth() const
Definition: ecvCoordinateSystem.h:63
void drawMeOnly(CC_DRAW_CONTEXT &context) override
Enables (OpenGL) stipple mask.
Definition: ecvMesh.cpp:2635
PointCoordinateType getDisplayScale() const
Definition: ecvCoordinateSystem.h:68
virtual ccGenericPrimitive * clone() const =0
Clones primitive.
PointCoordinateType m_DisplayScale
CoordinateSystem options.
Definition: ecvCoordinateSystem.h:118
bool toFile_MeOnly(QFile &out, short dataVersion) const override
Save own object data.
Definition: ecvGenericPrimitive.cpp:135
PointCoordinateType m_width
Definition: ecvCoordinateSystem.h:119
virtual void hideShowDrawings(CC_DRAW_CONTEXT &context)
Definition: ecvGenericPrimitive.cpp:219
Float version of ccGLMatrixTpl.
Definition: ecvGLMatrix.h:19
CCVector3 getOrigin() const
Definition: ecvCoordinateSystem.h:75
#define CV_DB_LIB_API
Definition: CV_db.h:15
Display context.
Definition: ecvDrawContext.h:365
bool fromFile_MeOnly(QFile &in, short dataVersion, int flags, LoadedIDMap &oldToNewIDMap) override
Loads own object data.
Definition: ecvGenericPrimitive.cpp:160
@ COORDINATESYSTEM
Definition: CVTypes.h:145
Generic primitive interface.
Definition: ecvGenericPrimitive.h:16
float PointCoordinateType
Type of the coordinates of a (N-D) point.
Definition: CVTypes.h:16
virtual bool buildUp()=0
Builds primitive.
Coordinate System (primitive)
Definition: ecvCoordinateSystem.h:19
bool m_showAxisPlanes
Definition: ecvCoordinateSystem.h:120
cloudViewer::geometry::LineSet m_axis
Definition: ecvCoordinateSystem.h:122
Plane (primitive)
Definition: ecvPlane.h:17
LineSet define a sets of lines in 3D. A typical application is to display the point cloud corresponde...
Definition: LineSet.h:29
std::string name
Definition: FileIOFactory.cpp:129
virtual CV_CLASS_ENUM getClassID() const override
Returns class ID.
Definition: ecvCoordinateSystem.h:45