MercuryDPM
Beta
|
#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 |
Definition at line 176 of file VTKData.h.
|
inline |
Definition at line 180 of file VTKData.h.
References VTKPointDescriptor< T >::entries_.
|
inline |
Definition at line 188 of file VTKData.h.
References VTKPointDescriptor< T >::entries_, and VTKPointDescriptor< T >::positionEntry_.
Referenced by transformMercuryToVTK().
|
inline |
Definition at line 201 of file VTKData.h.
References VTKPointDescriptor< T >::entries_, and VTKPointDescriptor< T >::positionEntry_.
|
inline |
Definition at line 213 of file VTKData.h.
References VTKPointDescriptor< T >::entries_, and VTKPointDescriptor< T >::positionEntry_.
|
private |
Definition at line 173 of file VTKData.h.
Referenced by VTKPointDescriptor< T >::addProperty(), and VTKPointDescriptor< T >::~VTKPointDescriptor().
|
private |
Definition at line 174 of file VTKData.h.
Referenced by VTKPointDescriptor< T >::addProperty().