FEDEM Model Database  R8.0
Source code of the FEDEM model database
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
FmCurveSet Class Reference

#include <FmCurveSet.H>

Inheritance diagram for FmCurveSet:
Inheritance graph
[legend]
Collaboration diagram for FmCurveSet:
Collaboration graph
[legend]

Public Types

enum  { XAXIS , YAXIS , NAXES }
 
enum  InputMode {
  TEMPORAL_RESULT , SPATIAL_RESULT , RDB_RESULT , COMB_CURVES ,
  EXT_CURVE , INT_FUNCTION , PREVIEW_FUNC
}
 
enum  Analysis {
  NONE , DERIVATIVE , INTEGRAL , DFT ,
  RAINFLOW
}
 
enum  LifeUnit { REPEATS , HOURS , DAYS }
 
- Public Types inherited from FmModelMemberBase
enum  Signal { MODEL_MEMBER_CONNECTED , MODEL_MEMBER_DISCONNECTED , MODEL_MEMBER_FINISHED_DISCONNECTED , MODEL_MEMBER_CHANGED }
 Enumerator for database signals. More...
 
- Public Types inherited from FmBase
enum  CopyMode {
  NOTHING , SHALLOW , DEEP_UNRESOLVED , DEEP_APPEND ,
  DEEP_REPLACE
}
 Enumerator for the different copying modes. More...
 
- Public Types inherited from FFaFieldContainer
using FindCB = FFaDynCB4< FFaFieldContainer *&, int, int, const IntVec & >
 Convenience alias for resolve call-backs. More...
 

Public Member Functions

 FmCurveSet (InputMode defaultMode=TEMPORAL_RESULT)
 
void setOwnerGraph (FmGraph *graph)
 
FmGraph * getOwnerGraph () const
 
bool moveTo (FmGraph *graph)
 
bool clearResult (int axis)
 
bool setResult (int axis, const FFaResultDescription &descr)
 
const FFaResultDescription & getResult (int axis) const
 
bool setResultObj (int axis, const FFaResultDescription &descr)
 
FmIsPlottedBase * getResultObj (int axis) const
 
bool setResultOper (int axis, const std::string &oper)
 
const std::string & getResultOper (int axis) const
 
bool setSpatialObjs (const std::vector< FmIsPlottedBase * > &objs)
 
void getSpatialObjs (std::vector< FmIsPlottedBase * > &objs) const
 
bool setTimeRange (const FmRange &tRange)
 
const FmRange & getTimeRange () const
 
bool setTimeOper (const std::string &oper)
 
const std::string & getTimeOper () const
 
bool isTimeAxis (int axis)
 
void onDataChanged ()
 
void reload (bool recursive=false)
 
bool areAxesComplete () const
 
bool hasXYDataChanged () const
 
bool hasScaleOrOffsetChanged () const
 
bool hasDFTOptionsChanged (int opt=0) const
 
bool setAnalysisFlag (Analysis flag, bool mChange=true)
 
Analysis getAnalysisFlag () const
 
bool doAnalysis () const
 
bool derivate () const
 
bool integrate () const
 
bool doDft () const
 
bool doRainflow () const
 
bool setAutoLegend (bool yesOrNo)
 
bool getAutoLegend () const
 
bool setLegend (const std::string &legend)
 
const std::string & getLegend () const
 
bool setColor (float r, float g, float b)
 
bool setColor (const FmColor &color)
 
const FmColor & getColor () const
 
bool setCurveStyle (int style)
 
int getCurveStyle () const
 
bool setCurveWidth (int width)
 
int getCurveWidth () const
 
bool setCurveSymbol (int symbol)
 
int getCurveSymbol () const
 
bool setCurveSymbolSize (int size)
 
int getCurveSymbolSize () const
 
bool setCurveNumSymbols (int num)
 
int getCurveNumSymbols () const
 
bool setDftRemoveComp (bool yesOrNo)
 
bool getDftRemoveComp () const
 
bool setDftDomain (const FmRange &domain)
 
const FmRange & getDftDomain () const
 
bool setDftEntireDomain (bool useOrNot)
 
bool getDftEntireDomain () const
 
bool setDftResample (bool doOrDont)
 
bool getDftResample () const
 
bool setDftResampleRate (double rate)
 
double getDftResampleRate () const
 
DFTparams getDFTparameters () const
 
bool setScaleFactor (double scaleX, double scaleY)
 
double getXScale () const
 
double getYScale () const
 
bool setOffset (double offsetX, double offsetY)
 
double getXOffset () const
 
double getYOffset () const
 
bool setZeroAdjust (bool doZeroAdjustX, bool doZeroAdjustY)
 
bool getXZeroAdjust () const
 
bool getYZeroAdjust () const
 
bool hasNonDefaultScaleShift () const
 
bool setFilePath (const std::string &path)
 
const std::string & getFilePath () const
 
bool setChannelName (const std::string &channelName)
 
const std::string & getChannelName () const
 
bool setFunctionRef (FmModelMemberBase *func)
 
FmMathFuncBase * getFunctionRef () const
 
bool setFuncDomain (const FmRange &domain)
 
const FmRange & getFuncDomain () const
 
bool setIncX (double incX)
 
double getIncX () const
 
bool setUseSmartPoints (bool use)
 
bool getUseSmartPoints () const
 
bool setExpression (const std::string &expression)
 
const std::string & getExpression () const
 
bool setCurveComp (FmCurveSet *curve, int icomp=0)
 
size_t getCurveComps (std::vector< FmCurveSet * > &curves, std::vector< bool > &active) const
 
size_t getActiveCurveComps (std::vector< FmCurveSet * > &curves) const
 
bool isResultDependent () const
 
bool needsManualRefresh () const
 
bool useInputMode (InputMode mode, bool isChanged=true)
 
InputMode usingInputMode () const
 
void setToBeExportedBatch (bool yesOrNo)
 
bool isAutoExported () const
 
bool setFatigueDomain (const FmRange &domain)
 
const FmRange & getFatigueDomain () const
 
bool setFatigueEntireDomain (bool useOrNot)
 
bool getFatigueEntireDomain () const
 
bool setFatigueLifeUnit (LifeUnit unit)
 
LifeUnit getFatigueLifeUnit () const
 
bool setFatigueSNCurve (int curve)
 
int getFatigueSNCurve () const
 
bool setFatigueSNStd (int snStd)
 
int getFatigueSNStd () const
 
bool setFatigueGateValue (double value)
 
double getFatigueGateValue () const
 
bool isFatigueCurve () const
 
bool connect (FmBase *parent)
 
virtual bool disconnect ()
 Removes this object from the model database. More...
 
virtual std::ostream & writeFMF (std::ostream &os=std::cout)
 Writes out this object in the model database file format. More...
 
virtual bool clone (FmBase *obj, int depth)
 Copies the fields of another object into *this. More...
 
virtual void initAfterResolve ()
 Initializes the fields after resolve. More...
 
virtual const char * getUITypeName () const
 Returns the type name of this object for use in the GUI. More...
 
bool connect () final
 Inserts this object into the model database. More...
 
- Public Member Functions inherited from FmResultBase
FmBase * clone (int depth) const final
 Returns an unconnected copy of this object. More...
 
virtual bool clone (FmBase *, int)
 Copies the fields of another object into *this. More...
 
virtual FmBase * clone (int) const
 Returns an unconnected copy of this object. More...
 
- Public Member Functions inherited from FmModelMemberBase
void sendSignal (Signal sig)
 Broadcasts a database signal to trigger call-back invokations. More...
 
const char * getItemName () const override
 Returns the name of this item. More...
 
std::string getItemDescr () const override
 Returns the description of this item. More...
 
int getItemID () const final
 Returns the user ID of this item. More...
 
int getItemBaseID () const final
 Returns the base ID of this item. More...
 
void getItemAssemblyPath (std::vector< int > &assID) const final
 Returns the sub-assembly ID path of this item. More...
 
void onMainConnected () final
 Invokes call-backs after this object is inserted into the database. More...
 
void onMainDisconnected () final
 Invokes call-backs after this object is removed from the database. More...
 
void onMainAboutToDisconnect () final
 Invokes call-backs before this object is removed from the database. More...
 
void onChanged ()
 Invokes call-backs when this object updated. More...
 
virtual FmBase * duplicate () const
 Returns a connected copy of this object. More...
 
virtual bool interactiveErase ()
 Hook for class-dependent tasks for interactive deleting an object. More...
 
virtual int printSolverEntry (FILE *)
 Hoook for printing the solver input file entry for this object. More...
 
void printID (FILE *myFile, bool withBaseID=true) const
 Prints the ID of this object in the solver input file format. More...
 
int getBaseID () const
 Returns the base ID of this object. More...
 
bool setTag (const std::string &tag)
 Assigns a tag to this object. More...
 
bool isTagged (const std::string &tag) const
 Returns true if this object has a tag assigned to it. More...
 
const std::string & getTag () const
 Returns a const reference to the tag assigned to this object. More...
 
bool moveTo (FmSubAssembly *newAss)
 Moves this object to another sub-assembly. More...
 
- Public Member Functions inherited from FmBase
FmBase * getNext () const
 Returns the next object in the linked list. More...
 
FmBase * getPrev () const
 Returns the previous object in the linked list. More...
 
virtual std::string getUserDescription (size_t maxLength=0) const
 Returns the user-defined description of this object. More...
 
virtual bool setUserDescription (const std::string &descr)
 Sets the user-defined description of this object. More...
 
bool makeCopyDescr ()
 Prepends "Copy of " to the user description. More...
 
virtual std::string getInfoString () const
 Returns a composed string describing this object. More...
 
virtual std::string getIdPath (bool withBrackets=true) const
 Returns the user ID including the sub-assembly path. More...
 
std::string getIdString (bool withDescription=false) const
 Returns a composed string describing this object. More...
 
int getID () const
 Returns the user ID of this object. More...
 
void setID (int Id)
 Sets the user ID of this object. More...
 
void getAssemblyID (IntVec &assID) const
 Retrieves the assembly ID of this object. More...
 
FmBase * getParentAssembly () const
 Returns the sub-assembly this object is part of, if any. More...
 
FmBase * getCommonAncestor (const FmBase *other) const
 Returns the sub-assembly both *this and *other descent from. More...
 
void setParentAssembly (FmBase *subAss)
 Sets the parent sub-assembly for this object. More...
 
void setParentAssembly (int Id, int classType=-1)
 Sets the parent sub-assembly for this object. More...
 
int getResolvedID () const final
 Returns the user Id of *this, for use in I/O and resolving. More...
 
void getResolvedAssemblyID (IntVec &assID) const final
 Gets the assembly path of *this, for use in I/O and resolving. More...
 
bool cloneOrConnect ()
 Inserts or copies this object into the model database. More...
 
virtual void drawObject ()
 Visualization interface for objects that can be rendered. More...
 
bool isPartOf (const FmSubAssembly *subAss) const
 Returns true if *this is part of the specified sub-assembly. More...
 
std::ostream & writeFields (std::ostream &os) const
 Writes all data fields of this object to the given output stream. More...
 
- Public Member Functions inherited from FFaFieldContainer
 FFaFieldContainer ()
 The default constructor does nothing. More...
 
virtual ~FFaFieldContainer ()
 The destructor clears the references to *this in myRefBy. More...
 
bool erase ()
 Deletes *this assuming it is heap-allocated. More...
 
void getFields (FieldMap &mapToFill) const
 Builds a map of all fields in this FFaFieldContainer. More...
 
FFaFieldBase * getField (const std::string &fieldName) const
 Returns the named field in this FFaFieldContainer. More...
 
void getReferredObjs (ObjectMap &mapToFill) const
 Builds a map of all other objects referred to by *this. More...
 
void getReferringObjs (ObjectMap &mapToFill) const
 Builds a map of all other objects referring to *this. More...
 
void getReferringObjs (ObjectVec &vecToFill, const std::string &contextName, bool sortOnId=false) const
 Builds a list of FFaFieldContainer objects referring to *this. More...
 
template<class T >
void getReferringObjs (std::vector< T * > &vecToFill, const std::string &context="", bool sortOnId=false) const
 Builds a list of class T objects referring to *this. More...
 
template<class T >
bool hasReferringObjs (T *&ptr, const std::string &context="") const
 Checks if there are any references of type T to this object. More...
 
void releaseReferencesToMe (const std::string &contextName="", FFaFieldContainer *replacement=NULL)
 Directly removes all references to this object. More...
 
void resolve (FindCB &findCB)
 Resolves all FFaReferences and FFaReferenceLists in this object. More...
 
void unresolve ()
 Unresolves all FFaReferences and FFaReferenceLists in this object. More...
 
void updateReferences (int oldAssId, int newAssId)
 Updates the assembly ID in the references in this object. More...
 
void updateReferences (const IntVec &oldAssId, const IntVec &newAssID)
 Updates the assembly ID in the references in this object. More...
 
bool readField (const std::string &key, std::istream &is, bool datafieldsOnly=false)
 Reads the value of a field named key from an input stream. More...
 
bool copy (const FFaFieldContainer *other, bool fieldsOnly=false, bool unresolve=false)
 Copies all fields and references from another object into *this. More...
 
bool copyFields (const FFaFieldContainer *obj)
 Copies all field values from another object into *this. More...
 
bool resetFields (const FFaFieldContainer *obj)
 Resets fields to their default value. More...
 
- Public Member Functions inherited from FFaListViewItem
 FFaListViewItem ()
 Default constructor. More...
 
virtual ~FFaListViewItem ()
 The destructor deletes the position and expand status mapping. More...
 
virtual const char ** getListViewPixmap () const
 Returns the pixmap of this item. More...
 
bool setPositionInListView (const char *lvName, int pos)
 Sets the position of this item in the named list view. More...
 
int getPositionInListView (const char *lvName) const
 Returns the position of this item in the named list view. More...
 
bool setExpandedInListView (const char *lvName, bool exp)
 Sets the expand status of this item in the named list view. More...
 
bool getExpandedInListView (const char *lvName) const
 Returns the expand status of this item in the named list view. More...
 
bool isSubjectToLVPositioning (const char *lvName) const
 Returns whether this item is positioned in the named list view. More...
 
- Public Member Functions inherited from FFaViewItem
 FFaViewItem ()=default
 Default constructor. More...
 
 FFaViewItem (const FFaViewItem &)=delete
 Disable default copy constructor. More...
 
virtual ~FFaViewItem ()
 Empty destructor. More...
 
FFaViewItem & operator= (const FFaViewItem &)=delete
 Disable default assignment operator. More...
 

Static Public Member Functions

static const char ** getCompNames ()
 
static bool readAndConnect (std::istream &is, std::ostream &os=std::cout)
 
- Static Public Member Functions inherited from FmModelMemberBase
static FFaSwitchBoardConnector * getSignalConnector ()
 Returns the model database signal connector. More...
 
static void resolveBaseIDProblems ()
 Resolves the conflicting base ID issues for baseIdProblems. More...
 
- Static Public Member Functions inherited from FFaFieldContainer
static void removeDictInstance ()
 Removes the heap-allocated field name dictionary. More...
 
- Static Public Member Functions inherited from FFaViewItem
static bool compareDescr (FFaViewItem *i1, FFaViewItem *i2)
 Binary comparison of description strings (implementation of less). More...
 
static bool compareID (FFaViewItem *i1, FFaViewItem *i2)
 Binary comparison of user IDs (implementation of less). More...
 
static int compareDescr3w (FFaViewItem *i1, FFaViewItem *i2)
 Three-way lexicographical comparison of description strings. More...
 
static int compareID3w (FFaViewItem *i1, FFaViewItem *i2)
 Three-way lexicographical comparison of user IDs. More...
 

Public Attributes

FFaField< std::string > myFilePath
 

Protected Member Functions

virtual ~FmCurveSet ()
 
virtual bool cloneLocal (FmBase *obj, int depth)
 Clones the data fields of *obj into *this. More...
 
virtual void changedEvent ()
 Hook for class-dependent tasks when the object is updated. More...
 
- Protected Member Functions inherited from FmResultBase
 FmResultBase ()
 Default constructor. More...
 
bool cloneLocal (FmBase *obj, int depth) override
 Clones the data fields of *obj into *this. More...
 
void mainConnectedEvent () override
 Sets the user description to "New <object typename>". More...
 
FmResultBase * copy (int cloneDepth) const
 Makes a copy of this object. More...
 
- Protected Member Functions inherited from FmModelMemberBase
virtual void mainDisconnectedEvent ()
 Hook for class-dependent tasks when the object is disconnected. More...
 
 FmModelMemberBase (bool isDummy=false)
 Default constructor. More...
 
bool eraseOptions () override
 Hook for class-specific tasks before deleting *this in erase(). More...
 
- Protected Member Functions inherited from FmBase
 FmBase (bool isDummy=false)
 Default constructor. More...
 
virtual ~FmBase ()
 Empty destructor. More...
 
bool eraseOrConnect ()
 Conditionally inserts this object into the model database. More...
 
bool mainConnect (bool allowNonUniqueIDs=false)
 Inserts this object into the model database, unless aready present. More...
 
bool mainDisconnect ()
 Removes this object from the model database, if present. More...
 
void insertAfter (FmBase *afterPt)
 Inserts *this after *afterPt in the database ring. More...
 
- Protected Member Functions inherited from FFaFieldContainer
void addRef (FFaReferenceBase *ref)
 Adds a reference to the internal book keeping of this object. More...
 
void addRefList (FFaReferenceListBase *list)
 Adds a reference list to the internal book keeping of this object. More...
 
void addField (const std::string &identifier, FFaFieldBase *field)
 Adds a field to the internal book keeping of this object. More...
 
void removeField (const std::string &identifier)
 Removes the field from the internal book keeping of this object. More...
 

Protected Attributes

FFaReference< FmGraph > myOwnerGraph
 
FFaField< FFaReferenceBase * > myOwnerGraphField
 
FFaField< InputModeEnum > myInputMode
 
FFaReference< FmIsPlottedBase > myResultObject [NAXES]
 
FFaField< FFaReferenceBase * > myResultObjectField [NAXES]
 
FFaField< FFaResultDescription > myRDBResults [NAXES]
 
FFaField< std::string > myRDBResultOpers [NAXES]
 
FFaField< std::string > myChannelName
 
FFaReference< FmMathFuncBase > myFunction
 
FFaField< FFaReferenceBase * > myFunctionField
 
FFaField< FmRange > myFuncDomain
 
FFaField< double > myFuncInc
 
FFaField< bool > myFuncAutoInc
 
FFaField< std::string > myExpression
 
FFaReferenceList< FmCurveSet > myCurves
 
FFaField< FFaReferenceListBase * > myCurvesField
 
std::set< size_t > myActiveCurves
 
FFaReferenceList< FmIsPlottedBase > mySpatialObjects
 
FFaField< FFaReferenceListBase * > mySpatialObjectsField
 
FFaField< FmRange > myTimeRange
 
FFaField< std::string > myTimeOper
 
FFaField< FmColor > myColor
 
FFaField< int > myCurveStyle
 
FFaField< int > myCurveWidth
 
FFaField< int > myCurveSymbol
 
FFaField< int > myCurveSymbolSize
 
FFaField< int > myNumCurveSymbols
 
FFaField< std::string > myLegend
 
FFaField< bool > myAutoLegend
 
FFaField< double > myScaleFactor [NAXES]
 
FFaField< double > myOffset [NAXES]
 
FFaField< bool > myZeroAdjust [NAXES]
 
FFaField< AnalysisEnum > myAnalysisFlag
 
FFaField< bool > myDftResample
 
FFaField< bool > myDftRemoveComp
 
FFaField< bool > myDftEntireDomain
 
FFaField< FmRange > myDftDomain
 
FFaField< double > myDftResampleRate
 
FFaField< bool > myFatigueEntireDomain
 
FFaField< FmRange > myFatigueDomain
 
FFaField< double > myFatigueGateValue
 
FFaField< int > myFatigueSNCurve
 
FFaField< int > myFatigueSNStd
 
FFaField< LifeUnitEnum > myFatigueLifeUnit
 
FFaField< bool > myAutoCurveExportFlag
 
- Protected Attributes inherited from FmModelMemberBase
FFaNoCopyField< int > myBaseID
 Base ID, unique over all object types. More...
 
FFaField< std::string > myTag
 Text string used for grouping objects. More...
 
- Protected Attributes inherited from FFaFieldContainer
FieldContainerMap myFields
 All data fields of this object. More...
 

Private Member Functions

 Fmd_DB_HEADER_INIT ()
 
 FFaEnumMapping (InputMode)
 
 FFaEnumMapping (Analysis)
 
 FFaEnumMapping (LifeUnit)
 

Static Private Member Functions

static bool localParse (const char *keyWord, std::istream &activeStatement, FmCurveSet *obj, std::string &obsolete)
 

Private Attributes

bool myXYDataChanged
 
bool myScaleOrOffsetChanged
 
char myAnalysisOptionChanged
 

Additional Inherited Members

- Static Public Attributes inherited from FmModelMemberBase
static bool ignoreBaseID = false
 Set to true when importing sub-assembly. More...
 
static bool inInteractiveErase = false
 Set to true when interactive delete. More...
 
- Protected Types inherited from FFaFieldContainer
using FDict = std::set< std::string >
 Convenience type alias, a set of text strings used as a dictionary. More...
 
using FDictIt = FDict::const_iterator
 Convenience type alias, a const_iterator pointing into a dictionary. More...
 
using FieldContainerMap = std::map< FDictIt, FFaFieldBase *, FDictLess >
 Convenience type alias, a field container map. More...
 
using FieldContainerDict = FFaSingelton< FDict, FFaFieldContainer >
 Convenience type alias, a heap-allocated dictionary singelton. More...
 
- Static Protected Member Functions inherited from FmBase
static bool localParse (const char *keyWord, std::istream &activeStatement, FmBase *obj)
 Parses the keyWord field for *obj, if it is a defined field. More...
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
XAXIS 
YAXIS 
NAXES 

◆ Analysis

Enumerator
NONE 
DERIVATIVE 
INTEGRAL 
DFT 
RAINFLOW 

◆ InputMode

Enumerator
TEMPORAL_RESULT 
SPATIAL_RESULT 
RDB_RESULT 
COMB_CURVES 
EXT_CURVE 
INT_FUNCTION 
PREVIEW_FUNC 

◆ LifeUnit

Enumerator
REPEATS 
HOURS 
DAYS 

Constructor & Destructor Documentation

◆ FmCurveSet()

FmCurveSet::FmCurveSet ( InputMode  defaultMode = TEMPORAL_RESULT)

◆ ~FmCurveSet()

FmCurveSet::~FmCurveSet ( )
protectedvirtual

Member Function Documentation

◆ areAxesComplete()

bool FmCurveSet::areAxesComplete ( ) const

◆ changedEvent()

void FmCurveSet::changedEvent ( )
protectedvirtual

Hook for class-dependent tasks when the object is updated.

Reimplemented from FmModelMemberBase.

◆ clearResult()

bool FmCurveSet::clearResult ( int  axis)

◆ clone()

bool FmCurveSet::clone ( FmBase *  ,
int   
)
virtual

Copies the fields of another object into *this.

Reimplemented from FmBase.

◆ cloneLocal()

bool FmCurveSet::cloneLocal ( FmBase *  obj,
int  depth 
)
protectedvirtual

Clones the data fields of *obj into *this.

This method tries to copy all fields of the cloned object into this object.

Returns
true if all of them have a matching field in this and false otherwise.

Reimplemented from FmBase.

◆ connect() [1/2]

bool FmResultBase::connect
inlinefinalvirtual

Inserts this object into the model database.

Reimplemented from FmResultBase.

◆ connect() [2/2]

bool FmCurveSet::connect ( FmBase *  parent)

◆ derivate()

bool FmCurveSet::derivate ( ) const
inline

◆ disconnect()

bool FmCurveSet::disconnect ( )
virtual

Removes this object from the model database.

Reimplemented from FmBase.

◆ doAnalysis()

bool FmCurveSet::doAnalysis ( ) const
inline

◆ doDft()

bool FmCurveSet::doDft ( ) const
inline

◆ doRainflow()

bool FmCurveSet::doRainflow ( ) const
inline

◆ FFaEnumMapping() [1/3]

FmCurveSet::FFaEnumMapping ( Analysis  )
inlineprivate

◆ FFaEnumMapping() [2/3]

FmCurveSet::FFaEnumMapping ( InputMode  )
inlineprivate

◆ FFaEnumMapping() [3/3]

FmCurveSet::FFaEnumMapping ( LifeUnit  )
inlineprivate

◆ Fmd_DB_HEADER_INIT()

FmCurveSet::Fmd_DB_HEADER_INIT ( )
private

◆ getActiveCurveComps()

size_t FmCurveSet::getActiveCurveComps ( std::vector< FmCurveSet * > &  curves) const

◆ getAnalysisFlag()

Analysis FmCurveSet::getAnalysisFlag ( ) const
inline

◆ getAutoLegend()

bool FmCurveSet::getAutoLegend ( ) const
inline

◆ getChannelName()

const std::string & FmCurveSet::getChannelName ( ) const

◆ getColor()

const FmColor& FmCurveSet::getColor ( ) const
inline

◆ getCompNames()

const char ** FmCurveSet::getCompNames ( )
static

◆ getCurveComps()

size_t FmCurveSet::getCurveComps ( std::vector< FmCurveSet * > &  curves,
std::vector< bool > &  active 
) const

◆ getCurveNumSymbols()

int FmCurveSet::getCurveNumSymbols ( ) const
inline

◆ getCurveStyle()

int FmCurveSet::getCurveStyle ( ) const
inline

◆ getCurveSymbol()

int FmCurveSet::getCurveSymbol ( ) const
inline

◆ getCurveSymbolSize()

int FmCurveSet::getCurveSymbolSize ( ) const
inline

◆ getCurveWidth()

int FmCurveSet::getCurveWidth ( ) const
inline

◆ getDftDomain()

const FmRange& FmCurveSet::getDftDomain ( ) const
inline

◆ getDftEntireDomain()

bool FmCurveSet::getDftEntireDomain ( ) const
inline

◆ getDFTparameters()

DFTparams FmCurveSet::getDFTparameters ( ) const

◆ getDftRemoveComp()

bool FmCurveSet::getDftRemoveComp ( ) const
inline

◆ getDftResample()

bool FmCurveSet::getDftResample ( ) const
inline

◆ getDftResampleRate()

double FmCurveSet::getDftResampleRate ( ) const
inline

◆ getExpression()

const std::string& FmCurveSet::getExpression ( ) const
inline

◆ getFatigueDomain()

const FmRange& FmCurveSet::getFatigueDomain ( ) const
inline

◆ getFatigueEntireDomain()

bool FmCurveSet::getFatigueEntireDomain ( ) const
inline

◆ getFatigueGateValue()

double FmCurveSet::getFatigueGateValue ( ) const
inline

◆ getFatigueLifeUnit()

LifeUnit FmCurveSet::getFatigueLifeUnit ( ) const
inline

◆ getFatigueSNCurve()

int FmCurveSet::getFatigueSNCurve ( ) const
inline

◆ getFatigueSNStd()

int FmCurveSet::getFatigueSNStd ( ) const
inline

◆ getFilePath()

const std::string& FmCurveSet::getFilePath ( ) const
inline

◆ getFuncDomain()

const FmRange& FmCurveSet::getFuncDomain ( ) const
inline

◆ getFunctionRef()

FmMathFuncBase* FmCurveSet::getFunctionRef ( ) const
inline

◆ getIncX()

double FmCurveSet::getIncX ( ) const
inline

◆ getLegend()

const std::string& FmCurveSet::getLegend ( ) const
inline

◆ getOwnerGraph()

FmGraph* FmCurveSet::getOwnerGraph ( ) const
inline

◆ getResult()

const FFaResultDescription & FmCurveSet::getResult ( int  axis) const

◆ getResultObj()

FmIsPlottedBase* FmCurveSet::getResultObj ( int  axis) const
inline

◆ getResultOper()

const std::string& FmCurveSet::getResultOper ( int  axis) const
inline

◆ getSpatialObjs()

void FmCurveSet::getSpatialObjs ( std::vector< FmIsPlottedBase * > &  objs) const

◆ getTimeOper()

const std::string& FmCurveSet::getTimeOper ( ) const
inline

◆ getTimeRange()

const FmRange& FmCurveSet::getTimeRange ( ) const
inline

◆ getUITypeName()

virtual const char* FmCurveSet::getUITypeName ( ) const
inlinevirtual

Returns the type name of this object for use in the GUI.

Reimplemented from FmBase.

◆ getUseSmartPoints()

bool FmCurveSet::getUseSmartPoints ( ) const
inline

◆ getXOffset()

double FmCurveSet::getXOffset ( ) const
inline

◆ getXScale()

double FmCurveSet::getXScale ( ) const
inline

◆ getXZeroAdjust()

bool FmCurveSet::getXZeroAdjust ( ) const
inline

◆ getYOffset()

double FmCurveSet::getYOffset ( ) const
inline

◆ getYScale()

double FmCurveSet::getYScale ( ) const
inline

◆ getYZeroAdjust()

bool FmCurveSet::getYZeroAdjust ( ) const
inline

◆ hasDFTOptionsChanged()

bool FmCurveSet::hasDFTOptionsChanged ( int  opt = 0) const

◆ hasNonDefaultScaleShift()

bool FmCurveSet::hasNonDefaultScaleShift ( ) const

◆ hasScaleOrOffsetChanged()

bool FmCurveSet::hasScaleOrOffsetChanged ( ) const
inline

◆ hasXYDataChanged()

bool FmCurveSet::hasXYDataChanged ( ) const
inline

◆ initAfterResolve()

void FmCurveSet::initAfterResolve ( )
virtual

Initializes the fields after resolve.

Reimplemented from FFaFieldContainer.

◆ integrate()

bool FmCurveSet::integrate ( ) const
inline

◆ isAutoExported()

bool FmCurveSet::isAutoExported ( ) const
inline

◆ isFatigueCurve()

bool FmCurveSet::isFatigueCurve ( ) const

Checks if fatigue calculation can be performed on the curve data.

◆ isResultDependent()

bool FmCurveSet::isResultDependent ( ) const

◆ isTimeAxis()

bool FmCurveSet::isTimeAxis ( int  axis)

◆ localParse()

bool FmCurveSet::localParse ( const char *  keyWord,
std::istream &  activeStatement,
FmCurveSet *  obj,
std::string &  obsolete 
)
staticprivate

◆ moveTo()

bool FmCurveSet::moveTo ( FmGraph *  graph)
inline

◆ needsManualRefresh()

bool FmCurveSet::needsManualRefresh ( ) const

◆ onDataChanged()

void FmCurveSet::onDataChanged ( )

◆ readAndConnect()

bool FmCurveSet::readAndConnect ( std::istream &  is,
std::ostream &  os = std::cout 
)
static

◆ reload()

void FmCurveSet::reload ( bool  recursive = false)

◆ setAnalysisFlag()

bool FmCurveSet::setAnalysisFlag ( Analysis  flag,
bool  mChange = true 
)

◆ setAutoLegend()

bool FmCurveSet::setAutoLegend ( bool  yesOrNo)

◆ setChannelName()

bool FmCurveSet::setChannelName ( const std::string &  channelName)

◆ setColor() [1/2]

bool FmCurveSet::setColor ( const FmColor &  color)
inline

◆ setColor() [2/2]

bool FmCurveSet::setColor ( float  r,
float  g,
float  b 
)
inline

◆ setCurveComp()

bool FmCurveSet::setCurveComp ( FmCurveSet *  curve,
int  icomp = 0 
)

◆ setCurveNumSymbols()

bool FmCurveSet::setCurveNumSymbols ( int  num)
inline

◆ setCurveStyle()

bool FmCurveSet::setCurveStyle ( int  style)
inline

◆ setCurveSymbol()

bool FmCurveSet::setCurveSymbol ( int  symbol)
inline

◆ setCurveSymbolSize()

bool FmCurveSet::setCurveSymbolSize ( int  size)
inline

◆ setCurveWidth()

bool FmCurveSet::setCurveWidth ( int  width)
inline

◆ setDftDomain()

bool FmCurveSet::setDftDomain ( const FmRange &  domain)

◆ setDftEntireDomain()

bool FmCurveSet::setDftEntireDomain ( bool  useOrNot)

◆ setDftRemoveComp()

bool FmCurveSet::setDftRemoveComp ( bool  yesOrNo)

◆ setDftResample()

bool FmCurveSet::setDftResample ( bool  doOrDont)

◆ setDftResampleRate()

bool FmCurveSet::setDftResampleRate ( double  rate)

◆ setExpression()

bool FmCurveSet::setExpression ( const std::string &  expression)

◆ setFatigueDomain()

bool FmCurveSet::setFatigueDomain ( const FmRange &  domain)

◆ setFatigueEntireDomain()

bool FmCurveSet::setFatigueEntireDomain ( bool  useOrNot)

◆ setFatigueGateValue()

bool FmCurveSet::setFatigueGateValue ( double  value)

◆ setFatigueLifeUnit()

bool FmCurveSet::setFatigueLifeUnit ( LifeUnit  unit)
inline

◆ setFatigueSNCurve()

bool FmCurveSet::setFatigueSNCurve ( int  curve)
inline

◆ setFatigueSNStd()

bool FmCurveSet::setFatigueSNStd ( int  snStd)
inline

◆ setFilePath()

bool FmCurveSet::setFilePath ( const std::string &  path)

◆ setFuncDomain()

bool FmCurveSet::setFuncDomain ( const FmRange &  domain)

◆ setFunctionRef()

bool FmCurveSet::setFunctionRef ( FmModelMemberBase *  func)

◆ setIncX()

bool FmCurveSet::setIncX ( double  incX)

◆ setLegend()

bool FmCurveSet::setLegend ( const std::string &  legend)

◆ setOffset()

bool FmCurveSet::setOffset ( double  offsetX,
double  offsetY 
)

◆ setOwnerGraph()

void FmCurveSet::setOwnerGraph ( FmGraph *  graph)
inline

◆ setResult()

bool FmCurveSet::setResult ( int  axis,
const FFaResultDescription &  descr 
)

◆ setResultObj()

bool FmCurveSet::setResultObj ( int  axis,
const FFaResultDescription &  descr 
)

◆ setResultOper()

bool FmCurveSet::setResultOper ( int  axis,
const std::string &  oper 
)

◆ setScaleFactor()

bool FmCurveSet::setScaleFactor ( double  scaleX,
double  scaleY 
)

◆ setSpatialObjs()

bool FmCurveSet::setSpatialObjs ( const std::vector< FmIsPlottedBase * > &  objs)

◆ setTimeOper()

bool FmCurveSet::setTimeOper ( const std::string &  oper)

◆ setTimeRange()

bool FmCurveSet::setTimeRange ( const FmRange &  tRange)

◆ setToBeExportedBatch()

void FmCurveSet::setToBeExportedBatch ( bool  yesOrNo)
inline

◆ setUseSmartPoints()

bool FmCurveSet::setUseSmartPoints ( bool  use)

◆ setZeroAdjust()

bool FmCurveSet::setZeroAdjust ( bool  doZeroAdjustX,
bool  doZeroAdjustY 
)

◆ useInputMode()

bool FmCurveSet::useInputMode ( InputMode  mode,
bool  isChanged = true 
)

◆ usingInputMode()

InputMode FmCurveSet::usingInputMode ( ) const
inline

◆ writeFMF()

std::ostream & FmCurveSet::writeFMF ( std::ostream &  os = std::cout)
virtual

Writes out this object in the model database file format.

Reimplemented from FmBase.

Member Data Documentation

◆ myActiveCurves

std::set<size_t> FmCurveSet::myActiveCurves
protected

◆ myAnalysisFlag

FFaField<AnalysisEnum> FmCurveSet::myAnalysisFlag
protected

◆ myAnalysisOptionChanged

char FmCurveSet::myAnalysisOptionChanged
private

◆ myAutoCurveExportFlag

FFaField<bool> FmCurveSet::myAutoCurveExportFlag
protected

◆ myAutoLegend

FFaField<bool> FmCurveSet::myAutoLegend
protected

◆ myChannelName

FFaField<std::string> FmCurveSet::myChannelName
protected

◆ myColor

FFaField<FmColor> FmCurveSet::myColor
protected

◆ myCurves

FFaReferenceList<FmCurveSet> FmCurveSet::myCurves
protected

◆ myCurvesField

FFaField<FFaReferenceListBase*> FmCurveSet::myCurvesField
protected

◆ myCurveStyle

FFaField<int> FmCurveSet::myCurveStyle
protected

◆ myCurveSymbol

FFaField<int> FmCurveSet::myCurveSymbol
protected

◆ myCurveSymbolSize

FFaField<int> FmCurveSet::myCurveSymbolSize
protected

◆ myCurveWidth

FFaField<int> FmCurveSet::myCurveWidth
protected

◆ myDftDomain

FFaField<FmRange> FmCurveSet::myDftDomain
protected

◆ myDftEntireDomain

FFaField<bool> FmCurveSet::myDftEntireDomain
protected

◆ myDftRemoveComp

FFaField<bool> FmCurveSet::myDftRemoveComp
protected

◆ myDftResample

FFaField<bool> FmCurveSet::myDftResample
protected

◆ myDftResampleRate

FFaField<double> FmCurveSet::myDftResampleRate
protected

◆ myExpression

FFaField<std::string> FmCurveSet::myExpression
protected

◆ myFatigueDomain

FFaField<FmRange> FmCurveSet::myFatigueDomain
protected

◆ myFatigueEntireDomain

FFaField<bool> FmCurveSet::myFatigueEntireDomain
protected

◆ myFatigueGateValue

FFaField<double> FmCurveSet::myFatigueGateValue
protected

◆ myFatigueLifeUnit

FFaField<LifeUnitEnum> FmCurveSet::myFatigueLifeUnit
protected

◆ myFatigueSNCurve

FFaField<int> FmCurveSet::myFatigueSNCurve
protected

◆ myFatigueSNStd

FFaField<int> FmCurveSet::myFatigueSNStd
protected

◆ myFilePath

FFaField<std::string> FmCurveSet::myFilePath

◆ myFuncAutoInc

FFaField<bool> FmCurveSet::myFuncAutoInc
protected

◆ myFuncDomain

FFaField<FmRange> FmCurveSet::myFuncDomain
protected

◆ myFuncInc

FFaField<double> FmCurveSet::myFuncInc
protected

◆ myFunction

FFaReference<FmMathFuncBase> FmCurveSet::myFunction
protected

◆ myFunctionField

FFaField<FFaReferenceBase*> FmCurveSet::myFunctionField
protected

◆ myInputMode

FFaField<InputModeEnum> FmCurveSet::myInputMode
protected

◆ myLegend

FFaField<std::string> FmCurveSet::myLegend
protected

◆ myNumCurveSymbols

FFaField<int> FmCurveSet::myNumCurveSymbols
protected

◆ myOffset

FFaField<double> FmCurveSet::myOffset[NAXES]
protected

◆ myOwnerGraph

FFaReference<FmGraph> FmCurveSet::myOwnerGraph
protected

◆ myOwnerGraphField

FFaField<FFaReferenceBase*> FmCurveSet::myOwnerGraphField
protected

◆ myRDBResultOpers

FFaField<std::string> FmCurveSet::myRDBResultOpers[NAXES]
protected

◆ myRDBResults

FFaField<FFaResultDescription> FmCurveSet::myRDBResults[NAXES]
protected

◆ myResultObject

FFaReference<FmIsPlottedBase> FmCurveSet::myResultObject[NAXES]
protected

◆ myResultObjectField

FFaField<FFaReferenceBase*> FmCurveSet::myResultObjectField[NAXES]
protected

◆ myScaleFactor

FFaField<double> FmCurveSet::myScaleFactor[NAXES]
protected

◆ myScaleOrOffsetChanged

bool FmCurveSet::myScaleOrOffsetChanged
private

◆ mySpatialObjects

FFaReferenceList<FmIsPlottedBase> FmCurveSet::mySpatialObjects
protected

◆ mySpatialObjectsField

FFaField<FFaReferenceListBase*> FmCurveSet::mySpatialObjectsField
protected

◆ myTimeOper

FFaField<std::string> FmCurveSet::myTimeOper
protected

◆ myTimeRange

FFaField<FmRange> FmCurveSet::myTimeRange
protected

◆ myXYDataChanged

bool FmCurveSet::myXYDataChanged
private

◆ myZeroAdjust

FFaField<bool> FmCurveSet::myZeroAdjust[NAXES]
protected

The documentation for this class was generated from the following files: