|
typedef
MFM::AbstractElement_Xtal< CC >
::XtalSites | XtalSites |
|
enum | { R = P::EVENT_WINDOW_RADIUS,
SITES = EVENT_WINDOW_SITES(R),
BITS = P::BITS_PER_ATOM,
XTAL_FIRST_FREE_POS = P3Atom<P>::P3_STATE_BITS_POS
} |
|
typedef CC::ATOM_TYPE | T |
|
typedef CC::PARAM_CONFIG | P |
|
typedef BitVector< SITES > | XtalSites |
|
|
virtual const T & | GetDefaultAtom () const |
|
virtual u32 | GetSymI (T &atom, EventWindow< CC > &window) const |
|
virtual u32 | DefaultPhysicsColor () const |
|
virtual u32 | DefaultLowlightColor () const |
|
virtual u32 | LocalPhysicsColor (const T &atom, u32 selector) const |
|
virtual bool | IsSameXtal (T &self, const T &otherAtom, EventWindow< CC > &window) const |
|
virtual void | GetSites (T &atom, XtalSites &sites, EventWindow< CC > &window) const |
|
| AbstractElement_Xtal (const UUID &uuid) |
|
virtual u32 | Diffusability (EventWindow< CC > &ew, SPoint nowAt, SPoint maybeAt) const |
|
virtual u32 | PercentMovable (const T &you, const T &me, const SPoint &offset) const |
|
bool | IsAbstractXtalType (EventWindow< CC > &window, u32 type) const |
|
virtual void | Behavior (EventWindow< CC > &window) const |
|
| Element (const UUID &uuid) |
|
void | AllocateType () |
|
u32 | GetType () const |
|
const char * | GetAtomicSymbol () const |
|
const char * | GetName () const |
|
virtual void | AppendDescription (const T *atom, OString64 &desc) const |
|
bool | IsType (u32 type) const |
|
const UUID & | GetUUID () const |
|
virtual u32 | PhysicsColor () const |
|
virtual const char * | GetDescription () const |
|
void | ToggleLowlightPhysicsColor () |
|
u32 | NoDiffusability (EventWindow< CC > &ew, SPoint nowAt, SPoint maybeAt) const |
|
const ElementParameters< CC > & | GetElementParameters () const |
|
ElementParameters< CC > & | GetElementParameters () |
|
const AtomicParameters< CC > & | GetAtomicParameters () const |
|
AtomicParameters< CC > & | GetAtomicParameters () |
|
|
static const u32 | TYPE () |
|
static u32 | GetIndex (const SPoint coord) |
|
static bool | ReadBit (const XtalSites &sites, const SPoint coord) |
|
static void | WriteBit (XtalSites &sites, const SPoint coord, bool val) |
|
Gets the 32-bit ARGB formatted color that all Atoms of this Element will be drawn with when they have lowlight drawing enabled.
- Returns
- The lowlight color to draw all Atoms of this Element with.
Reimplemented from MFM::Element< CC >.
Gets the 32-bit ARGB formatted color that all Atoms of this Element will be drawn with.
- Returns
- The 32-bit ARGB formatted color that all Atoms of this Element will be drawn with.
Implements MFM::Element< CC >.
Used during rendering, will select a color for any Atom of this Element to be rendered with. This should be overridden if wanting to use a gradient or some other variable color based on the body of the specified Atom .
- Parameters
-
atom | The Atom of this element of which to find a color for. |
selector | An additional argument which may be used to determine the color of which to render atom |
- Returns
- The 32-bit ARGB color of which to render
atom
with.
Reimplemented from MFM::Element< CC >.
The documentation for this class was generated from the following file: