MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / getProperty

Method getProperty

extern/happly/happly.h:923–930  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

921 */
922 template <class T>
923 std::vector<T> getProperty(const std::string& propertyName) {
924
925 // Find the property
926 std::unique_ptr<Property>& prop = getPropertyPtr(propertyName);
927
928 // Get a copy of the data with auto-promoting type magic
929 return getDataFromPropertyRecursive<T, T>(prop.get());
930 }
931
932 /**
933 * @brief Get a vector of a data from a property for this element. Unlike getProperty(), only returns if the ply

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected