Scyllarus: C++ Hyperspectral Processing Library
Hyperspectral Image Processing Pipeline
Main Page
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Pages
src
processing
op_node.h
Go to the documentation of this file.
1
/****************************************************************************************
2
* SCYLLARUS : C++ HYPERSPECTRAL PROCESSING LIBRARY
3
* op_node.h - Operation node for arithmetic tree
4
*
5
* This computer code is subject to copyright:
6
* (c) National ICT Australia Limited (NICTA) 2013-2014 All Rights Reserved.
7
*
8
* Jeremy Oorloff, National ICT Australia (NICTA)
9
*
10
***************************************************************************************/
11
12
#ifndef OP_NODE_H_
13
#define OP_NODE_H_
14
15
#include <armadillo>
16
17
namespace
scyl
18
{
19
23
class
op_node
24
{
25
26
public
:
27
28
enum
op_type
29
{
30
MUL
,
31
DIV
,
32
ADD
,
33
SUB
,
34
LES
,
35
GRE
,
36
POW
37
};
38
39
40
op_node
();
41
op_node
(
float
in);
42
op_node
(arma::fmat in);
43
op_node
(
scyl::op_node::op_type
op);
44
virtual
~op_node
();
45
46
scyl::op_node
*
left
;
47
scyl::op_node
*
right
;
48
49
arma::fmat
result
();
50
51
52
private
:
53
54
bool
m_result_set
;
55
arma::fmat
m_result
;
56
scyl::op_node::op_type
m_op
;
57
};
58
59
}
60
61
#endif
/* OP_NODE_H_ */
scyl::op_node::~op_node
virtual ~op_node()
Definition:
op_node.cpp:47
scyl::op_node
op_node is used by band_maths() to perform mathematical operations.
Definition:
op_node.h:23
scyl::op_node::op_node
op_node()
Definition:
op_node.cpp:15
scyl::op_node::result
arma::fmat result()
Definition:
op_node.cpp:54
scyl::op_node::POW
Definition:
op_node.h:36
scyl::op_node::MUL
Definition:
op_node.h:30
scyl::op_node::m_result
arma::fmat m_result
Definition:
op_node.h:55
scyl::op_node::m_op
scyl::op_node::op_type m_op
Definition:
op_node.h:56
scyl::op_node::SUB
Definition:
op_node.h:33
scyl::op_node::ADD
Definition:
op_node.h:32
scyl::op_node::right
scyl::op_node * right
Definition:
op_node.h:47
scyl::op_node::GRE
Definition:
op_node.h:35
scyl::op_node::op_type
op_type
Definition:
op_node.h:28
scyl::op_node::LES
Definition:
op_node.h:34
scyl::op_node::DIV
Definition:
op_node.h:31
scyl::op_node::left
scyl::op_node * left
Definition:
op_node.h:46
scyl::op_node::m_result_set
bool m_result_set
Definition:
op_node.h:54
Generated on Wed Nov 4 2015 09:47:06 for Scyllarus: C++ Hyperspectral Processing Library by
1.8.6