Template Class PropertyMap
Defined in File Properties.h
Class Documentation
-
template<typename HandleT>
class PropertyMap map between identical properties from different containers
Semantics: Copy from property ‘in’ to property ‘out’. The properties may be from different meshes. output_mesh.property_out[index_out] = input_mesh.property_in[index_in]
becomes: property_map.add(input_mesh.property_in, output_mesh.property_out); property_map.copy(index_in, index_out);
- Template Parameters:
HandleT – type of the handle used by the properties
Public Functions
-
inline void add(const BasePropertyArray *in, BasePropertyArray *out)
Add two properties of the same type to the map.
- Parameters:
in – The property to copy from
out – The property to copy to