5#ifndef VP1GEOMETRYSYSTEMS_GEOVISATTRIBUTES_H
6#define VP1GEOMETRYSYSTEMS_GEOVISATTRIBUTES_H
29 SoMaterial *
get(
const std::string & name)
const;
34 QByteArray
getState(
bool onlyChangedMaterials=
true);
40 void add(
const std::string & name, SoMaterial *);
43 void setColorFromRGB(SoMaterial* mat,
const std::string&
type,
const int r,
const int g,
const int b);
float getValFromRGB(const int rgb)
VisAttributes & operator=(const VisAttributes &)=delete
void add(const std::string &name, SoMaterial *)
QByteArray getState(bool onlyChangedMaterials=true)
SoMaterial * get(const std::string &name) const
void setColorFromRGB(SoMaterial *mat, const std::string &type, const int r, const int g, const int b)
void applyState(QByteArray)
VisAttributes(const VisAttributes &)=delete
void overrideTransparencies(float transpfact)