14VTK_ABI_NAMESPACE_BEGIN
37 Material *material =
reinterpret_cast<Material *
>(GetObject<Material>({
"material"},
nullptr, &found));
42 geometry->
SetObject(
"material",
reinterpret_cast<Data *
>(material));
54 Data *color =
reinterpret_cast<Data *
>(GetObject<Data>({
"color"},
nullptr, &found));
57 assert(color->GetDataType() ==
RTW_DATA);
GeometricModel(Geometry *_geometry)
void SetMaterial(Material *material)
RTWDataType GetDataType() const
virtual void SetObject(const std::string &id, Object *object)