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)
 
CSGEdge * getEdge (int nEdgeIndex)
 
TEdgeList * getEdges ()
 
virtual CSGNode * getNewNode ()
 
CSGNode * getNode (int nIndex)
 
std::vector< int > * getNodeAdjacency (int nIndex)
 
TNodeList * getNodes ()
 
CSphericalGraph & operator= (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
 

Constructor & Destructor Documentation

◆ CSphericalGraph() [1/2]

◆ CSphericalGraph() [2/2]

CSphericalGraph ( const CSphericalGraph & prototype)

◆ ~CSphericalGraph()

~CSphericalGraph ( )
virtual

Member Function Documentation

◆ addEdge() [1/2]

int addEdge ( int nIndex1,
int nIndex2 )

◆ addEdge() [2/2]

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

◆ addNode()

int addNode ( CSGNode * pNode)

◆ addNodeAdjacency()

void addNodeAdjacency ( int nNode,
int nAdjacency )

◆ clear()

void clear ( )

◆ getEdge()

CSGEdge * getEdge ( int nEdgeIndex)

◆ getEdges()

TEdgeList * getEdges ( )

◆ getNewNode()

virtual CSGNode * getNewNode ( )
inlinevirtual

Reimplemented in CIntensityGraph.

◆ getNode()

CSGNode * getNode ( int nIndex)

◆ getNodeAdjacency()

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

◆ getNodes()

TNodeList * getNodes ( )

◆ operator=()

CSphericalGraph & operator= ( CSphericalGraph const & rhs)

◆ read()

bool read ( std::istream & infile)
virtual

Reimplemented in CIntensityGraph.

◆ readEdge()

bool readEdge ( std::istream & infile)
virtual

Reimplemented in CIntensityGraph.

◆ readNode()

bool readNode ( std::istream & infile)
virtual

Reimplemented in CIntensityGraph.

◆ write()

bool write ( std::ostream & outfile)
virtual

Reimplemented in CIntensityGraph.

◆ writeEdge()

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

Reimplemented in CIntensityGraph.

◆ writeNode()

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

Reimplemented in CIntensityGraph.

Member Data Documentation

◆ m_Edges

TEdgeList m_Edges
protected

◆ m_NodeAdjacency

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

◆ m_Nodes

TNodeList m_Nodes
protected

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