ItalaApiC  1.3.3
Functions
Selector

Functions

ITALA_API_C ItalaError NODE_SelectorIsSelector (H_NODE hNode, bool *pIsSelector)
 
ITALA_API_C ItalaError NODE_SelectorGetSelectedFeaturesNum (H_NODE hNode, size_t *pNumOfFeatureSelected)
 
ITALA_API_C ItalaError NODE_SelectorGetSelectedFeatureByIndex (H_NODE hNode, size_t index, H_NODE *phFeature)
 
ITALA_API_C ItalaError NODE_SelectorGetSelectingFeaturesNum (H_NODE hNode, size_t *pNumOfFeatureSelecting)
 
ITALA_API_C ItalaError NODE_SelectorGetSelectingFeatureByIndex (H_NODE hNode, size_t index, H_NODE *phFeature)
 

Detailed Description

All the methods related to nodes managed by GenApi.

Function Documentation

◆ NODE_SelectorIsSelector()

ITALA_API_C ItalaError NODE_SelectorIsSelector ( H_NODE  hNode,
bool *  pIsSelector 
)

Check if the node is actually a selector Node.

Parameters
[in]hNodeHandle to Node instance, should be a Selector node.
[out]pIsSelectorRetrieves if node is selector.
Returns
ItalaError the error code; return ItalaErrorSuccess (0) if no errors occures.

◆ NODE_SelectorGetSelectedFeaturesNum()

ITALA_API_C ItalaError NODE_SelectorGetSelectedFeaturesNum ( H_NODE  hNode,
size_t *  pNumOfFeatureSelected 
)

Get the number of selected feature in a selector Node.

Parameters
[in]hNodeHandle to Node instance, should be a Selector node.
[out]pNumOfFeatureSelectedNumber of feature selected.
Returns
ItalaError the error code; return ItalaErrorSuccess (0) if no errors occures.

◆ NODE_SelectorGetSelectedFeatureByIndex()

ITALA_API_C ItalaError NODE_SelectorGetSelectedFeatureByIndex ( H_NODE  hNode,
size_t  index,
H_NODE *  phFeature 
)

Get a selected feature in a selector Node, given a specific index.

Parameters
[in]hNodeHandle to Node instance, should be a Selector node.
[in]indexIndex of the valid value.
[out]phFeatureHandle to feature Node instance.
Returns
ItalaError the error code; return ItalaErrorSuccess (0) if no errors occures.

◆ NODE_SelectorGetSelectingFeaturesNum()

ITALA_API_C ItalaError NODE_SelectorGetSelectingFeaturesNum ( H_NODE  hNode,
size_t *  pNumOfFeatureSelecting 
)

Get the number of selecting feature in a selector Node.

Parameters
[in]hNodeHandle to Node instance, should be a Selector node.
[out]pNumOfFeatureSelectingNumber of feature selecting.
Returns
ItalaError the error code; return ItalaErrorSuccess (0) if no errors occures.

◆ NODE_SelectorGetSelectingFeatureByIndex()

ITALA_API_C ItalaError NODE_SelectorGetSelectingFeatureByIndex ( H_NODE  hNode,
size_t  index,
H_NODE *  phFeature 
)

Get a selecting feature in a selector Node, given a specific index.

Parameters
[in]hNodeHandle to Node instance, should be a Selector node.
[in]indexIndex of the valid value.
[out]phFeatureHandle to feature Node instance.
Returns
ItalaError the error code; return ItalaErrorSuccess (0) if no errors occures.