OpenVSP API Documentation 3.41.0
 
Loading...
Searching...
No Matches
CustomGeomMgrSingleton Class Reference
Collaboration diagram for CustomGeomMgrSingleton:
[legend]

Public Member Functions

void InitGeom (const string &id, const string &module_name, const string &display_name)
 
void SetCurrCustomGeom (const string &id)
 
string GetCurrCustomGeom ()
 
void ReadCustomScripts (Vehicle *veh)
 
vector< GeomType > GetCustomTypes ()
 
string AddParm (int type, const string &name, const string &group)
 
string GetCustomParm (int index)
 
int AddGui (int type, const string &label=string(), const string &parm_name=string(), const string &group_name=string(), double range=10)
 
vector< GuiDef > GetGuiDefVec (const string &geom_id)
 
void AddUpdateGui (int gui_id, const string &parm_id)
 
vector< GuiUpdate > GetGuiUpdateVec ()
 
bool CheckClearTriggerEvent (int gui_id)
 
string AddXSecSurf ()
 
void RemoveXSecSurf (const string &id)
 
void ClearXSecSurfs ()
 
void SkinXSecSurf (bool closed_flag)
 
void TransformSurf (int index, Matrix4d &mat)
 
void CloneSurf (int index, Matrix4d &mat)
 
void SetVspSurfType (int type, int surf_id=-1)
 
void SetVspSurfCfdType (int type, int surf_id=-1)
 
void SetupCustomDefaultSource (int type, int surf_index, double l1, double r1, double u1, double w1, double l2=0, double r2=0, double u2=0, double w2=0)
 
void ClearAllCustomDefaultSources ()
 
void SetCustomCenter (double x, double y, double z)
 
void SetCustomXSecLoc (const string &xsec_id, const vec3d &loc)
 
vec3d GetCustomXSecLoc (const string &xsec_id)
 
void SetCustomXSecRot (const string &xsec_id, const vec3d &rot)
 
vec3d GetCustomXSecRot (const string &xsec_id)
 
string AppendCustomXSec (const string &xsec_surf_id, int type)
 
void CutCustomXSec (const string &xsec_surf_id, int index)
 
void CopyCustomXSec (const string &xsec_surf_id, int index)
 
void PasteCustomXSec (const string &xsec_surf_id, int index)
 
string InsertCustomXSec (const string &xsec_surf_id, int type, int index)
 
vector< string > GetCustomScriptModuleNames ()
 

Static Public Member Functions

static CustomGeomMgrSingletongetInstance ()
 
static void Init ()
 
static int SaveScriptContentToFile (const string &module_name, const string &file_name)
 

Private Member Functions

 CustomGeomMgrSingleton (CustomGeomMgrSingleton const &copy)
 
CustomGeomMgrSingletonoperator= (CustomGeomMgrSingleton const &copy)
 

Private Attributes

string m_CurrGeom
 
vector< GeomType > m_CustomTypeVec
 
map< string, string > m_ModuleGeomIDMap
 

Detailed Description

Definition at line 48 of file CustomGeom.h.

Member Function Documentation

◆ GetCurrCustomGeom()

string CustomGeomMgrSingleton::GetCurrCustomGeom ( )
inline

Definition at line 61 of file CustomGeom.h.

◆ GetCustomTypes()

vector< GeomType > CustomGeomMgrSingleton::GetCustomTypes ( )
inline

Definition at line 64 of file CustomGeom.h.

◆ getInstance()

static CustomGeomMgrSingleton & CustomGeomMgrSingleton::getInstance ( )
inlinestatic

Definition at line 51 of file CustomGeom.h.

◆ Init()

static void CustomGeomMgrSingleton::Init ( )
inlinestatic

Definition at line 56 of file CustomGeom.h.

◆ SetCurrCustomGeom()

void CustomGeomMgrSingleton::SetCurrCustomGeom ( const string & id)
inline

Definition at line 60 of file CustomGeom.h.

Member Data Documentation

◆ m_CurrGeom

string CustomGeomMgrSingleton::m_CurrGeom
private

Definition at line 126 of file CustomGeom.h.

◆ m_CustomTypeVec

vector< GeomType > CustomGeomMgrSingleton::m_CustomTypeVec
private

Definition at line 127 of file CustomGeom.h.

◆ m_ModuleGeomIDMap

map< string, string > CustomGeomMgrSingleton::m_ModuleGeomIDMap
private

Definition at line 128 of file CustomGeom.h.


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