cesium-native 0.43.0
|
#include <CesiumGltf/AccessorUtility.h>
Public Member Functions | |
int64_t | operator() (const AccessorView< float > &value) |
Attempts to obtain a feature ID from an AccessorView over float values, returning the float value rounded to the nearest int64_t . | |
template<typename T > | |
int64_t | operator() (const AccessorView< T > &value) |
Attempts to obtain a feature ID from an AccessorView. | |
Public Attributes | |
int64_t | index |
The index of the vertex whose feature ID is being queried. | |
Visitor that retrieves the feature ID from the given accessor type as an int64_t. This should be initialized with the index of the vertex whose feature ID is being queried.
-1 is used to indicate errors retrieving the feature ID, e.g., if the given index was out-of-bounds.
Definition at line 115 of file AccessorUtility.h.
|
inline |
Attempts to obtain a feature ID from an AccessorView over float values, returning the float value rounded to the nearest int64_t
.
Definition at line 119 of file AccessorUtility.h.
|
inline |
Attempts to obtain a feature ID from an AccessorView.
Definition at line 127 of file AccessorUtility.h.
int64_t CesiumGltf::FeatureIdFromAccessor::index |
The index of the vertex whose feature ID is being queried.
Definition at line 135 of file AccessorUtility.h.