ug4
ug::MarkerPointManager Class Reference

#include <marker_points.h>

Public Member Functions

void add_marker ()
 
void add_marker (const MarkerPoint &marker)
 
void add_markers (size_t num=1)
 
void clear ()
 
MarkerPoint const * get_array ()
 
MarkerPointget_marker (size_t index)
 
const MarkerPointget_marker (size_t index) const
 
size_t num_markers () const
 
void set_marker (size_t index, const MarkerPoint &marker)
 

Protected Attributes

std::vector< MarkerPointm_markers
 

Detailed Description

the marker point manager handles a group of marker points.

Member Function Documentation

◆ add_marker() [1/2]

void ug::MarkerPointManager::add_marker ( )
inline

References m_markers.

Referenced by ug::LoadMarkerPointsFromFile().

◆ add_marker() [2/2]

void ug::MarkerPointManager::add_marker ( const MarkerPoint marker)
inline

References m_markers.

◆ add_markers()

void ug::MarkerPointManager::add_markers ( size_t  num = 1)
inline

References m_markers.

◆ clear()

void ug::MarkerPointManager::clear ( )
inline

References m_markers.

◆ get_array()

MarkerPoint const* ug::MarkerPointManager::get_array ( )
inline

References m_markers.

◆ get_marker() [1/2]

MarkerPoint& ug::MarkerPointManager::get_marker ( size_t  index)
inline

References m_markers.

Referenced by ug::SeparateRegions().

◆ get_marker() [2/2]

const MarkerPoint& ug::MarkerPointManager::get_marker ( size_t  index) const
inline

References m_markers.

◆ num_markers()

size_t ug::MarkerPointManager::num_markers ( ) const
inline

References m_markers.

Referenced by ug::SeparateRegions().

◆ set_marker()

void ug::MarkerPointManager::set_marker ( size_t  index,
const MarkerPoint marker 
)
inline

References m_markers.

Member Data Documentation

◆ m_markers

std::vector<MarkerPoint> ug::MarkerPointManager::m_markers
protected

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