vtkWritePolyData.H File Reference
Include dependency graph for vtkWritePolyData.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Foam
 Namespace for OpenFOAM.
 
 Foam::vtkWritePolyData
 

Macros

#define FieldTypeValuesNonConstArg(Type, nullArg)    , UPtrList<const Field<Type>>& field##Type##Values
 
#define FieldTypeValuesNonConstArg(Type, nullArg)    , UPtrList<const Field<Type>>& field##Type##Values
 
#define SetFieldTypeValue(Type, nullArg)    setFieldTypeValue(field##Type##Values, fieldi, fieldTypeValue);
 
#define FieldTypeValuesParameter(Type, nullArg)   , field##Type##Values
 
#define FieldTypeValuesConstArg(Type, nullArg)    , const UPtrList<const Field<Type>>& field##Type##Values
 

Functions

template<class Types , class Type >
void setFieldTypeValue (UPtrList< const Field< Types >> &fieldTypeValues, const label fieldi, const Field< Type > &fieldTypeValue)
 Helper for templated write. More...
 
template<class Type >
void setFieldTypeValue (UPtrList< const Field< Type >> &fieldTypeValues, const label fieldi, const Field< Type > &fieldTypeValue)
 Helper for templated write. More...
 
void unpackFieldTypeValues (wordList &fieldNames, boolList &fieldIsPointValues, UPtrList< const Field< label >> &fieldLabelValues #define FieldTypeValuesNonConstArg(Type, nullArg))
 Helper for templated write. More...
 
template<class Type , class ... Args>
void unpackFieldTypeValues (wordList &fieldNames, boolList &fieldIsPointValues, UPtrList< const Field< label >> &fieldLabelValues #define FieldTypeValuesNonConstArg(Type, nullArg) FOR_ALL_FIELD_TYPES(FieldTypeValuesNonConstArg), const word &fieldName, const bool fieldIsPointValue, const Field< Type > &fieldTypeValue, Args &... args)
 Helper for templated write. More...
 
template<class Type , class DataType >
void writeFieldTypeValues (std::ostream &os, const bool binary, const wordList &fieldNames, const boolList &fieldIsPointValues, const UPtrList< const Field< Type >> &fieldTypeValues, const bool writePointValues)
 Write the field values out for a type. More...
 
template<class PointField , class VertexList , class LineList , class FaceList >
void write (const fileName &file, const word &title, const bool binary, const PointField &points, const VertexList &vertices, const LineList &lines, const FaceList &faces, const wordList &fieldNames, const boolList &fieldIsPointValues, const UPtrList< const Field< label >> &fieldLabelValues #define FieldTypeValuesConstArg(Type, nullArg))
 Write VTK polygonal data to a file. Takes a PtrList of fields of labels and. More...
 
template<class PointField , class VertexList , class LineList , class FaceList , class ... Args>
void write (const fileName &file, const word &title, const bool binary, const PointField &points, const VertexList &vertices, const LineList &lines, const FaceList &faces, const Args &... args)
 Write VTK polygonal data to a file. Takes any number of name,. More...
 

Detailed Description

Original source file vtkWritePolyData.H

Definition in file vtkWritePolyData.H.

Macro Definition Documentation

◆ FieldTypeValuesNonConstArg [1/2]

#define FieldTypeValuesNonConstArg (   Type,
  nullArg 
)     , UPtrList<const Field<Type>>& field##Type##Values

◆ FieldTypeValuesNonConstArg [2/2]

#define FieldTypeValuesNonConstArg (   Type,
  nullArg 
)     , UPtrList<const Field<Type>>& field##Type##Values

◆ SetFieldTypeValue

#define SetFieldTypeValue (   Type,
  nullArg 
)     setFieldTypeValue(field##Type##Values, fieldi, fieldTypeValue);

◆ FieldTypeValuesParameter

#define FieldTypeValuesParameter (   Type,
  nullArg 
)    , field##Type##Values

◆ FieldTypeValuesConstArg

#define FieldTypeValuesConstArg (   Type,
  nullArg 
)     , const UPtrList<const Field<Type>>& field##Type##Values