chrono::geometry::ChProperty Class Referenceabstract


Base class for properties to attach to vertexes or particles etc.

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. These properties 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 render as falsecolor in Blender or similar tools.

#include <ChProperty.h>

Inheritance diagram for chrono::geometry::ChProperty:

Public Member Functions

virtual ChPropertyclone ()=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 &marchive)
 Method to allow serialization of transient data to archives.
virtual void ArchiveIn (ChArchiveIn &marchive)
 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 file:
  • /builds/uwsbel/chrono/src/chrono/geometry/ChProperty.h