Workspace 6.21.5
Public Member Functions | List of all members
TecPlotReader Class Reference

Reads models in TecPlot format (triangular shells only) More...

#include <Mesh/FileIO/Readers/tecplotreader.h>

Inheritance diagram for TecPlotReader:
[legend]

Public Member Functions

 TecPlotReader (const std::string &fName="")
 
std::string GetFormatExtension () const override
 
std::string GetFormatName () const override
 
- Public Member Functions inherited from MeshReader
 MeshReader (const std::string &fName)
 
 ~MeshReader () override=default
 
void AllowDegenerateElements ()
 
void DisallowDegenerateElements ()
 
StateGetNodeState (long nodeID)
 
virtual void GetTransform (ObjectTransforms &trans)
 
virtual bool HasTransformData () const
 
bool Read (MeshModel &model, bool shouldOverwrite=false)
 
virtual bool ReadStateInfo (StateInfoArray &nodeStates, StateInfoArray &elementStates)
 
- Public Member Functions inherited from BaseReader
 BaseReader (const std::string &fName)
 
 ~BaseReader () override=default
 Have virtual functions, so also have a virtual destructor.
 
virtual void Close ()
 
std::string ExtractBaseName (const std::string &fileName)
 
int FileLength ()
 
int FilePosition ()
 
void Flush ()
 
std::string GetBaseName () const
 
std::string GetBaseNameSuffix () const
 
std::string GetFileName () const
 
virtual std::string GetFormatExtension () const =0
 
virtual std::string GetFormatName () const =0
 
bool GetTerminateExecution () const
 
bool IsOpen () const
 
bool IsReady () const
 
virtual std::string Open ()
 
void SetBaseName (const std::string &base)
 
void SetBaseNameSuffix (const std::string &suffix)
 
void SetBaseNameSuffix (double caseNum, const std::string &caseLabel="_")
 
void SetBaseNameSuffix (int caseNum, const std::string &caseLabel="_")
 
template<typename T >
void SetBaseNameSuffix (T caseNum, const std::string &caseLabel="_")
 
void SetFileName (const std::string &fileName)
 
virtual void SetProgress (int progress)
 
void SetTerminateExecution (bool b)
 
- Public Member Functions inherited from Logger
 Logger ()
 The default constructor logs to standard output with a plain text log mode.
 
 Logger (const Logger &logger)
 
virtual ~Logger ()
 We own the log mode, so delete it.
 
std::string ErrorOff () const
 
std::string ErrorOn () const
 
std::ostream & GetLog () const
 
const LogModeGetLogMode () const
 
void SetLog (std::ostream &log)
 
void SetLogMode (const LogMode &logMode)
 
void SetLogModeHTML ()
 
void SetLogModePlainText ()
 Set log mode to plain text output.
 
template<Styles s>
void StyleOff () const
 
template<Styles s>
void StyleOn () const
 
std::string WarningOff () const
 
std::string WarningOn () const
 
- Public Member Functions inherited from Observable
virtual ~Observable ()
 
void attachObserver (Observer &observer)
 
void destroy ()
 
void detachObserver (Observer &observer)
 
void notifyEvent (const ObservableEvent &event)
 

Additional Inherited Members

- Public Types inherited from Logger
enum  Styles { Warning , Error , Preformat }
 
- Protected Member Functions inherited from MeshReader
NodeaddNode (MeshModel &model, const Node &node)
 
PointMassaddPointMass (MeshModel &model, const PointMass &mass)
 
SegmentaddSegment (MeshModel &model, const Segment &elem)
 
ShellElementaddShellElement (MeshModel &model, const ShellElement &elem)
 
VolumeElementaddVolumeElement (MeshModel &model, const VolumeElement &elem)
 
bool SetNodeID (long oldNodeID, long newNodeID)
 
bool WillAllowDegenerateElements () const
 
- Protected Member Functions inherited from BaseReader
bool GetNextNonBlankLine (std::string &inputLine)
 
virtual void postFileNameChanged ()
 
- Protected Member Functions inherited from Logger
virtual void LogChanged ()
 
virtual void LogModeChanged ()
 
- Protected Member Functions inherited from Observable
 Observable ()
 
 Observable (const Observable &)
 
- Protected Attributes inherited from BaseReader
std::string baseName
 
std::string baseNameSuffix
 
iautogzstream inFile
 
int progress_
 
bool terminateExecution_
 

Detailed Description

Constructor & Destructor Documentation

◆ TecPlotReader()

TecPlotReader ( const std::string &  fName = "")
inline
Parameters
fNameDefines the base file name for the reader.

Member Function Documentation

◆ GetFormatExtension()

std::string GetFormatExtension ( ) const
inlineoverridevirtual
Returns
The default file name extension for this format.

Implements BaseReader.

◆ GetFormatName()

std::string GetFormatName ( ) const
inlineoverridevirtual
Returns
The name of the format this reader expects.

Implements BaseReader.