Skip to content
Permalink
Browse files

Mark QgsPointCloudRendererConfig as private for now

  • Loading branch information
nyalldawson committed Oct 26, 2020
1 parent 5a71437 commit 40ff7127d0db88fac959fc1682a479de12803c93
@@ -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
{
@@ -24,6 +24,7 @@
#include "qgsstyle.h"
#include "qgscolorramp.h"

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

QgsPointCloudRendererConfig::QgsPointCloudRendererConfig( const QgsPointCloudRendererConfig &other )
@@ -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 )
@@ -33,6 +33,9 @@ class QgsRenderContext;
class QgsPointCloudLayer;


#ifndef SIP_RUN
///@cond PRIVATE

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

///@endcond
#endif

/**
* \ingroup core

0 comments on commit 40ff712

Please sign in to comment.
You can’t perform that action at this time.