A proxy for writing MeshedSurface, UnsortedMeshedSurface and surfMesh to various file formats. More...
Public Types | |
typedef Face | face_type |
typedef point | point_type |
Public Member Functions | |
ClassName ("MeshedSurfaceProxy") | |
MeshedSurfaceProxy (const pointField &pointLst, const UList< Face > &faceLst, const UList< surfZone > &zoneLst=UList< surfZone >::null(), const labelUList &faceMap=labelUList::null(), const labelUList &faceIdLst=labelUList::null()) | |
virtual | ~MeshedSurfaceProxy ()=default |
declareMemberFunctionSelectionTable (void, MeshedSurfaceProxy, write, fileExtension,(const fileName &name, const MeshedSurfaceProxy< Face > &surf, IOstreamOption streamOpt, const dictionary &options),(name, surf, streamOpt, options)) | |
label | size () const |
const pointField & | points () const |
const UList< Face > & | surfFaces () const |
const UList< surfZone > & | surfZones () const |
const labelUList & | faceMap () const |
const labelUList & | faceIds () const |
bool | useFaceMap () const |
bool | useFaceIds () const |
label | nTriangles () const |
virtual void | write (const fileName &name, IOstreamOption streamOpt=IOstreamOption(), const dictionary &options=dictionary::null) const |
virtual void | write (const fileName &name, const word &fileType, IOstreamOption streamOpt=IOstreamOption(), const dictionary &options=dictionary::null) const |
virtual void | write (const Time &t, const word &surfName=word::null) const |
Static Public Member Functions | |
static wordHashSet | writeTypes () |
static bool | canWriteType (const word &fileType, bool verbose=false) |
static void | write (const fileName &name, const MeshedSurfaceProxy &surf, IOstreamOption streamOpt=IOstreamOption(), const dictionary &options=dictionary::null) |
static void | write (const fileName &name, const word &fileType, const MeshedSurfaceProxy &surf, IOstreamOption streamOpt=IOstreamOption(), const dictionary &options=dictionary::null) |
A proxy for writing MeshedSurface, UnsortedMeshedSurface and surfMesh to various file formats.
The constructor interface is fat and ugly, but is largely encapsulated by conversion operators in other classes.
Definition at line 78 of file MeshedSurface.H.
typedef Face face_type |
Definition at line 82 of file MeshedSurfaceProxy.H.
typedef point point_type |
Definition at line 85 of file MeshedSurfaceProxy.H.
MeshedSurfaceProxy | ( | const pointField & | pointLst, |
const UList< Face > & | faceLst, | ||
const UList< surfZone > & | zoneLst = UList<surfZone>::null() , |
||
const labelUList & | faceMap = labelUList::null() , |
||
const labelUList & | faceIdLst = labelUList::null() |
||
) |
Definition at line 230 of file MeshedSurfaceProxy.C.
|
virtualdefault |
ClassName | ( | "MeshedSurfaceProxy" | ) |
|
static |
Definition at line 32 of file MeshedSurfaceProxy.C.
Referenced by surfaceWriter::New().
Definition at line 40 of file MeshedSurfaceProxy.C.
declareMemberFunctionSelectionTable | ( | void | , |
MeshedSurfaceProxy | , | ||
write | , | ||
fileExtension | , | ||
(const fileName &name, const MeshedSurfaceProxy< Face > &surf, IOstreamOption streamOpt, const dictionary &options) | , | ||
(name, surf, streamOpt, options) | |||
) |
|
static |
Referenced by proxyWriter::write(), x3dWriter::write(), starcdWriter::write(), MeshedSurfaceProxy::write(), surfMesh::write(), and triSurface::write().
|
static |
|
inline |
Definition at line 161 of file MeshedSurfaceProxy.H.
|
inline |
Definition at line 167 of file MeshedSurfaceProxy.H.
Referenced by FLMAsurfaceFormat< Face >::write(), OBJsurfaceFormat< Face >::write(), X3DsurfaceFormat< Face >::write(), SMESHsurfaceFormat< Face >::write(), AC3DsurfaceFormat< Face >::write(), OFFsurfaceFormat< Face >::write(), TRIsurfaceFormat< Face >::write(), ABAQUSsurfaceFormat< Face >::write(), STARCDsurfaceFormat< Face >::write(), NASsurfaceFormat< Face >::write(), VTPsurfaceFormat< Face >::write(), VTKsurfaceFormat< Face >::write(), STLsurfaceFormat< Face >::writeAscii(), and STLsurfaceFormat< Face >::writeBinary().
|
inline |
Definition at line 173 of file MeshedSurfaceProxy.H.
Referenced by FLMAsurfaceFormat< Face >::write(), OBJsurfaceFormat< Face >::write(), X3DsurfaceFormat< Face >::write(), SMESHsurfaceFormat< Face >::write(), AC3DsurfaceFormat< Face >::write(), OFFsurfaceFormat< Face >::write(), TRIsurfaceFormat< Face >::write(), ABAQUSsurfaceFormat< Face >::write(), STARCDsurfaceFormat< Face >::write(), NASsurfaceFormat< Face >::write(), VTPsurfaceFormat< Face >::write(), VTKsurfaceFormat< Face >::write(), STLsurfaceFormat< Face >::writeAscii(), and STLsurfaceFormat< Face >::writeBinary().
Definition at line 181 of file MeshedSurfaceProxy.H.
Referenced by FLMAsurfaceFormat< Face >::write(), OBJsurfaceFormat< Face >::write(), X3DsurfaceFormat< Face >::write(), SMESHsurfaceFormat< Face >::write(), AC3DsurfaceFormat< Face >::write(), OFFsurfaceFormat< Face >::write(), TRIsurfaceFormat< Face >::write(), ABAQUSsurfaceFormat< Face >::write(), STARCDsurfaceFormat< Face >::write(), NASsurfaceFormat< Face >::write(), VTPsurfaceFormat< Face >::write(), VTKsurfaceFormat< Face >::write(), STLsurfaceFormat< Face >::writeAscii(), and STLsurfaceFormat< Face >::writeBinary().
|
inline |
Definition at line 187 of file MeshedSurfaceProxy.H.
Referenced by FLMAsurfaceFormat< Face >::write(), OBJsurfaceFormat< Face >::write(), X3DsurfaceFormat< Face >::write(), SMESHsurfaceFormat< Face >::write(), AC3DsurfaceFormat< Face >::write(), OFFsurfaceFormat< Face >::write(), TRIsurfaceFormat< Face >::write(), ABAQUSsurfaceFormat< Face >::write(), STARCDsurfaceFormat< Face >::write(), NASsurfaceFormat< Face >::write(), VTPsurfaceFormat< Face >::write(), VTKsurfaceFormat< Face >::write(), STLsurfaceFormat< Face >::writeAscii(), and STLsurfaceFormat< Face >::writeBinary().
|
inline |
Definition at line 193 of file MeshedSurfaceProxy.H.
Referenced by ABAQUSsurfaceFormat< Face >::write(), STARCDsurfaceFormat< Face >::write(), and NASsurfaceFormat< Face >::write().
|
inline |
Definition at line 199 of file MeshedSurfaceProxy.H.
Referenced by FLMAsurfaceFormat< Face >::write(), OBJsurfaceFormat< Face >::write(), X3DsurfaceFormat< Face >::write(), SMESHsurfaceFormat< Face >::write(), AC3DsurfaceFormat< Face >::write(), OFFsurfaceFormat< Face >::write(), TRIsurfaceFormat< Face >::write(), ABAQUSsurfaceFormat< Face >::write(), STARCDsurfaceFormat< Face >::write(), NASsurfaceFormat< Face >::write(), VTPsurfaceFormat< Face >::write(), VTKsurfaceFormat< Face >::write(), STLsurfaceFormat< Face >::writeAscii(), and STLsurfaceFormat< Face >::writeBinary().
|
inline |
Definition at line 205 of file MeshedSurfaceProxy.H.
|
inline |
Definition at line 249 of file MeshedSurfaceProxy.C.
References f().
Referenced by STLsurfaceFormat< Face >::writeBinary().
|
inlinevirtual |
Definition at line 218 of file MeshedSurfaceProxy.H.
References Foam::name(), and MeshedSurfaceProxy::write().
|
inlinevirtual |
Definition at line 230 of file MeshedSurfaceProxy.H.
References Foam::name(), and MeshedSurfaceProxy::write().
|
virtual |
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.