CIntensityGraph Class Reference

#include <RobotAPI/components/EarlyVisionGraph/IntensityGraph.h>

+ Inheritance diagram for CIntensityGraph:

Public Member Functions

 CIntensityGraph ()
 
 CIntensityGraph (const CIntensityGraph &prototype)
 
 CIntensityGraph (std::string sFileName)
 
CIntensityNodegetNewNode () override
 
void graphToVec (std::vector< float > &vec)
 
CIntensityGraphoperator= (CIntensityGraph const &rhs)
 
bool read (std::istream &infile) override
 
bool readEdge (std::istream &infile) override
 
bool readNode (std::istream &infile) override
 
void reset ()
 
void set (float fIntensity)
 
bool write (std::ostream &outfile) override
 
bool writeEdge (std::ostream &outfile, int e) override
 
bool writeNode (std::ostream &outfile, int n) override
 
 ~CIntensityGraph () override
 
- Public Member Functions inherited from CSphericalGraph
int addEdge (int nIndex1, int nIndex2)
 
int addEdge (int nIndex1, int nIndex2, int nLeftFace, int nRightFace)
 
int addNode (CSGNode *pNode)
 
void addNodeAdjacency (int nNode, int nAdjacency)
 
void clear ()
 
 CSphericalGraph ()
 
 CSphericalGraph (const CSphericalGraph &prototype)
 
CSGEdgegetEdge (int nEdgeIndex)
 
TEdgeListgetEdges ()
 
CSGNodegetNode (int nIndex)
 
std::vector< int > * getNodeAdjacency (int nIndex)
 
TNodeListgetNodes ()
 
CSphericalGraphoperator= (CSphericalGraph const &rhs)
 
virtual ~CSphericalGraph ()
 

Additional Inherited Members

- Protected Attributes inherited from CSphericalGraph
TEdgeList m_Edges
 
std::vector< int > m_NodeAdjacency [MAX_NODES]
 
TNodeList m_Nodes
 

Detailed Description

Definition at line 51 of file IntensityGraph.h.

Constructor & Destructor Documentation

◆ CIntensityGraph() [1/3]

Definition at line 58 of file IntensityGraph.cpp.

+ Here is the call graph for this function:

◆ CIntensityGraph() [2/3]

CIntensityGraph ( const CIntensityGraph prototype)
default

◆ CIntensityGraph() [3/3]

CIntensityGraph ( std::string  sFileName)

Definition at line 85 of file IntensityGraph.cpp.

+ Here is the call graph for this function:

◆ ~CIntensityGraph()

~CIntensityGraph ( )
overridedefault

Member Function Documentation

◆ getNewNode()

CIntensityNode* getNewNode ( )
inlineoverridevirtual

Reimplemented from CSphericalGraph.

Definition at line 79 of file IntensityGraph.h.

+ Here is the caller graph for this function:

◆ graphToVec()

void graphToVec ( std::vector< float > &  vec)

Definition at line 264 of file IntensityGraph.cpp.

+ Here is the call graph for this function:

◆ operator=()

CIntensityGraph & operator= ( CIntensityGraph const &  rhs)

Definition at line 101 of file IntensityGraph.cpp.

+ Here is the call graph for this function:

◆ read()

bool read ( std::istream &  infile)
overridevirtual

Reimplemented from CSphericalGraph.

Definition at line 129 of file IntensityGraph.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ readEdge()

bool readEdge ( std::istream &  infile)
overridevirtual

Reimplemented from CSphericalGraph.

Definition at line 190 of file IntensityGraph.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ readNode()

bool readNode ( std::istream &  infile)
overridevirtual

Reimplemented from CSphericalGraph.

Definition at line 163 of file IntensityGraph.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ reset()

void reset ( )

Definition at line 110 of file IntensityGraph.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ set()

void set ( float  fIntensity)

Definition at line 115 of file IntensityGraph.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ write()

bool write ( std::ostream &  outfile)
overridevirtual

Reimplemented from CSphericalGraph.

Definition at line 205 of file IntensityGraph.cpp.

+ Here is the call graph for this function:

◆ writeEdge()

bool writeEdge ( std::ostream &  outfile,
int  e 
)
overridevirtual

Reimplemented from CSphericalGraph.

Definition at line 251 of file IntensityGraph.cpp.

+ Here is the caller graph for this function:

◆ writeNode()

bool writeNode ( std::ostream &  outfile,
int  n 
)
overridevirtual

Reimplemented from CSphericalGraph.

Definition at line 238 of file IntensityGraph.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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