/
qgspointcloud3dsymbol.cpp
47 lines (36 loc) · 1.29 KB
/
qgspointcloud3dsymbol.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#include "qgspointcloud3dsymbol.h"
// TODO: For some reason whwn I define function on a .cpp file they don't get included in the qgis_app target
//QgsPointCloud3DSymbol::QgsPointCloud3DSymbol()
//: QgsAbstract3DSymbol()
//{
//}
//QgsPointCloud3DSymbol::~QgsPointCloud3DSymbol() { }
//QgsAbstract3DSymbol *QgsPointCloud3DSymbol::clone() const
//{
// // TODO: fix memory leak
// QgsPointCloud3DSymbol *result = new QgsPointCloud3DSymbol;
// result->mEnabled = mEnabled;
// result->mPointSize = mPointSize;
// copyBaseSettings( result );
// return result;
//}
//void QgsPointCloud3DSymbol::writeXml( QDomElement &elem, const QgsReadWriteContext &context ) const
//{
// Q_UNUSED( context )
// elem.setAttribute( QStringLiteral( "enabled" ), mEnabled );
// elem.setAttribute( QStringLiteral( "point-size" ), mPointSize );
//}
//void QgsPointCloud3DSymbol::readXml( const QDomElement &elem, const QgsReadWriteContext &context )
//{
// Q_UNUSED( context )
// mEnabled = elem.attribute( "enabled", QStringLiteral( "0" ) ).toInt();
// mPointSize = elem.attribute( "point-size", QStringLiteral( "5.0" ) ).toFloat();
//}
//void QgsPointCloud3DSymbol::setIsEnabled( bool enabled )
//{
// mEnabled = enabled;
//}
//void QgsPointCloud3DSymbol::setPointSize( float size )
//{
// mPointSize = size * 1.0f;
//}