Skip to content

Commit

Permalink
Mark QgsPointCloudRendererConfig as private for now
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Oct 26, 2020
1 parent 5a71437 commit 40ff712
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 35 deletions.
35 changes: 0 additions & 35 deletions python/core/auto_generated/pointcloud/qgspointcloudrenderer.sip.in
Expand Up @@ -13,41 +13,6 @@



class QgsPointCloudRendererConfig
{
%Docstring
*************************************************************************

This program is free software; you can redistribute it and/or modify *
it under the terms of the GNU General Public License as published by *
the Free Software Foundation; either version 2 of the License, or *
(at your option) any later version. *

**************************************************************************
%End

%TypeHeaderCode
#include "qgspointcloudrenderer.h"
%End
public:
QgsPointCloudRendererConfig();
QgsPointCloudRendererConfig( const QgsPointCloudRendererConfig &other );

double zMin() const;
void setZMin( double value );

double zMax() const;
void setZMax( double value );

int penWidth() const;
void setPenWidth( int value );

QgsColorRamp *colorRamp() const;

void setColorRamp( const QgsColorRamp *value );

};


class QgsPointCloudRenderer: QgsMapLayerRenderer
{
Expand Down
3 changes: 3 additions & 0 deletions src/core/pointcloud/qgspointcloudrenderer.cpp
Expand Up @@ -24,6 +24,7 @@
#include "qgsstyle.h"
#include "qgscolorramp.h"

///@cond PRIVATE
QgsPointCloudRendererConfig::QgsPointCloudRendererConfig() = default;

QgsPointCloudRendererConfig::QgsPointCloudRendererConfig( const QgsPointCloudRendererConfig &other )
Expand Down Expand Up @@ -83,6 +84,8 @@ void QgsPointCloudRendererConfig::setColorRamp( const QgsColorRamp *value )
mColorRamp.reset( value->clone() );
}

///@endcond

QgsPointCloudRenderer::QgsPointCloudRenderer( QgsPointCloudLayer *layer, QgsRenderContext &context )
: QgsMapLayerRenderer( layer->id(), &context )
, mLayer( layer )
Expand Down
5 changes: 5 additions & 0 deletions src/core/pointcloud/qgspointcloudrenderer.h
Expand Up @@ -33,6 +33,9 @@ class QgsRenderContext;
class QgsPointCloudLayer;


#ifndef SIP_RUN
///@cond PRIVATE

class CORE_EXPORT QgsPointCloudRendererConfig
{
public:
Expand Down Expand Up @@ -60,6 +63,8 @@ class CORE_EXPORT QgsPointCloudRendererConfig
std::unique_ptr<QgsColorRamp> mColorRamp;
};

///@endcond
#endif

/**
* \ingroup core
Expand Down

0 comments on commit 40ff712

Please sign in to comment.