chrono::ChProperty Class Referenceabstract
Description
Base class for properties to attach to vertices or particles as arrays of data.
These properties are virtual classes so that one can store a list of them in a triangle mesh, or a particle cluster, or a glyph array. They are particularly useful for storing data that later must be used in postprocessing, for example a scalar property could be the temperature of particles to be rendered as falsecolor.
#include <ChProperty.h>
Inheritance diagram for chrono::ChProperty:
Public Member Functions | |
virtual ChProperty * | clone ()=0 |
virtual size_t | GetSize ()=0 |
Get current size of data array. | |
virtual void | SetSize (const size_t msize)=0 |
Resize data array to some amount. All internal data will be reset. | |
virtual void | ArchiveOut (ChArchiveOut &archive_out) |
Method to allow serialization of transient data to archives. | |
virtual void | ArchiveIn (ChArchiveIn &archive_in) |
Method to allow de-serialization of transient data from archives. | |
Public Attributes | |
std::string | name |
name of this property | |
The documentation for this class was generated from the following files:
- /builds/uwsbel/chrono/src/chrono/geometry/ChProperty.h
- /builds/uwsbel/chrono/src/chrono/geometry/ChProperty.cpp