8 #ifndef FM_GLOBAL_VIEW_SETTINGS_H
9 #define FM_GLOBAL_VIEW_SETTINGS_H
125 static bool localParse(
const char* keyWord, std::istream& activeStatement,
242 void setSolidMode(
bool mode,
bool showEdgesInSolid =
true);
256 static bool readAndConnect(std::istream& is, std::ostream& os = std::cout);
257 virtual std::ostream&
writeFMF(std::ostream& os = std::cout);
260 virtual const char*
getUITypeName()
const {
return "Global view settings"; }
Position matrices in 3D space.
Base parent class for the model data structure entries.
Class for positions in 3D space.
Definition: FFaMat34.H:32
Class for point vectors in 3D space.
Definition: FFaVec3.H:40
Base parent class for the model data structure entries.
Definition: FmBase.H:37
Representation of a RGB color by floats in range [0.0,1.0].
Definition: FmColor.H:24
Definition: FmGlobalViewSettings.H:41
FFaField< bool > itsIsBeamCSVisible
Definition: FmGlobalViewSettings.H:77
bool visibleCylindricJoints() const
Definition: FmGlobalViewSettings.C:493
FFaField< FmSymbolSpec > itsSpecJoints
Definition: FmGlobalViewSettings.H:93
void setSymbolLineWidth(int width)
Definition: FmGlobalViewSettings.C:271
bool visibleParts() const
Definition: FmGlobalViewSettings.C:550
FFaField< bool > ctrlSnapOn
Definition: FmGlobalViewSettings.H:117
void showBallJoints(bool)
Definition: FmGlobalViewSettings.C:446
void showFeedbacks(bool)
Definition: FmGlobalViewSettings.C:773
virtual ~FmGlobalViewSettings()
Definition: FmGlobalViewSettings.C:97
FFaField< double > ctrlGridSizeX
Definition: FmGlobalViewSettings.H:114
void showStrainRosettes(bool)
Definition: FmGlobalViewSettings.C:803
FmGlobalViewSettings()
Definition: FmGlobalViewSettings.C:33
const FmColor & getSprDaColor() const
Definition: FmGlobalViewSettings.C:662
bool visiblePartCS() const
Definition: FmGlobalViewSettings.C:563
FFaField< double > ctrlSnapDistanceX
Definition: FmGlobalViewSettings.H:118
FFaField< bool > itsSolidMode
Definition: FmGlobalViewSettings.H:83
void showHPs(bool)
Definition: FmGlobalViewSettings.C:683
bool getNiceTransparency() const
Definition: FmGlobalViewSettings.C:282
void setGroundedTriadColor(const FmColor &color)
Definition: FmGlobalViewSettings.C:390
void showBeams(bool)
Definition: FmGlobalViewSettings.C:526
FFaField< FmSymbolSpec > itsSpecHPs
Definition: FmGlobalViewSettings.H:92
FFaField< double > ctrlHeight
Definition: FmGlobalViewSettings.H:111
void setJointColor(const FmColor &color)
Definition: FmGlobalViewSettings.C:420
bool visibleLoads() const
Definition: FmGlobalViewSettings.C:738
FFaField< FmSymbolSpec > itsSpecLoads
Definition: FmGlobalViewSettings.H:94
FFaField< FmColor > itsInactiveColor
Definition: FmGlobalViewSettings.H:79
bool visibleTires() const
Definition: FmGlobalViewSettings.C:828
void setSprDaColor(const FmColor &color)
Definition: FmGlobalViewSettings.C:667
void showCylindricJoints(bool)
Definition: FmGlobalViewSettings.C:498
void setHPColor(const FmColor &color)
Definition: FmGlobalViewSettings.C:697
FFaField< double > itsFogVisibility
Definition: FmGlobalViewSettings.H:89
const FmColor & getFeedbackColor() const
Definition: FmGlobalViewSettings.C:782
FFaField< double > cameraFocalDistance
Definition: FmGlobalViewSettings.H:105
void showWaves(bool)
Definition: FmGlobalViewSettings.C:204
double getFogVisibility() const
Definition: FmGlobalViewSettings.C:319
void showFreeJoints(bool)
Definition: FmGlobalViewSettings.C:472
bool visibleFeedbacks() const
Definition: FmGlobalViewSettings.C:768
void showRefPlanes(bool)
Definition: FmGlobalViewSettings.C:174
void setStrainRosetteColor(const FmColor &color)
Definition: FmGlobalViewSettings.C:817
void setLoadColor(const FmColor &color)
Definition: FmGlobalViewSettings.C:757
bool visibleBeamCS() const
Definition: FmGlobalViewSettings.C:534
const FmColor & getStickerColor() const
Definition: FmGlobalViewSettings.C:722
FFaField< bool > itsIsRevoluteJointsVisible
Definition: FmGlobalViewSettings.H:60
FFaField< bool > itsIsFreeJointsVisible
Definition: FmGlobalViewSettings.H:63
FFaField< bool > itsSolidModeWithEdges
Definition: FmGlobalViewSettings.H:84
bool visibleStickers() const
Definition: FmGlobalViewSettings.C:708
void setTireColor(const FmColor &color)
Definition: FmGlobalViewSettings.C:847
void showBeamTriads(bool)
Definition: FmGlobalViewSettings.C:362
bool visibleJoints() const
Definition: FmGlobalViewSettings.C:401
void setFogVisibility(double vis)
Definition: FmGlobalViewSettings.C:332
FFaField< FmSymbolSpec > itsSpecTires
Definition: FmGlobalViewSettings.H:98
FFaField< int > itsSymbolLineWidth
Definition: FmGlobalViewSettings.H:102
void showInternalPartCSs(bool)
Definition: FmGlobalViewSettings.C:582
bool visibleStrainRosettes() const
Definition: FmGlobalViewSettings.C:798
void sync() const
Definition: FmGlobalViewSettings.C:109
FFaField< FmColor > itsGroundedColor
Definition: FmGlobalViewSettings.H:80
const FmColor & getJointColor() const
Definition: FmGlobalViewSettings.C:415
int getSymbolLineWidth() const
Definition: FmGlobalViewSettings.C:266
FFaField< bool > itsIsPartsVisible
Definition: FmGlobalViewSettings.H:71
virtual bool cloneLocal(FmBase *obj, int depth)
Clones the data fields of *obj into *this.
Definition: FmGlobalViewSettings.C:949
void showParts(bool)
Definition: FmGlobalViewSettings.C:555
void setCameraData(const cameraData &cData, bool updateDisplay=true)
Definition: FmGlobalViewSettings.C:889
FFaField< double > ctrlGridSizeY
Definition: FmGlobalViewSettings.H:115
FFaField< bool > itsIsRefPlaneVisible
Definition: FmGlobalViewSettings.H:68
void setSymbolScale(float var)
Definition: FmGlobalViewSettings.C:863
virtual bool clone(FmBase *obj, int depth)
Copies the fields of another object into *this.
Definition: FmGlobalViewSettings.C:955
bool visibleHPs() const
Definition: FmGlobalViewSettings.C:678
void setNiceTransparency(bool transpMode)
Definition: FmGlobalViewSettings.C:287
bool visibleBeams() const
Definition: FmGlobalViewSettings.C:521
static void setLinkDefaultColors(std::vector< FmColor > &colors)
Definition: FmGlobalViewSettings.C:613
const FmColor & getLoadColor() const
Definition: FmGlobalViewSettings.C:752
FFaField< double > ctrlSnapDistanceY
Definition: FmGlobalViewSettings.H:119
FFaField< FaVec3 > ctrlTranslation
Definition: FmGlobalViewSettings.H:109
void setSolidMode(bool mode, bool showEdgesInSolid=true)
Definition: FmGlobalViewSettings.C:222
bool visibleBeamTriads() const
Definition: FmGlobalViewSettings.C:357
FFaField< double > cameraHeight
Definition: FmGlobalViewSettings.H:106
static const FmColor & getLinkDefaultColor(int index=-1)
Definition: FmGlobalViewSettings.C:619
FFaField< bool > ctrlGridOn
Definition: FmGlobalViewSettings.H:113
void setFeedbackColor(const FmColor &color)
Definition: FmGlobalViewSettings.C:787
bool visiblePartCoGCSs() const
Definition: FmGlobalViewSettings.C:592
FFaField< FmSymbolSpec > itsSpecTriads
Definition: FmGlobalViewSettings.H:97
bool visibleSprDas() const
Definition: FmGlobalViewSettings.C:648
const FmColor & getTriadColor() const
Definition: FmGlobalViewSettings.C:371
const FmColor & getStrainRosetteColor() const
Definition: FmGlobalViewSettings.C:812
FFaField< bool > itsIsPrismaticJointsVisible
Definition: FmGlobalViewSettings.H:64
FFaField< FmSymbolSpec > itsSpecRosettes
Definition: FmGlobalViewSettings.H:99
virtual const char * getUITypeName() const
Returns the type name of this object for use in the GUI.
Definition: FmGlobalViewSettings.H:260
void showPartCS(bool)
Definition: FmGlobalViewSettings.C:568
void showJoints(bool)
Definition: FmGlobalViewSettings.C:406
void showRevoluteJoints(bool)
Definition: FmGlobalViewSettings.C:433
void setAntialiazingOn(bool flag)
Definition: FmGlobalViewSettings.C:303
float getSymbolScale() const
Definition: FmGlobalViewSettings.C:858
FFaField< bool > itsIsCamJointsVisible
Definition: FmGlobalViewSettings.H:66
FFaField< bool > itsIsSeaStateVisible
Definition: FmGlobalViewSettings.H:69
void setCtrlViewData(const ctrlViewData &cvData, bool updateDisplay=true)
Definition: FmGlobalViewSettings.C:925
FFaField< bool > cameraOrthographicFlag
Definition: FmGlobalViewSettings.H:107
bool getSolidMode() const
Definition: FmGlobalViewSettings.C:212
bool visibleRefPlanes() const
Definition: FmGlobalViewSettings.C:169
FFaField< bool > itsIsBeamTriadsVisible
Definition: FmGlobalViewSettings.H:75
void showTriads(bool)
Definition: FmGlobalViewSettings.C:348
bool visibleInternalPartCSs() const
Definition: FmGlobalViewSettings.C:577
FFaField< FmColor > itsViewerBackgroundColor
Definition: FmGlobalViewSettings.H:81
FFaField< bool > itsIsBallJointsVisible
Definition: FmGlobalViewSettings.H:61
FFaField< FmSymbolSpec > itsSpecSprDas
Definition: FmGlobalViewSettings.H:95
FFaField< bool > itsIsPartCoGCSsVisible
Definition: FmGlobalViewSettings.H:74
void setViewerBackgroundColor(const FmColor &color)
Definition: FmGlobalViewSettings.C:239
const FmColor & getHPColor() const
Definition: FmGlobalViewSettings.C:692
FFaField< bool > itsIsWavesVisible
Definition: FmGlobalViewSettings.H:70
FFaField< FmSymbolSpec > itsSpecFeedbacks
Definition: FmGlobalViewSettings.H:91
void showBeamCS(bool)
Definition: FmGlobalViewSettings.C:539
void showStickers(bool)
Definition: FmGlobalViewSettings.C:713
FFaField< FmSymbolSpec > itsSpecStickers
Definition: FmGlobalViewSettings.H:96
void setTriadColor(const FmColor &color)
Definition: FmGlobalViewSettings.C:376
bool visibleRevoluteJoints() const
Definition: FmGlobalViewSettings.C:428
const FmColor & getTireColor() const
Definition: FmGlobalViewSettings.C:842
bool visibleRigidJoints() const
Definition: FmGlobalViewSettings.C:454
FFaField< bool > itsIsInternalPartCSsVisible
Definition: FmGlobalViewSettings.H:73
FFaField< bool > itsUseAntialiazingFlag
Definition: FmGlobalViewSettings.H:87
FFaField< bool > itsUseFogFlag
Definition: FmGlobalViewSettings.H:88
bool visibleFreeJoints() const
Definition: FmGlobalViewSettings.C:467
void setInactiveColor(const FmColor &color)
Definition: FmGlobalViewSettings.C:255
FFaField< bool > itsIsPartCSVisible
Definition: FmGlobalViewSettings.H:72
void showSeaStates(bool)
Definition: FmGlobalViewSettings.C:190
virtual std::ostream & writeFMF(std::ostream &os=std::cout)
Writes out this object in the model database file format.
Definition: FmGlobalViewSettings.C:967
void showTires(bool)
Definition: FmGlobalViewSettings.C:833
void showSprDas(bool)
Definition: FmGlobalViewSettings.C:653
FFaField< bool > itsNiceTransparency
Definition: FmGlobalViewSettings.H:86
const FmColor & getViewerBackgroundColor() const
Definition: FmGlobalViewSettings.C:234
void showPrismaticJoints(bool)
Definition: FmGlobalViewSettings.C:485
void showPartCoGCSs(bool)
Definition: FmGlobalViewSettings.C:598
const FmColor & getInactiveColor() const
Definition: FmGlobalViewSettings.C:250
FFaField< FaMat34 > cameraOrientation
Definition: FmGlobalViewSettings.H:104
bool visibleTriads() const
Definition: FmGlobalViewSettings.C:343
FFaField< double > ctrlFocalDistance
Definition: FmGlobalViewSettings.H:110
FFaField< bool > itsIsBeamsVisible
Definition: FmGlobalViewSettings.H:76
ctrlViewData & getCtrlViewData() const
Definition: FmGlobalViewSettings.C:907
void showLoads(bool)
Definition: FmGlobalViewSettings.C:743
static bool localParse(const char *keyWord, std::istream &activeStatement, FmGlobalViewSettings *obj)
Definition: FmGlobalViewSettings.C:1025
bool isAntialiazingOn() const
Definition: FmGlobalViewSettings.C:298
FFaField< float > itsSymbolScale
Definition: FmGlobalViewSettings.H:101
FFaField< bool > itsIsRigidJointsVisible
Definition: FmGlobalViewSettings.H:62
bool isFogOn() const
Definition: FmGlobalViewSettings.C:314
void showRigidJoints(bool)
Definition: FmGlobalViewSettings.C:459
void showCamJoints(bool)
Definition: FmGlobalViewSettings.C:511
FFaField< bool > itsIsCylindricJointsVisible
Definition: FmGlobalViewSettings.H:65
void setStickerColor(const FmColor &color)
Definition: FmGlobalViewSettings.C:727
bool visibleSeaStates() const
Definition: FmGlobalViewSettings.C:185
bool visibleCamJoints() const
Definition: FmGlobalViewSettings.C:506
const FmColor & getGroundedTriadColor() const
Definition: FmGlobalViewSettings.C:385
bool visibleBallJoints() const
Definition: FmGlobalViewSettings.C:441
bool visiblePrismaticJoints() const
Definition: FmGlobalViewSettings.C:480
void setFogOn(bool flag)
Definition: FmGlobalViewSettings.C:324
static bool readAndConnect(std::istream &is, std::ostream &os=std::cout)
Definition: FmGlobalViewSettings.C:985
bool visibleWaves() const
Definition: FmGlobalViewSettings.C:199
bool getSolidModeWithEdges() const
Definition: FmGlobalViewSettings.C:217
cameraData & getCameraData() const
Definition: FmGlobalViewSettings.C:877
Definition: FmGlobalViewSettings.H:45
FmColor color
Definition: FmGlobalViewSettings.H:47
FmSymbolSpec(double r, double g, double b)
Definition: FmGlobalViewSettings.H:49
friend std::istream & operator>>(std::istream &is, FmSymbolSpec &obj)
Definition: FmGlobalViewSettings.H:54
FmSymbolSpec()
Definition: FmGlobalViewSettings.H:48
friend std::ostream & operator<<(std::ostream &os, const FmSymbolSpec &obj)
Definition: FmGlobalViewSettings.H:52
bool operator==(const FmSymbolSpec &obj) const
Definition: FmGlobalViewSettings.H:50
bool visible
Definition: FmGlobalViewSettings.H:46
Definition: FmGlobalViewSettings.H:17
double itsFocalDistance
Definition: FmGlobalViewSettings.H:19
bool itsIsOrthographicFlag
Definition: FmGlobalViewSettings.H:21
double itsHeight
Definition: FmGlobalViewSettings.H:20
FaMat34 itsCameraOrientation
Definition: FmGlobalViewSettings.H:18
Definition: FmGlobalViewSettings.H:26
FaVec3 itsCameraTranslation
Definition: FmGlobalViewSettings.H:27
bool isGridOn
Definition: FmGlobalViewSettings.H:30
double itsGridSizeY
Definition: FmGlobalViewSettings.H:32
bool isSnapOn
Definition: FmGlobalViewSettings.H:34
double itsSnapDistanceY
Definition: FmGlobalViewSettings.H:36
double itsGridSizeX
Definition: FmGlobalViewSettings.H:31
double itsFocalDistance
Definition: FmGlobalViewSettings.H:28
double itsSnapDistanceX
Definition: FmGlobalViewSettings.H:35