|
nsol
0.4.1
Nsol - Neuroscience Objects Library
|
Using this class with SectionCachedStats allows to dirty cached section stats when node's radius or point values change. More...
#include <NodeCached.h>
Inheritance diagram for nsol::NodeCached:
Collaboration diagram for nsol::NodeCached:Public Member Functions | |
| NodeCached (const Vec3f &point_=Vec3f(0, 0, 0), const int &id_=0, const float &radius_=0.0f) | |
| virtual void | setAndPropagateDirty (unsigned int id) |
| virtual void | setAndPropagateDirty (void) |
| virtual void | radius (const float radius) |
| virtual void | point (const Vec3f &point) |
Public Member Functions inherited from nsol::Node | |
| Node (const Vec3f &initPoint=Vec3f(0, 0, 0), const int &initId=0, const float &initRadius=0.0f) | |
| Vec3f | point (void) const |
| float | radius (void) const |
| virtual void | id (const int id_) |
| Set the node id. More... | |
| int | id (void) const |
| Get the node id. More... | |
| virtual NodePtr | clone (void) const |
| bool | operator== (const Node &other) const |
| bool | operator!= (const Node &other) const |
| virtual NodePtr | asNode (void) |
Public Member Functions inherited from nsol::Object | |
| virtual ColumnPtr | asColumn (void) |
| virtual MiniColumnPtr | asMiniColumn (void) |
| virtual NeuronPtr | asNeuron (void) |
| virtual NeuronMorphologyPtr | asNeuronMorphology (void) |
| virtual SectionPtr | asSection (void) |
| virtual ObjectWithProperties * | properties (void) |
| virtual ObjectPtr | create (void) |
Public Member Functions inherited from nsol::Cached<> | |
| bool | dirty (unsigned int id_) const |
| void | setDirty (unsigned int id_) |
| void | setDirty (void) |
| void | cacheValue (const unsigned int id_, floatvalue_) const |
| float | getValue (const unsigned int id_) const |
Additional Inherited Members | |
Protected Attributes inherited from nsol::Node | |
| Vec3f | _point |
| float | _radius |
| int | _id |
Protected Attributes inherited from nsol::Cached<> | |
| std::map< unsigned int, float > | _values |
| Container of the cached values. Is mutable to allow const methods to modify the cache if needed. | |
Using this class with SectionCachedStats allows to dirty cached section stats when node's radius or point values change.
Example:
Definition at line 41 of file NodeCached.h.