Point Cloud Library (PCL)  1.9.1-dev
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | Friends
pcl::recognition::ORRGraph< NodeData >::Node Class Reference

#include <pcl/recognition/ransac_based/orr_graph.h>

Public Types

enum  State { ON, OFF, UNDEF }
 

Public Member Functions

 Node (int id)
 
virtual ~Node ()
 
const std::set< Node * > & getNeighbors () const
 
const NodeData & getData () const
 
void setData (const NodeData &data)
 
int getId () const
 
void setId (int id)
 
void setFitness (int fitness)
 

Static Public Member Functions

static bool compare (const Node *a, const Node *b)
 

Protected Attributes

std::set< Node * > neighbors_
 
NodeData data_
 
int id_
 
int fitness_
 
State state_
 

Friends

class ORRGraph
 

Detailed Description

template<class NodeData>
class pcl::recognition::ORRGraph< NodeData >::Node

Definition at line 58 of file orr_graph.h.

Member Enumeration Documentation

template<class NodeData>
enum pcl::recognition::ORRGraph::Node::State
Enumerator
ON 
OFF 
UNDEF 

Definition at line 61 of file orr_graph.h.

Constructor & Destructor Documentation

template<class NodeData>
pcl::recognition::ORRGraph< NodeData >::Node::Node ( int  id)
inline

Definition at line 63 of file orr_graph.h.

template<class NodeData>
virtual pcl::recognition::ORRGraph< NodeData >::Node::~Node ( )
inlinevirtual

Definition at line 68 of file orr_graph.h.

Member Function Documentation

template<class NodeData>
static bool pcl::recognition::ORRGraph< NodeData >::Node::compare ( const Node a,
const Node b 
)
inlinestatic
template<class NodeData>
const NodeData& pcl::recognition::ORRGraph< NodeData >::Node::getData ( ) const
inline

Definition at line 77 of file orr_graph.h.

References pcl::recognition::ORRGraph< NodeData >::Node::data_.

template<class NodeData>
int pcl::recognition::ORRGraph< NodeData >::Node::getId ( ) const
inline

Definition at line 89 of file orr_graph.h.

References pcl::recognition::ORRGraph< NodeData >::Node::id_.

template<class NodeData>
const std::set<Node*>& pcl::recognition::ORRGraph< NodeData >::Node::getNeighbors ( ) const
inline
template<class NodeData>
void pcl::recognition::ORRGraph< NodeData >::Node::setData ( const NodeData &  data)
inline

Definition at line 83 of file orr_graph.h.

References pcl::recognition::ORRGraph< NodeData >::Node::data_.

template<class NodeData>
void pcl::recognition::ORRGraph< NodeData >::Node::setFitness ( int  fitness)
inline
template<class NodeData>
void pcl::recognition::ORRGraph< NodeData >::Node::setId ( int  id)
inline

Definition at line 95 of file orr_graph.h.

References pcl::recognition::ORRGraph< NodeData >::Node::id_.

Friends And Related Function Documentation

template<class NodeData>
friend class ORRGraph
friend

Definition at line 112 of file orr_graph.h.

Member Data Documentation

template<class NodeData>
NodeData pcl::recognition::ORRGraph< NodeData >::Node::data_
protected
template<class NodeData>
int pcl::recognition::ORRGraph< NodeData >::Node::fitness_
protected
template<class NodeData>
int pcl::recognition::ORRGraph< NodeData >::Node::id_
protected
template<class NodeData>
std::set<Node*> pcl::recognition::ORRGraph< NodeData >::Node::neighbors_
protected
template<class NodeData>
State pcl::recognition::ORRGraph< NodeData >::Node::state_
protected

Definition at line 119 of file orr_graph.h.


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