MVE - Multi-View Environment mve-devel
Loading...
Searching...
No Matches
view_selection.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2015, Ronny Klowsky, Simon Fuhrmann
3 * TU Darmstadt - Graphics, Capture and Massively Parallel Computing
4 * All rights reserved.
5 *
6 * This software may be modified and distributed under the terms
7 * of the BSD 3-Clause license. See the LICENSE.txt file for details.
8 */
9
10#ifndef DMRECON_VIEW_SELECTION_H
11#define DMRECON_VIEW_SELECTION_H
12
13#include <memory>
14
15#include "dmrecon/defines.h"
16#include "dmrecon/settings.h"
17
19
21{
22public:
23 typedef std::shared_ptr<ViewSelection> Ptr;
24
26 ViewSelection(Settings const& settings);
27
28public:
29 IndexSet const& getSelectedIDs() const;
30
31protected:
33 std::vector<bool> available;
35};
36
37
38inline
39ViewSelection::ViewSelection(Settings const& settings)
40 :
41 settings(settings)
42{
43}
44
45inline IndexSet const&
47{
48 return selected;
49}
50
52
53#endif
std::shared_ptr< ViewSelection > Ptr
Settings const & settings
IndexSet const & getSelectedIDs() const
std::vector< bool > available
#define MVS_NAMESPACE_BEGIN
Definition defines.h:18
#define MVS_NAMESPACE_END
Definition defines.h:19
std::set< std::size_t > IndexSet
Definition defines.h:24