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 105 of file SphericalGraph.h.

Constructor & Destructor Documentation

◆ CSphericalGraph() [1/2]

Definition at line 21 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 26 of file SphericalGraph.cpp.

◆ ~CSphericalGraph()

~CSphericalGraph ( )
virtual

Definition at line 31 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 109 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 115 of file SphericalGraph.cpp.

+ Here is the call graph for this function:

◆ addNode()

int addNode ( CSGNode pNode)

Definition at line 99 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 136 of file SphericalGraph.cpp.

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

◆ clear()

void clear ( )

Definition at line 69 of file SphericalGraph.cpp.

+ Here is the caller graph for this function:

◆ getEdge()

CSGEdge * getEdge ( int  nEdgeIndex)

Definition at line 176 of file SphericalGraph.cpp.

◆ getEdges()

TEdgeList * getEdges ( )

Definition at line 164 of file SphericalGraph.cpp.

+ Here is the caller graph for this function:

◆ getNewNode()

virtual CSGNode* getNewNode ( )
inlinevirtual

Reimplemented in CIntensityGraph.

Definition at line 117 of file SphericalGraph.h.

+ Here is the caller graph for this function:

◆ getNode()

CSGNode * getNode ( int  nIndex)

Definition at line 182 of file SphericalGraph.cpp.

+ Here is the caller graph for this function:

◆ getNodeAdjacency()

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

Definition at line 188 of file SphericalGraph.cpp.

+ Here is the caller graph for this function:

◆ getNodes()

TNodeList * getNodes ( )

Definition at line 170 of file SphericalGraph.cpp.

+ Here is the caller graph for this function:

◆ operator=()

CSphericalGraph & operator= ( CSphericalGraph const &  rhs)

Definition at line 37 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 197 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 254 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 231 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 269 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 315 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 302 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 166 of file SphericalGraph.h.

◆ m_NodeAdjacency

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

Definition at line 168 of file SphericalGraph.h.

◆ m_Nodes

TNodeList m_Nodes
protected

Definition at line 167 of file SphericalGraph.h.


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