|
#include <VTKData.h>
Public Member Functions | |
VTKPointDescriptor () | |
~VTKPointDescriptor () | |
template<typename DATATYPE > | |
std::enable_if< std::is_array< DATATYPE >::value, VTKPointDescriptor & >::type | addProperty (std::string name, DATATYPE T::*m, bool isPrimary=false) |
template<typename DATATYPE > | |
std::enable_if<!std::is_array< DATATYPE >::value, VTKPointDescriptor & >::type | addProperty (std::string name, DATATYPE T::*m, bool isPrimary=false) |
template<typename DATATYPE > | |
VTKPointDescriptor & | addProperty (std::string name, DATATYPE T::*m, std::size_t nComponents, bool isPrimary=false) |
Private Attributes | |
std::vector< Detail::VTKPointDescriptorEntry< T > * > | entries_ |
Detail::VTKPointDescriptorEntry< T > * | positionEntry_ |
Friends | |
template<typename VT > | |
class | VTKUnstructuredGrid |
This class serves as a descriptor to be used for defining VTK Output files. Once again, this class contains a lot of black magic.
Usage: VTKPointDescriptor<CLASS> descr; descr.addDescriptor("Name", & CLASS::Member ) .addDescriptor("Name2", & CLASS::Member2 );
|
inline |
|
inline |
References VTKPointDescriptor< T >::entries_.
|
inline |
References VTKPointDescriptor< T >::entries_, units::name, and VTKPointDescriptor< T >::positionEntry_.
Referenced by transformMercuryToVTK().
|
inline |
|
inline |
|
private |
Referenced by VTKPointDescriptor< T >::addProperty(), and VTKPointDescriptor< T >::~VTKPointDescriptor().
|
private |
Referenced by VTKPointDescriptor< T >::addProperty().