|
|
| Style (const fVector3 *color=NULL, const bool &visible=true, uint32_t flags=STYLE_VISIBLE, ColorMapper *cmap=NULL) |
| |
| | Style (const std::string &color, const bool &visible=true, uint32_t flags=STYLE_VISIBLE, ColorMapper *cmap=NULL) |
| | Construct a new style.
|
| |
|
| Style (const Style &other) |
| |
|
int | init (const fVector3 *color=NULL, const bool &visible=true, uint32_t flags=STYLE_VISIBLE, ColorMapper *cmap=NULL) |
| |
| HRESULT | setColor (const std::string &colorName) |
| | Set the color by name.
|
| |
|
HRESULT | setFlag (StyleFlags flag, bool value) |
| | Set a style flag.
|
| |
|
fVector4 | map_color (struct Particle *p) |
| | Map a particle to a color.
|
| |
|
fVector4 | map_color (struct Angle *a) |
| | Map an angle to a color.
|
| |
|
fVector4 | map_color (struct Bond *b) |
| | Map a bond to a color.
|
| |
|
fVector4 | map_color (struct Dihedral *d) |
| | Map a dihedral to a color.
|
| |
|
const bool | getVisible () const |
| | Test whether visible.
|
| |
|
void | setVisible (const bool &visible) |
| | Set whether visible.
|
| |
|
std::string | getColorMap () const |
| | Get the name of the color map, if any.
|
| |
|
ColorMapper * | getColorMapper () const |
| | Get the color mapper, if any.
|
| |
|
void | setColorMap (const std::string &colorMap) |
| | Create a color mapper by name.
|
| |
|
void | setColorMapper (ColorMapper *cmap) |
| | Set the color mapper.
|
| |
| std::string | toString () |
| | Get a JSON string representation.
|
| |
The Tissue Forge style type.