CSphericalGraph Class Reference

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

+ Inheritance diagram for CSphericalGraph:

Public Member Functions

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 ()
 
virtual CSGNodegetNewNode ()
 
CSGNodegetNode (int nIndex)
 
std::vector< int > * getNodeAdjacency (int nIndex)
 
TNodeListgetNodes ()
 
CSphericalGraphoperator= (CSphericalGraph const &rhs)
 
virtual bool read (std::istream &infile)
 
virtual bool readEdge (std::istream &infile)
 
virtual bool readNode (std::istream &infile)
 
virtual bool write (std::ostream &outfile)
 
virtual bool writeEdge (std::ostream &outfile, int e)
 
virtual bool writeNode (std::ostream &outfile, int n)
 
virtual ~CSphericalGraph ()
 

Protected Attributes

TEdgeList m_Edges
 
std::vector< int > m_NodeAdjacency [MAX_NODES]
 
TNodeList m_Nodes
 

Detailed Description

Definition at line 93 of file SphericalGraph.h.

Constructor & Destructor Documentation

◆ CSphericalGraph() [1/2]

Definition at line 20 of file SphericalGraph.cpp.

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

◆ CSphericalGraph() [2/2]

CSphericalGraph ( const CSphericalGraph prototype)

Definition at line 25 of file SphericalGraph.cpp.

◆ ~CSphericalGraph()

~CSphericalGraph ( )
virtual

Definition at line 30 of file SphericalGraph.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ addEdge() [1/2]

int addEdge ( int  nIndex1,
int  nIndex2 
)

Definition at line 105 of file SphericalGraph.cpp.

+ Here is the caller graph for this function:

◆ addEdge() [2/2]

int addEdge ( int  nIndex1,
int  nIndex2,
int  nLeftFace,
int  nRightFace 
)

Definition at line 110 of file SphericalGraph.cpp.

+ Here is the call graph for this function:

◆ addNode()

int addNode ( CSGNode pNode)

Definition at line 96 of file SphericalGraph.cpp.

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

◆ addNodeAdjacency()

void addNodeAdjacency ( int  nNode,
int  nAdjacency 
)

Definition at line 130 of file SphericalGraph.cpp.

+ Here is the caller graph for this function:

◆ clear()

void clear ( )

Definition at line 67 of file SphericalGraph.cpp.

+ Here is the caller graph for this function:

◆ getEdge()

CSGEdge * getEdge ( int  nEdgeIndex)

Definition at line 167 of file SphericalGraph.cpp.

◆ getEdges()

TEdgeList * getEdges ( )

Definition at line 157 of file SphericalGraph.cpp.

+ Here is the caller graph for this function:

◆ getNewNode()

virtual CSGNode* getNewNode ( )
inlinevirtual

Reimplemented in CIntensityGraph.

Definition at line 103 of file SphericalGraph.h.

+ Here is the caller graph for this function:

◆ getNode()

CSGNode * getNode ( int  nIndex)

Definition at line 172 of file SphericalGraph.cpp.

+ Here is the caller graph for this function:

◆ getNodeAdjacency()

std::vector< int > * getNodeAdjacency ( int  nIndex)

Definition at line 177 of file SphericalGraph.cpp.

+ Here is the caller graph for this function:

◆ getNodes()

TNodeList * getNodes ( )

Definition at line 162 of file SphericalGraph.cpp.

+ Here is the caller graph for this function:

◆ operator=()

CSphericalGraph & operator= ( CSphericalGraph const &  rhs)

Definition at line 35 of file SphericalGraph.cpp.

+ Here is the call graph for this function:

◆ read()

bool read ( std::istream &  infile)
virtual

Reimplemented in CIntensityGraph.

Definition at line 185 of file SphericalGraph.cpp.

+ Here is the call graph for this function:

◆ readEdge()

bool readEdge ( std::istream &  infile)
virtual

Reimplemented in CIntensityGraph.

Definition at line 243 of file SphericalGraph.cpp.

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

◆ readNode()

bool readNode ( std::istream &  infile)
virtual

Reimplemented in CIntensityGraph.

Definition at line 219 of file SphericalGraph.cpp.

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

◆ write()

bool write ( std::ostream &  outfile)
virtual

Reimplemented in CIntensityGraph.

Definition at line 258 of file SphericalGraph.cpp.

+ Here is the call graph for this function:

◆ writeEdge()

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

Reimplemented in CIntensityGraph.

Definition at line 303 of file SphericalGraph.cpp.

+ Here is the caller graph for this function:

◆ writeNode()

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

Reimplemented in CIntensityGraph.

Definition at line 291 of file SphericalGraph.cpp.

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

Member Data Documentation

◆ m_Edges

TEdgeList m_Edges
protected

Definition at line 153 of file SphericalGraph.h.

◆ m_NodeAdjacency

std::vector<int> m_NodeAdjacency[MAX_NODES]
protected

Definition at line 155 of file SphericalGraph.h.

◆ m_Nodes

TNodeList m_Nodes
protected

Definition at line 154 of file SphericalGraph.h.


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