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

#include <Viewports.hpp>

Public Member Functions

 Viewports ()
 
 ~Viewports ()
 
size_t size () const
 
void resize (Editor *editor, size_t n)
 
void clearContent ()
 
QueryWherewhere ()
 
const QueryWherewhere () const
 
void applyWhereToAll ()
 
void applyCamera (const std::vector< Camera > &cameraList)
 
void setState (Page::State state)
 
bool nextState ()
 
size_t pageSize (size_t viewport) const
 
Pagepage (size_t viewport, size_t index)
 

Protected Attributes

std::vector< std::shared_ptr< Query > > viewports_
 
size_t activeViewport_
 

Constructor & Destructor Documentation

◆ Viewports()

Viewports::Viewports ( )

◆ ~Viewports()

Viewports::~Viewports ( )

Member Function Documentation

◆ applyCamera()

void Viewports::applyCamera ( const std::vector< Camera > & cameraList)

Referenced by RenderThread::next().

◆ applyWhereToAll()

◆ clearContent()

void Viewports::clearContent ( )

◆ nextState()

bool Viewports::nextState ( )

Referenced by RenderThread::next().

◆ page()

Page & Viewports::page ( size_t viewport,
size_t index )
inline

◆ pageSize()

size_t Viewports::pageSize ( size_t viewport) const
inline

◆ resize()

void Viewports::resize ( Editor * editor,
size_t n )

Referenced by Editor::viewportsResize().

◆ setState()

◆ size()

◆ where() [1/2]

◆ where() [2/2]

const QueryWhere & Viewports::where ( ) const
inline

Member Data Documentation

◆ activeViewport_

size_t Viewports::activeViewport_
protected

Referenced by applyWhereToAll().

◆ viewports_

std::vector<std::shared_ptr<Query> > Viewports::viewports_
protected

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