![]() |
Inviwo 0.9.12-pre
Inviwo documentation
|
#include <inviwo/core/datastructures/data.h>
Concept for ensuring that D is an instance of the Data class that TRAMrep is a RAM representation of D as well.
Usage:
template <DataType T, RepresentationOf<T> TRAMrep>
std::shared_ptr<T> createFromRAMRepresentation(std::shared_ptr<TRAMrep> ramRep) {
return std::make_shared<T>(ramRep);
}