Creating a class using the vertices of an ofMesh object

I am working on something that is essentially a simulation of neurons firing. I have an ofMesh object that represents all of the different points, but I am wondering if there is any way to have each separate neuron represented by a neuron class (so that I can make functions like “fire” or “decay” or something like that). I just can’t think of how it would be done with it already being part of a mesh. Any tips?


I’m thinking the most appropriate way of handling it is creating a “neuron” class that extends ofVec3f, and entering that into my mesh via addVertex(neuron).