You are here:
Concepts
>
Concepts Web
>
Class documentation
Class documentation of Concepts
Loading...
Searching...
No Matches
vectorial
graphics.hh
Go to the documentation of this file.
1
6
#ifndef vectorGraphics_hh
7
#define vectorGraphics_hh
8
9
#include "
toolbox/elementGraphics.hh
"
10
11
namespace
vectorial
{
12
13
// ************************************************************** Graphics **
14
18
template
<
typename
F>
19
class
Graphics
:
public
concepts::ElementGraphics
<F> {
20
public
:
21
Graphics
() : idx_(0) {}
26
void
choose
(uint idx) { idx_ = idx; }
28
uint
chosen
()
const
{
return
idx_; }
29
virtual
void
operator()
30
(
const
concepts::Element<F>
& elm,
31
typename
concepts::ElementGraphics<F>::graphicsType type,
32
concepts::CellPostprocess<F>
& post)
const
;
33
protected
:
34
virtual
std::ostream&
info
(std::ostream& os)
const
;
35
private
:
37
uint idx_;
38
};
39
40
}
// namespace vectorial
41
42
#endif
// vectorGraphics_hh
concepts::CellPostprocess
Definition
postProcess.hh:38
concepts::ElementGraphics
Definition
elementGraphics.hh:65
concepts::Element
Definition
element.hh:52
vectorial::Graphics
Definition
graphics.hh:19
vectorial::Graphics::info
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
vectorial::Graphics::choose
void choose(uint idx)
Definition
graphics.hh:26
vectorial::Graphics::chosen
uint chosen() const
Returns index of chosen component.
Definition
graphics.hh:28
vectorial
Definition
spaceTraits.hh:24
elementGraphics.hh
Generated on Wed Sep 13 2023 21:06:20 for Concepts by
1.9.8