| 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 |