60 : transformContext( transformContext )
69 bool loadDefaultStyle =
true;
82 bool skipCrsValidation =
false;
87 bool skipIndexGeneration =
false;
93 bool skipStatisticsCalculation =
false;
104 Calculating = 1 << 0,
107 Q_ENUM( PointCloudStatisticsCalculationState )
113 const QString &baseName = QString(),
114 const QString &providerLib = QStringLiteral(
"pointcloud" ),
123 SIP_PYOBJECT __repr__();
125 QString
str = QStringLiteral(
"<QgsPointCloudLayer: '%1' (%2)>" ).arg( sipCpp->name(), sipCpp->dataProvider() ? sipCpp->dataProvider()->name() : QStringLiteral(
"Invalid" ) );
126 sipRes = PyUnicode_FromString(
str.toUtf8().constData() );
140 bool writeXml( QDomNode &layerNode, QDomDocument &doc, const
QgsReadWriteContext &context ) const override;
142 bool readSymbology( const QDomNode &node, QString &errorMessage,
146 bool writeSymbology( QDomNode &node, QDomDocument &doc, QString &errorMessage, const
QgsReadWriteContext &context,
152 QString encodedSource( const QString &source, const
QgsReadWriteContext &context ) const override;
153 QString decodedSource( const QString &source, const QString &dataProvider, const
QgsReadWriteContext &context ) const override;
154 QString loadDefaultStyle(
bool &resultFlag
SIP_OUT )
FINAL;
155 QString htmlMetadata() const override;
166 qint64 pointCount() const;
199 bool setSubsetString( const QString &subset );
207 QString subsetString() const;
215 void setSync3DRendererTo2DRenderer(
bool sync );
223 bool sync3DRendererTo2DRenderer() const;
231 bool convertRenderer3DFromRenderer2D();
274 bool isReadOnly()
const override {
return true;}
276 void calculateStatistics();
278 void resetRenderer();
280 void loadIndexesForRenderContext(
QgsRenderContext &rendererContext )
const;
286 std::unique_ptr<QgsPointCloudDataProvider> mDataProvider;
288 std::unique_ptr<QgsPointCloudRenderer> mRenderer;
292 LayerOptions mLayerOptions;
294 bool mSync3DRendererTo2DRenderer =
true;
296 PointCloudStatisticsCalculationState mStatisticsCalculationState = PointCloudStatisticsCalculationState::NotStarted;
297 long mStatsCalculationTask = 0;
299 friend class TestQgsVirtualPointCloudProvider;
The class is used as a container of context for various read/write operations on other objects.
Contains information about the context of a rendering operation.