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

Public Member Functions

 CustomGeom (Vehicle *vehicle_ptr)
 
void Clear ()
 
void InitGeom ()
 
void SetScriptModuleName (const string &name)
 
string GetScriptModuleName ()
 
void SetDisplayName (const string &name)
 
string GetDisplayName ()
 
string AddParm (int type, const string &name, const string &group)
 
string FindParmID (int index)
 
int AddGui (const GuiDef &gd)
 
vector< GuiDef > GetGuiDefVec ()
 
void AddGuiTriggerEvent (int gui_index)
 
bool CheckClearTriggerEvent (int gui_index)
 
void AddUpdateGui (const GuiUpdate &gu)
 
vector< GuiUpdate > GetGuiUpdateVec ()
 
string AddXSecSurf ()
 
void RemoveXSecSurf (const string &id)
 
void ClearXSecSurfs ()
 
virtual int GetNumXSecSurfs () const
 
virtual XSecSurf * GetXSecSurf (int index)
 
virtual void SkinXSecSurf (bool closed_flag)
 
virtual void CloneSurf (int index, Matrix4d &mat)
 
virtual void TransformSurf (int index, Matrix4d &mat)
 
virtual xmlNodePtr EncodeXml (xmlNodePtr &node)
 
virtual xmlNodePtr DecodeXml (xmlNodePtr &node)
 
virtual void SetVspSurfType (int type, int surf_id=-1)
 
virtual void SetVspSurfCfdType (int type, int surf_id=-1)
 
virtual void AddDefaultSources (double base_len=1.0)
 
virtual void SetUpDefaultSource (SourceData &sd)
 
virtual void ClearAllDefaultSources ()
 
virtual void ComputeCenter ()
 
virtual void Scale ()
 
virtual void OffsetXSecs (double off)
 

Protected Member Functions

virtual void UpdateSurf ()
 
virtual void UpdateFlags ()
 
virtual void ApplyConformalOffset (double off)
 

Protected Attributes

bool m_InitGeomFlag
 
string m_ScriptModuleName
 
string m_DisplayName
 
vector< Parm * > m_CustomGeomParmVec
 
vector< GuiDef > m_GuiDefVec
 
vector< GuiUpdate > m_UpdateGuiVec
 
vector< XSecSurf * > m_XSecSurfVec
 
vector< int > m_TriggerVec
 
vector< SourceData > m_DefaultSourceVec
 
int m_VspSurfType
 
map< int, int > m_VspSurfTypeMap
 
int m_VspSurfCfdType
 
map< int, int > m_VspSurfCfdTypeMap
 
bool m_ConformalFlag
 
double m_ConformalOffset
 

Detailed Description

Definition at line 170 of file CustomGeom.h.

Member Function Documentation

◆ ClearAllDefaultSources()

virtual void CustomGeom::ClearAllDefaultSources ( )
inlinevirtual

Definition at line 220 of file CustomGeom.h.

◆ GetDisplayName()

string CustomGeom::GetDisplayName ( )
inline

Definition at line 181 of file CustomGeom.h.

◆ GetGuiDefVec()

vector< GuiDef > CustomGeom::GetGuiDefVec ( )
inline

Definition at line 189 of file CustomGeom.h.

◆ GetNumXSecSurfs()

virtual int CustomGeom::GetNumXSecSurfs ( ) const
inlinevirtual

Definition at line 201 of file CustomGeom.h.

◆ GetScriptModuleName()

string CustomGeom::GetScriptModuleName ( )
inline

Definition at line 179 of file CustomGeom.h.

◆ SetDisplayName()

void CustomGeom::SetDisplayName ( const string & name)
inline

Definition at line 180 of file CustomGeom.h.

◆ SetScriptModuleName()

void CustomGeom::SetScriptModuleName ( const string & name)
inline

Definition at line 178 of file CustomGeom.h.

◆ SetUpDefaultSource()

virtual void CustomGeom::SetUpDefaultSource ( SourceData & sd)
inlinevirtual

Definition at line 219 of file CustomGeom.h.

Member Data Documentation

◆ m_ConformalFlag

bool CustomGeom::m_ConformalFlag
protected

Definition at line 252 of file CustomGeom.h.

◆ m_ConformalOffset

double CustomGeom::m_ConformalOffset
protected

Definition at line 253 of file CustomGeom.h.

◆ m_CustomGeomParmVec

vector< Parm* > CustomGeom::m_CustomGeomParmVec
protected

Definition at line 234 of file CustomGeom.h.

◆ m_DefaultSourceVec

vector< SourceData > CustomGeom::m_DefaultSourceVec
protected

Definition at line 239 of file CustomGeom.h.

◆ m_DisplayName

string CustomGeom::m_DisplayName
protected

Definition at line 232 of file CustomGeom.h.

◆ m_GuiDefVec

vector< GuiDef > CustomGeom::m_GuiDefVec
protected

Definition at line 235 of file CustomGeom.h.

◆ m_InitGeomFlag

bool CustomGeom::m_InitGeomFlag
protected

Definition at line 230 of file CustomGeom.h.

◆ m_ScriptModuleName

string CustomGeom::m_ScriptModuleName
protected

Definition at line 231 of file CustomGeom.h.

◆ m_TriggerVec

vector< int > CustomGeom::m_TriggerVec
protected

Definition at line 238 of file CustomGeom.h.

◆ m_UpdateGuiVec

vector< GuiUpdate > CustomGeom::m_UpdateGuiVec
protected

Definition at line 236 of file CustomGeom.h.

◆ m_VspSurfCfdType

int CustomGeom::m_VspSurfCfdType
protected

Definition at line 243 of file CustomGeom.h.

◆ m_VspSurfCfdTypeMap

map< int, int > CustomGeom::m_VspSurfCfdTypeMap
protected

Definition at line 244 of file CustomGeom.h.

◆ m_VspSurfType

int CustomGeom::m_VspSurfType
protected

Definition at line 241 of file CustomGeom.h.

◆ m_VspSurfTypeMap

map< int, int > CustomGeom::m_VspSurfTypeMap
protected

Definition at line 242 of file CustomGeom.h.

◆ m_XSecSurfVec

vector< XSecSurf* > CustomGeom::m_XSecSurfVec
protected

Definition at line 237 of file CustomGeom.h.


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