|
| TypeNameNoDebug ("x3d") |
|
| x3dWriter () |
|
| x3dWriter (const dictionary &options) |
|
| x3dWriter (const meshedSurf &surf, const fileName &outputPath, bool parallel=Pstream::parRun(), const dictionary &options=dictionary()) |
|
| x3dWriter (const pointField &points, const faceList &faces, const fileName &outputPath, bool parallel=Pstream::parRun(), const dictionary &options=dictionary()) |
|
virtual | ~x3dWriter ()=default |
|
virtual fileName | write () |
|
| declareSurfaceWriterWriteMethod (label) |
|
| declareSurfaceWriterWriteMethod (scalar) |
|
| declareSurfaceWriterWriteMethod (vector) |
|
| declareSurfaceWriterWriteMethod (sphericalTensor) |
|
| declareSurfaceWriterWriteMethod (symmTensor) |
|
| declareSurfaceWriterWriteMethod (tensor) |
|
template<class Type > |
Foam::fileName | writeTemplate (const word &fieldName, const Field< Type > &localValues) |
|
| TypeName ("surfaceWriter") |
|
| declareRunTimeSelectionTable (autoPtr, surfaceWriter, word,(),()) |
|
| declareRunTimeSelectionTable (autoPtr, surfaceWriter, wordDict,(const dictionary &writeOpts),(writeOpts)) |
|
| surfaceWriter () |
|
| surfaceWriter (const dictionary &options) |
|
| surfaceWriter (const meshedSurf &surf, bool parallel=Pstream::parRun(), const dictionary &options=dictionary()) |
|
| surfaceWriter (const pointField &points, const faceList &faces, bool parallel=Pstream::parRun(), const dictionary &options=dictionary()) |
|
virtual | ~surfaceWriter () |
|
virtual bool | enabled () const |
|
virtual bool | separateGeometry () const |
|
virtual bool | usesFaceIds () const |
|
virtual bool | needsUpdate () const |
|
virtual bool | wroteData () const |
|
virtual bool | expire () |
|
virtual void | clear () |
|
virtual void | setSurface (const meshedSurf &surf, bool parallel) |
|
virtual void | setSurface (const pointField &points, const faceList &faces, bool parallel) |
|
virtual void | setSurface (const meshedSurf &surf) |
|
virtual void | setSurface (const pointField &points, const faceList &faces) |
|
bool | hasSurface () const |
|
bool | empty () const |
|
label | size () const |
|
label | nFields () const |
|
label | nFields (const label n) |
|
bool | isPointData () const |
|
bool | isPointData (const bool on) |
|
bool | useTimeDir () const |
|
bool | useTimeDir (const bool on) |
|
bool | verbose () const |
|
bool | verbose (const bool on) |
|
scalar | mergeDim () const |
|
scalar | mergeDim (const scalar dist) |
|
bool | hasTime () const |
|
const word & | timeName () const |
|
scalar | timeValue () const |
|
void | setTime (const instant &inst) |
|
void | setTime (scalar timeValue) |
|
void | setTime (scalar timeValue, const word &timeName) |
|
void | unsetTime () |
|
virtual void | beginTime (const Time &t) |
|
virtual void | beginTime (const instant &inst) |
|
virtual void | endTime () |
|
virtual void | open (const fileName &outputPath) |
|
virtual void | open (const pointField &points, const faceList &faces, const fileName &outputPath, bool parallel) |
|
virtual void | open (const meshedSurf &surf, const fileName &outputPath, bool parallel) |
|
virtual void | open (const pointField &points, const faceList &faces, const fileName &outputPath) |
|
virtual void | open (const meshedSurf &surf, const fileName &outputPath) |
|
virtual void | close () |
|
virtual fileName | write (const word &fieldName, const Field< label > &values)=0 |
| Write field of label (per face or vertex) More...
|
|
virtual fileName | write (const word &fieldName, const Field< scalar > &values)=0 |
| Write field of scalar (per face or vertex) More...
|
|
virtual fileName | write (const word &fieldName, const Field< vector > &values)=0 |
| Write field of vector (per face or vertex) More...
|
|
virtual fileName | write (const word &fieldName, const Field< sphericalTensor > &values)=0 |
| Write field of sphericalTensor (per face or vertex) More...
|
|
virtual fileName | write (const word &fieldName, const Field< symmTensor > &values)=0 |
| Write field of symmTensor (per face or vertex) More...
|
|
virtual fileName | write (const word &fieldName, const Field< tensor > &values)=0 |
| Write field of tensor (per face or vertex) More...
|
|
virtual InfoProxy< surfaceWriter > | info () const |
|
template<class Type > |
Foam::tmp< Foam::Field< Type > > | mergeFieldTemplate (const Field< Type > &fld) const |
|
A surfaceWriter for X3D files.
The formatOptions for x3d:
Property | Description | Required | Default |
compression | Use file compression | no | false |
range | The min/max range for colour table | no | automatic |
colourMap | The colour map for rendering | no | coolToWarm |
file locations
The rootdir
normally corresponds to something like postProcessing/<name>
Geometry
rootdir
`-- timeName
`-- surfaceName.x3d
Fields
rootdir
`-- timeName
|-- <field0>_surfaceName.x3d
`-- <field1>_surfaceName.x3d
- Source files
-
Definition at line 99 of file x3dSurfaceWriter.H.