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

#include <Classifications.hpp>

Public Member Functions

 Classifications ()
 
void clear ()
 
size_t size () const
 
const std::unordered_set< size_t > & ids () const
 
const std::string & label (size_t i) const
 

Protected Member Functions

void resize (size_t n)
 

Protected Attributes

std::vector< Classificationclasses_
 
std::unordered_set< size_t > ids_
 

Friends

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

Constructor & Destructor Documentation

◆ Classifications()

Classifications::Classifications ( )

Member Function Documentation

◆ clear()

void Classifications::clear ( )

Referenced by Classifications(), and Editor::close().

◆ ids()

const std::unordered_set< size_t > & Classifications::ids ( ) const
inline

◆ label()

const std::string & Classifications::label ( size_t i) const
inline

◆ resize()

void Classifications::resize ( size_t n)
protected

Referenced by clear().

◆ size()

size_t Classifications::size ( ) const
inline

Friends And Related Symbol Documentation

◆ fromJson

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

◆ toJson

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

Member Data Documentation

◆ classes_

std::vector<Classification> Classifications::classes_
protected

Referenced by clear(), and resize().

◆ ids_

std::unordered_set<size_t> Classifications::ids_
protected

Referenced by resize().


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