PhasicFlow
v0.1
www.cemf.ir
selectBox.hpp
Go to the documentation of this file.
1
/*------------------------------- phasicFlow ---------------------------------
2
O C enter of
3
O O E ngineering and
4
O O M ultiscale modeling of
5
OOOOOOO F luid flow
6
------------------------------------------------------------------------------
7
Copyright (C): www.cemf.ir
8
email: hamid.r.norouzi AT gmail.com
9
------------------------------------------------------------------------------
10
Licence:
11
This file is part of phasicFlow code. It is a free software for simulating
12
granular and multiphase flows. You can redistribute it and/or modify it under
13
the terms of GNU General Public License v3 or any other later versions.
14
15
phasicFlow is distributed to help others in their research in the field of
16
granular and multiphase flows, but WITHOUT ANY WARRANTY; without even the
17
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18
19
-----------------------------------------------------------------------------*/
20
21
22
#ifndef __selectBox_hpp__
23
#define __selectBox_hpp__
24
25
#include "
pStructSelector.hpp
"
26
#include "
pointStructure.hpp
"
27
#include "
box.hpp
"
28
29
30
namespace
pFlow
31
{
32
33
class
dictionary;
34
35
class
selectBox
36
:
37
public
pStructSelector
38
{
39
protected
:
40
41
int32Vector
selectedPoints_
;
42
43
box
box_
;
44
45
void
selectAllPointsInBox
();
46
47
public
:
48
49
// - type info
50
TypeInfo
(
"selectBox"
);
51
52
53
selectBox
(
const
pointStructure
&
pStruct
,
const
dictionary
& dict);
54
55
add_vCtor
56
(
57
pStructSelector
,
58
selectBox
,
59
dictionary
60
);
61
62
virtual
~selectBox
() =
default
;
63
65
66
virtual
const
int32Vector
&
selectedPoinsts
()
const override
67
{
68
return
selectedPoints_
;
69
}
70
71
virtual
int32Vector
&
selectedPoinsts
()
override
72
{
73
return
selectedPoints_
;
74
}
75
76
};
77
78
}
// pFlow
79
80
81
#endif //__pStructSelector_hpp__
pFlow::selectBox::selectedPoinsts
virtual const int32Vector & selectedPoinsts() const override
Definition:
selectBox.hpp:66
pFlow::selectBox::box_
box box_
Definition:
selectBox.hpp:43
pFlow::selectBox
Definition:
selectBox.hpp:35
box.hpp
pFlow::selectBox::selectedPoints_
int32Vector selectedPoints_
Definition:
selectBox.hpp:41
pFlow
Definition:
demComponent.hpp:28
pStructSelector.hpp
pFlow::selectBox::TypeInfo
TypeInfo("selectBox")
pFlow::pointStructure
Definition:
pointStructure.hpp:44
pFlow::selectBox::selectBox
selectBox(const pointStructure &pStruct, const dictionary &dict)
Definition:
selectBox.cpp:43
pFlow::pStructSelector::pStruct
const pointStructure & pStruct() const
Definition:
pStructSelector.cpp:35
pFlow::selectBox::~selectBox
virtual ~selectBox()=default
pFlow::pStructSelector
Definition:
pStructSelector.hpp:36
pFlow::box
Definition:
box.hpp:32
pFlow::selectBox::selectedPoinsts
virtual int32Vector & selectedPoinsts() override
Definition:
selectBox.hpp:71
pFlow::selectBox::add_vCtor
add_vCtor(pStructSelector, selectBox, dictionary)
pFlow::Vector< int32 >
pointStructure.hpp
pFlow::selectBox::selectAllPointsInBox
void selectAllPointsInBox()
Definition:
selectBox.cpp:25
pFlow::dictionary
Definition:
dictionary.hpp:38
src
phasicFlow
structuredData
pointStructure
selectors
selectBox
selectBox.hpp
Generated by
1.8.17