3D Forest
Software for analysis of Lidar data from forest environment.
SettingsView Class Reference

#include <SettingsView.hpp>

Public Types

enum class  ColorSource {
  COLOR , INTENSITY , RETURN_NUMBER , NUMBER_OF_RETURNS ,
  CLASSIFICATION , SEGMENT , ELEVATION , DESCRIPTOR ,
  UNKNOWN
}
 

Public Member Functions

 SettingsView ()
 
double pointSize () const
 
void setPointSize (double size)
 
const Vector3< double > & pointColor () const
 
void setPointColor (const Vector3< double > &rgb)
 
const Vector3< double > & backgroundColor () const
 
void setBackgroundColor (const Vector3< double > &rgb)
 
SettingsView::ColorSource colorSource () const
 
void setColorSource (SettingsView::ColorSource colorSource)
 
size_t colorSourceSize () const
 
const char * colorSourceString (size_t idx) const
 
bool distanceBasedFadingVisible () const
 
void setDistanceBasedFadingVisible (bool b)
 
bool sceneBoundingBoxVisible () const
 
void setSceneBoundingBoxVisible (bool b)
 
bool treeAttributesVisible () const
 
void setTreeAttributesVisible (bool b)
 

Protected Attributes

double pointSize_
 
Vector3< double > pointColor_
 
Vector3< double > backgroundColor_
 
SettingsView::ColorSource colorSource_
 
bool distanceBasedFadingVisible_
 
bool sceneBoundingBoxVisible_
 
bool treeAttributesVisible_
 
std::vector< std::string > colorSourceString_
 

Friends

void fromJson (SettingsView &out, const Json &in)
 
void toJson (Json &out, const SettingsView &in)
 

Member Enumeration Documentation

◆ ColorSource

enum class SettingsView::ColorSource
strong
Enumerator
COLOR 
INTENSITY 
RETURN_NUMBER 
NUMBER_OF_RETURNS 
CLASSIFICATION 
SEGMENT 
ELEVATION 
DESCRIPTOR 
UNKNOWN 

Constructor & Destructor Documentation

◆ SettingsView()

SettingsView::SettingsView ( )

Member Function Documentation

◆ backgroundColor()

const Vector3< double > & SettingsView::backgroundColor ( ) const
inline

◆ colorSource()

◆ colorSourceSize()

size_t SettingsView::colorSourceSize ( ) const

◆ colorSourceString()

const char * SettingsView::colorSourceString ( size_t idx) const

◆ distanceBasedFadingVisible()

◆ pointColor()

const Vector3< double > & SettingsView::pointColor ( ) const
inline

◆ pointSize()

double SettingsView::pointSize ( ) const

◆ sceneBoundingBoxVisible()

bool SettingsView::sceneBoundingBoxVisible ( ) const

◆ setBackgroundColor()

void SettingsView::setBackgroundColor ( const Vector3< double > & rgb)

◆ setColorSource()

void SettingsView::setColorSource ( SettingsView::ColorSource colorSource)

◆ setDistanceBasedFadingVisible()

void SettingsView::setDistanceBasedFadingVisible ( bool b)

◆ setPointColor()

void SettingsView::setPointColor ( const Vector3< double > & rgb)

◆ setPointSize()

void SettingsView::setPointSize ( double size)

◆ setSceneBoundingBoxVisible()

void SettingsView::setSceneBoundingBoxVisible ( bool b)

◆ setTreeAttributesVisible()

void SettingsView::setTreeAttributesVisible ( bool b)

◆ treeAttributesVisible()

Friends And Related Symbol Documentation

◆ fromJson

void fromJson ( SettingsView & out,
const Json & in )
friend

◆ toJson

void toJson ( Json & out,
const SettingsView & in )
friend

Member Data Documentation

◆ backgroundColor_

Vector3<double> SettingsView::backgroundColor_
protected

Referenced by setBackgroundColor().

◆ colorSource_

SettingsView::ColorSource SettingsView::colorSource_
protected

Referenced by colorSource(), and setColorSource().

◆ colorSourceString_

std::vector<std::string> SettingsView::colorSourceString_
protected

◆ distanceBasedFadingVisible_

bool SettingsView::distanceBasedFadingVisible_
protected

◆ pointColor_

Vector3<double> SettingsView::pointColor_
protected

Referenced by setPointColor().

◆ pointSize_

double SettingsView::pointSize_
protected

Referenced by pointSize(), and setPointSize().

◆ sceneBoundingBoxVisible_

bool SettingsView::sceneBoundingBoxVisible_
protected

◆ treeAttributesVisible_

bool SettingsView::treeAttributesVisible_
protected

The documentation for this class was generated from the following files: