#include <GCNGraphNode.h>
Definition at line 16 of file GCNGraphNode.h.
cvn::GCNGraphNode::GCNGraphNode |
( |
| ) |
|
Constructor with position and feature vectors.
Definition at line 18 of file GCNGraphNode.cxx.
std::vector< float > fPosition
std::vector< float > fFeatures
Constructor with position, feature and ground truth vectors.
Definition at line 25 of file GCNGraphNode.cxx.
std::vector< float > fPosition
std::vector< float > fGroundTruth
std::vector< float > fFeatures
cvn::GCNGraphNode::~GCNGraphNode |
( |
| ) |
|
|
inline |
void cvn::GCNGraphNode::AddFeature |
( |
float |
feature | ) |
|
Add a node feature.
Definition at line 58 of file GCNGraphNode.cxx.
std::vector< float > fFeatures
void cvn::GCNGraphNode::AddGroundTruth |
( |
float |
truth | ) |
|
Set true ID.
Add ground truth information.
Definition at line 63 of file GCNGraphNode.cxx.
std::vector< float > fGroundTruth
void cvn::GCNGraphNode::AddPositionCoordinate |
( |
float |
pos | ) |
|
Add a node position coordinate.
Definition at line 53 of file GCNGraphNode.cxx.
std::vector< float > fPosition
const float cvn::GCNGraphNode::GetFeature |
( |
const unsigned int |
feature | ) |
const |
Get feature - zero indexed - and returns -999. if feature doesn't exist.
Get feature.
Definition at line 80 of file GCNGraphNode.cxx.
std::vector< float > fFeatures
const std::vector< float > cvn::GCNGraphNode::GetFeatures |
( |
| ) |
const |
Get the node features.
Definition at line 41 of file GCNGraphNode.cxx.
std::vector< float > fFeatures
const std::vector< float > cvn::GCNGraphNode::GetGroundTruth |
( |
| ) |
const |
Get the node truth.
Definition at line 47 of file GCNGraphNode.cxx.
std::vector< float > fGroundTruth
const unsigned int cvn::GCNGraphNode::GetNumberOfCoordinates |
( |
| ) |
const |
Get the number of position coordinates.
Get the number of features.
Definition at line 74 of file GCNGraphNode.cxx.
std::vector< float > fPosition
const unsigned int cvn::GCNGraphNode::GetNumberOfFeatures |
( |
| ) |
const |
Get the number of features.
Definition at line 68 of file GCNGraphNode.cxx.
std::vector< float > fFeatures
const std::vector< float > cvn::GCNGraphNode::GetPosition |
( |
| ) |
const |
Get the node position, features or ground truth.
Get the node position.
Definition at line 35 of file GCNGraphNode.cxx.
std::vector< float > fPosition
The documentation for this class was generated from the following files: