#include <Options.h>
Inheritance diagram for Teddy::MixIn::Options:
Public Methods | |
Options () | |
Options constructor. More... | |
Options (const unsigned long options) | |
Options constructor. More... | |
virtual | ~Options () |
void | setOptions (const unsigned long options) |
Set flags. More... | |
unsigned long | getOptions () const |
Get render options flags. More... | |
unsigned long | operator & (const Options &other) |
unsigned long | operator| (const Options &other) |
Options & | operator &= (const Options &other) |
Options & | operator|= (const Options &other) |
Options & | operator^= (const Options &other) |
void | enable (const unsigned long options) |
Enable Flags. More... | |
void | disable (const unsigned long options) |
Disable flags. More... | |
void | toggle (const unsigned long options) |
Toggle options. More... | |
bool | isEnabled (const unsigned long options) |
Return true if all selected options are enabled. More... | |
const char * | isEnabledStr (const unsigned long options) |
bool | isDisabled (const unsigned long options) |
Return true if all selected options are disabled. More... | |
Protected Attributes | |
unsigned long | options |
Definition at line 34 of file Options.h.
|
Options constructor.
Definition at line 33 of file Options.cpp. References options. |
|
Options constructor.
Definition at line 39 of file Options.cpp. References options. |
|
Definition at line 44 of file Options.cpp. |
|
Disable flags.
Definition at line 67 of file Options.cpp. References options. Referenced by Teddy::Behaviour::Control::clear, Teddy::Behaviour::Control::less, Teddy::Behaviour::Control::more, Teddy::Models::Vertex::normNormal, Teddy::PhysicalComponents::Projection::pickState, Teddy::Models::Vertex::setColor, Teddy::Models::Vertex::setNormal, Teddy::Models::Vertex::setTexture, Teddy::Models::Vertex::setVertex, Teddy::Models::Face::smooth, and Teddy::Behaviour::Control::stop. |
|
|
Get render options flags.
Definition at line 55 of file Options.cpp. References options. |
|
Return true if all selected options are disabled.
Definition at line 126 of file Options.cpp. References options. Referenced by Teddy::Behaviour::Control::dampen, Teddy::Models::Vertex::normNormal, Teddy::Models::Face::smooth, Teddy::Behaviour::Control::stop, Teddy::Behaviour::Control::tick, and Teddy::Graphics::View::View. |
|
|
Definition at line 116 of file Options.cpp. |
|
Definition at line 78 of file Options.cpp. References options. |
|
Definition at line 88 of file Options.cpp. References options. |
|
Definition at line 100 of file Options.cpp. References options. |
|
Definition at line 83 of file Options.cpp. References options. |
|
Definition at line 94 of file Options.cpp. References options. |
|
Set flags.
Definition at line 49 of file Options.cpp. References options. |
|
Toggle options.
Definition at line 73 of file Options.cpp. References options. |
|
Definition at line 55 of file Options.h. Referenced by Teddy::Materials::Material::copy, disable, enable, getOptions, isDisabled, isEnabled, isEnabledStr, Teddy::Imports::LWModel::LWModel, operator &, operator &=, operator^=, operator|, operator|=, Options, Teddy::PhysicalComponents::Projection::Projection, setOptions, Teddy::Graphics::Texture::Texture, and toggle. |