"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/3d/symbols/qgsline3dsymbol_p.cpp" between
QGIS-final-3_14_15.tar.gz and QGIS-final-3_14_16.tar.gz

About: QGIS (Quantum GIS) is a Geographic Information System that supports vector, raster, and database formats. Latest release (3.14.x series).

qgsline3dsymbol_p.cpp  (QGIS-final-3_14_15):qgsline3dsymbol_p.cpp  (QGIS-final-3_14_16)
skipping to change at line 78 skipping to change at line 78
std::unique_ptr<QgsTessellator> tessellator; std::unique_ptr<QgsTessellator> tessellator;
QVector<QgsFeatureId> triangleIndexFids; QVector<QgsFeatureId> triangleIndexFids;
QVector<uint> triangleIndexStartingIndices; QVector<uint> triangleIndexStartingIndices;
}; };
void processPolygon( QgsPolygon *polyBuffered, QgsFeatureId fid, float heigh t, float extrusionHeight, const Qgs3DRenderContext &context, LineData &out ); void processPolygon( QgsPolygon *polyBuffered, QgsFeatureId fid, float heigh t, float extrusionHeight, const Qgs3DRenderContext &context, LineData &out );
void makeEntity( Qt3DCore::QEntity *parent, const Qgs3DRenderContext &contex t, LineData &out, bool selected ); void makeEntity( Qt3DCore::QEntity *parent, const Qgs3DRenderContext &contex t, LineData &out, bool selected );
// input specific for this class // input specific for this class
const QgsLine3DSymbol &mSymbol; QgsLine3DSymbol mSymbol;
// inputs - generic // inputs - generic
QgsFeatureIds mSelectedIds; QgsFeatureIds mSelectedIds;
// outputs // outputs
LineData outNormal; //!< Features that are not selected LineData outNormal; //!< Features that are not selected
LineData outSelected; //!< Features that are selected LineData outSelected; //!< Features that are selected
}; };
bool QgsBufferedLine3DSymbolHandler::prepare( const Qgs3DRenderContext &context, QSet<QString> &attributeNames ) bool QgsBufferedLine3DSymbolHandler::prepare( const Qgs3DRenderContext &context, QSet<QString> &attributeNames )
{ {
skipping to change at line 218 skipping to change at line 218
bool prepare( const Qgs3DRenderContext &context, QSet<QString> &attributeNam es ) override; bool prepare( const Qgs3DRenderContext &context, QSet<QString> &attributeNam es ) override;
void processFeature( QgsFeature &feature, const Qgs3DRenderContext &context ) override; void processFeature( QgsFeature &feature, const Qgs3DRenderContext &context ) override;
void finalize( Qt3DCore::QEntity *parent, const Qgs3DRenderContext &context ) override; void finalize( Qt3DCore::QEntity *parent, const Qgs3DRenderContext &context ) override;
private: private:
void makeEntity( Qt3DCore::QEntity *parent, const Qgs3DRenderContext &contex t, QgsLineVertexData &out, bool selected ); void makeEntity( Qt3DCore::QEntity *parent, const Qgs3DRenderContext &contex t, QgsLineVertexData &out, bool selected );
Qt3DExtras::QPhongMaterial *material( const QgsLine3DSymbol &symbol ) const; Qt3DExtras::QPhongMaterial *material( const QgsLine3DSymbol &symbol ) const;
// input specific for this class // input specific for this class
const QgsLine3DSymbol &mSymbol; QgsLine3DSymbol mSymbol;
// inputs - generic // inputs - generic
QgsFeatureIds mSelectedIds; QgsFeatureIds mSelectedIds;
// outputs // outputs
QgsLineVertexData outNormal; //!< Features that are not selected QgsLineVertexData outNormal; //!< Features that are not selected
QgsLineVertexData outSelected; //!< Features that are selected QgsLineVertexData outSelected; //!< Features that are selected
}; };
bool QgsSimpleLine3DSymbolHandler::prepare( const Qgs3DRenderContext &context, Q Set<QString> &attributeNames ) bool QgsSimpleLine3DSymbolHandler::prepare( const Qgs3DRenderContext &context, Q Set<QString> &attributeNames )
{ {
skipping to change at line 324 skipping to change at line 324
bool prepare( const Qgs3DRenderContext &context, QSet<QString> &attributeNam es ) override; bool prepare( const Qgs3DRenderContext &context, QSet<QString> &attributeNam es ) override;
void processFeature( QgsFeature &feature, const Qgs3DRenderContext &context ) override; void processFeature( QgsFeature &feature, const Qgs3DRenderContext &context ) override;
void finalize( Qt3DCore::QEntity *parent, const Qgs3DRenderContext &context ) override; void finalize( Qt3DCore::QEntity *parent, const Qgs3DRenderContext &context ) override;
private: private:
void makeEntity( Qt3DCore::QEntity *parent, const Qgs3DRenderContext &contex t, QgsLineVertexData &out, bool selected ); void makeEntity( Qt3DCore::QEntity *parent, const Qgs3DRenderContext &contex t, QgsLineVertexData &out, bool selected );
Qt3DExtras::QPhongMaterial *material( const QgsLine3DSymbol &symbol ) const; Qt3DExtras::QPhongMaterial *material( const QgsLine3DSymbol &symbol ) const;
// input specific for this class // input specific for this class
const QgsLine3DSymbol &mSymbol; QgsLine3DSymbol mSymbol;
// inputs - generic // inputs - generic
QgsFeatureIds mSelectedIds; QgsFeatureIds mSelectedIds;
// outputs // outputs
QgsLineVertexData outNormal; //!< Features that are not selected QgsLineVertexData outNormal; //!< Features that are not selected
QgsLineVertexData outSelected; //!< Features that are selected QgsLineVertexData outSelected; //!< Features that are selected
}; };
bool QgsThickLine3DSymbolHandler::prepare( const Qgs3DRenderContext &context, QS et<QString> &attributeNames ) bool QgsThickLine3DSymbolHandler::prepare( const Qgs3DRenderContext &context, QS et<QString> &attributeNames )
{ {
 End of changes. 3 change blocks. 
3 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)