Skyscraper 2.0
Skyscraper::MeshControl Class Reference

#include <meshcontrol.h>

Inheritance diagram for Skyscraper::MeshControl:
Collaboration diagram for Skyscraper::MeshControl:

Public Member Functions

 MeshControl (DebugPanel *parent, wxWindowID id=-1)
 
virtual ~MeshControl ()
 
void Loop ()
 

Static Public Attributes

static const long ID_chkExternal = wxNewId()
 
static const long ID_chkBuildings = wxNewId()
 
static const long ID_chkLandscape = wxNewId()
 
static const long ID_chkSky = wxNewId()
 
static const long ID_chkElevators = wxNewId()
 
static const long ID_chkFloor = wxNewId()
 
static const long ID_chkShafts = wxNewId()
 
static const long ID_chkStairs = wxNewId()
 
static const long ID_chkInterfloor = wxNewId()
 
static const long ID_chkColumnFrame = wxNewId()
 
static const long ID_chkAllFloors = wxNewId()
 
static const long ID_chkAllShafts = wxNewId()
 
static const long ID_chkAllStairs = wxNewId()
 
static const long ID_chkAllInterfloors = wxNewId()
 
static const long ID_chkAllColumnFrames = wxNewId()
 
static const long ID_bOk = wxNewId()
 

Protected Member Functions

void On_bOk_Click (wxCommandEvent &event)
 
void On_chkSky_Click (wxCommandEvent &event)
 
void On_chkLandscape_Click (wxCommandEvent &event)
 
void On_chkBuildings_Click (wxCommandEvent &event)
 
void On_chkExternal_Click (wxCommandEvent &event)
 
void On_chkFloor_Click (wxCommandEvent &event)
 
void On_chkElevators_Click (wxCommandEvent &event)
 
void On_chkShafts_Click (wxCommandEvent &event)
 
void On_chkStairs_Click (wxCommandEvent &event)
 
void On_chkAllFloors_Click (wxCommandEvent &event)
 
void On_chkAllShafts_Click (wxCommandEvent &event)
 
void On_chkAllStairs_Click (wxCommandEvent &event)
 
void On_chkColumnFrame_Click (wxCommandEvent &event)
 
void On_chkAllColumnFrames_Click (wxCommandEvent &event)
 
void On_chkInterfloor_Click (wxCommandEvent &event)
 
void On_chkAllInterfloors_Click (wxCommandEvent &event)
 
void OnInit ()
 

Protected Attributes

wxBoxSizer * BoxSizer1
 
wxBoxSizer * BoxSizer2
 
wxButton * bOk
 
wxCheckBox * chkAllColumnFrames
 
wxCheckBox * chkAllFloors
 
wxCheckBox * chkAllInterfloors
 
wxCheckBox * chkAllShafts
 
wxCheckBox * chkAllStairs
 
wxCheckBox * chkBuildings
 
wxCheckBox * chkColumnFrame
 
wxCheckBox * chkElevators
 
wxCheckBox * chkExternal
 
wxCheckBox * chkFloor
 
wxCheckBox * chkInterfloor
 
wxCheckBox * chkLandscape
 
wxCheckBox * chkShafts
 
wxCheckBox * chkSky
 
wxCheckBox * chkStairs
 

Private Attributes

SBS::SBSSimcore
 
DebugPanelpanel
 

Detailed Description

Definition at line 35 of file meshcontrol.h.

Constructor & Destructor Documentation

◆ MeshControl()

◆ ~MeshControl()

Skyscraper::MeshControl::~MeshControl ( )
virtual

Definition at line 157 of file meshcontrol.cpp.

Member Function Documentation

◆ Loop()

◆ On_bOk_Click()

void Skyscraper::MeshControl::On_bOk_Click ( wxCommandEvent & event)
protected

Definition at line 191 of file meshcontrol.cpp.

Referenced by MeshControl().

◆ On_chkAllColumnFrames_Click()

void Skyscraper::MeshControl::On_chkAllColumnFrames_Click ( wxCommandEvent & event)
protected

Definition at line 290 of file meshcontrol.cpp.

References SBS::SBS::Basements, chkAllColumnFrames, SBS::Floor::EnableColumnFrame(), SBS::SBS::Floors, SBS::SBS::GetFloor(), and Simcore.

Referenced by MeshControl().

Here is the call graph for this function:

◆ On_chkAllFloors_Click()

void Skyscraper::MeshControl::On_chkAllFloors_Click ( wxCommandEvent & event)
protected

Definition at line 257 of file meshcontrol.cpp.

References SBS::SBS::Basements, chkAllFloors, SBS::Floor::Enabled(), SBS::SBS::Floors, SBS::SBS::GetFloor(), and Simcore.

Referenced by MeshControl().

Here is the call graph for this function:

◆ On_chkAllInterfloors_Click()

void Skyscraper::MeshControl::On_chkAllInterfloors_Click ( wxCommandEvent & event)
protected

Definition at line 305 of file meshcontrol.cpp.

References SBS::SBS::Basements, chkAllInterfloors, SBS::Floor::EnableInterfloor(), SBS::SBS::Floors, SBS::SBS::GetFloor(), and Simcore.

Referenced by MeshControl().

Here is the call graph for this function:

◆ On_chkAllShafts_Click()

void Skyscraper::MeshControl::On_chkAllShafts_Click ( wxCommandEvent & event)
protected

Definition at line 266 of file meshcontrol.cpp.

References chkAllShafts, SBS::Shaft::EnableWhole(), SBS::SBS::GetShaft(), SBS::SBS::GetShaftCount(), and Simcore.

Referenced by MeshControl().

Here is the call graph for this function:

◆ On_chkAllStairs_Click()

void Skyscraper::MeshControl::On_chkAllStairs_Click ( wxCommandEvent & event)
protected

Definition at line 275 of file meshcontrol.cpp.

References chkAllStairs, SBS::Stairwell::EnableWhole(), SBS::SBS::GetStairwell(), SBS::SBS::GetStairwellCount(), and Simcore.

Referenced by MeshControl().

Here is the call graph for this function:

◆ On_chkBuildings_Click()

void Skyscraper::MeshControl::On_chkBuildings_Click ( wxCommandEvent & event)
protected

Definition at line 206 of file meshcontrol.cpp.

References chkBuildings, SBS::SBS::EnableBuildings(), and Simcore.

Referenced by MeshControl().

Here is the call graph for this function:

◆ On_chkColumnFrame_Click()

void Skyscraper::MeshControl::On_chkColumnFrame_Click ( wxCommandEvent & event)
protected

Definition at line 284 of file meshcontrol.cpp.

References SBS::SBS::camera, chkColumnFrame, SBS::Camera::CurrentFloor, SBS::Floor::EnableColumnFrame(), SBS::SBS::GetFloor(), and Simcore.

Referenced by MeshControl().

Here is the call graph for this function:

◆ On_chkElevators_Click()

void Skyscraper::MeshControl::On_chkElevators_Click ( wxCommandEvent & event)
protected

Definition at line 222 of file meshcontrol.cpp.

References chkElevators, SBS::Elevator::Enabled(), SBS::SBS::GetElevator(), SBS::SBS::GetElevatorCount(), and Simcore.

Referenced by MeshControl().

Here is the call graph for this function:

◆ On_chkExternal_Click()

void Skyscraper::MeshControl::On_chkExternal_Click ( wxCommandEvent & event)
protected

Definition at line 211 of file meshcontrol.cpp.

References chkExternal, SBS::SBS::EnableExternal(), and Simcore.

Referenced by MeshControl().

Here is the call graph for this function:

◆ On_chkFloor_Click()

void Skyscraper::MeshControl::On_chkFloor_Click ( wxCommandEvent & event)
protected

Definition at line 216 of file meshcontrol.cpp.

References SBS::SBS::camera, chkFloor, SBS::Camera::CurrentFloor, SBS::Floor::Enabled(), SBS::SBS::GetFloor(), and Simcore.

Referenced by MeshControl().

Here is the call graph for this function:

◆ On_chkInterfloor_Click()

void Skyscraper::MeshControl::On_chkInterfloor_Click ( wxCommandEvent & event)
protected

Definition at line 299 of file meshcontrol.cpp.

References SBS::SBS::camera, chkInterfloor, SBS::Camera::CurrentFloor, SBS::Floor::EnableInterfloor(), SBS::SBS::GetFloor(), and Simcore.

Referenced by MeshControl().

Here is the call graph for this function:

◆ On_chkLandscape_Click()

void Skyscraper::MeshControl::On_chkLandscape_Click ( wxCommandEvent & event)
protected

Definition at line 201 of file meshcontrol.cpp.

References chkLandscape, SBS::SBS::EnableLandscape(), and Simcore.

Referenced by MeshControl().

Here is the call graph for this function:

◆ On_chkShafts_Click()

void Skyscraper::MeshControl::On_chkShafts_Click ( wxCommandEvent & event)
protected

◆ On_chkSky_Click()

void Skyscraper::MeshControl::On_chkSky_Click ( wxCommandEvent & event)
protected

Definition at line 196 of file meshcontrol.cpp.

References chkSky, SBS::SBS::EnableSkybox(), and Simcore.

Referenced by MeshControl().

Here is the call graph for this function:

◆ On_chkStairs_Click()

void Skyscraper::MeshControl::On_chkStairs_Click ( wxCommandEvent & event)
protected

◆ OnInit()

void Skyscraper::MeshControl::OnInit ( )
protected

Definition at line 162 of file meshcontrol.cpp.

References chkElevators, Skyscraper::DebugPanel::GetSystem(), panel, and Simcore.

Referenced by Loop().

Here is the call graph for this function:

Member Data Documentation

◆ bOk

wxButton* Skyscraper::MeshControl::bOk
protected

Definition at line 87 of file meshcontrol.h.

◆ BoxSizer1

wxBoxSizer* Skyscraper::MeshControl::BoxSizer1
protected

Definition at line 85 of file meshcontrol.h.

◆ BoxSizer2

wxBoxSizer* Skyscraper::MeshControl::BoxSizer2
protected

Definition at line 86 of file meshcontrol.h.

◆ chkAllColumnFrames

wxCheckBox* Skyscraper::MeshControl::chkAllColumnFrames
protected

Definition at line 88 of file meshcontrol.h.

Referenced by On_chkAllColumnFrames_Click().

◆ chkAllFloors

wxCheckBox* Skyscraper::MeshControl::chkAllFloors
protected

Definition at line 89 of file meshcontrol.h.

Referenced by On_chkAllFloors_Click().

◆ chkAllInterfloors

wxCheckBox* Skyscraper::MeshControl::chkAllInterfloors
protected

Definition at line 90 of file meshcontrol.h.

Referenced by On_chkAllInterfloors_Click().

◆ chkAllShafts

wxCheckBox* Skyscraper::MeshControl::chkAllShafts
protected

Definition at line 91 of file meshcontrol.h.

Referenced by On_chkAllShafts_Click().

◆ chkAllStairs

wxCheckBox* Skyscraper::MeshControl::chkAllStairs
protected

Definition at line 92 of file meshcontrol.h.

Referenced by On_chkAllStairs_Click().

◆ chkBuildings

wxCheckBox* Skyscraper::MeshControl::chkBuildings
protected

Definition at line 93 of file meshcontrol.h.

Referenced by Loop(), and On_chkBuildings_Click().

◆ chkColumnFrame

wxCheckBox* Skyscraper::MeshControl::chkColumnFrame
protected

Definition at line 94 of file meshcontrol.h.

Referenced by Loop(), and On_chkColumnFrame_Click().

◆ chkElevators

wxCheckBox* Skyscraper::MeshControl::chkElevators
protected

Definition at line 95 of file meshcontrol.h.

Referenced by On_chkElevators_Click(), and OnInit().

◆ chkExternal

wxCheckBox* Skyscraper::MeshControl::chkExternal
protected

Definition at line 96 of file meshcontrol.h.

Referenced by Loop(), and On_chkExternal_Click().

◆ chkFloor

wxCheckBox* Skyscraper::MeshControl::chkFloor
protected

Definition at line 97 of file meshcontrol.h.

Referenced by Loop(), and On_chkFloor_Click().

◆ chkInterfloor

wxCheckBox* Skyscraper::MeshControl::chkInterfloor
protected

Definition at line 98 of file meshcontrol.h.

Referenced by Loop(), and On_chkInterfloor_Click().

◆ chkLandscape

wxCheckBox* Skyscraper::MeshControl::chkLandscape
protected

Definition at line 99 of file meshcontrol.h.

Referenced by Loop(), and On_chkLandscape_Click().

◆ chkShafts

wxCheckBox* Skyscraper::MeshControl::chkShafts
protected

Definition at line 100 of file meshcontrol.h.

Referenced by On_chkShafts_Click().

◆ chkSky

wxCheckBox* Skyscraper::MeshControl::chkSky
protected

Definition at line 101 of file meshcontrol.h.

Referenced by Loop(), and On_chkSky_Click().

◆ chkStairs

wxCheckBox* Skyscraper::MeshControl::chkStairs
protected

Definition at line 102 of file meshcontrol.h.

Referenced by On_chkStairs_Click().

◆ ID_bOk

const long Skyscraper::MeshControl::ID_bOk = wxNewId()
static

Definition at line 58 of file meshcontrol.h.

◆ ID_chkAllColumnFrames

const long Skyscraper::MeshControl::ID_chkAllColumnFrames = wxNewId()
static

Definition at line 57 of file meshcontrol.h.

◆ ID_chkAllFloors

const long Skyscraper::MeshControl::ID_chkAllFloors = wxNewId()
static

Definition at line 53 of file meshcontrol.h.

◆ ID_chkAllInterfloors

const long Skyscraper::MeshControl::ID_chkAllInterfloors = wxNewId()
static

Definition at line 56 of file meshcontrol.h.

◆ ID_chkAllShafts

const long Skyscraper::MeshControl::ID_chkAllShafts = wxNewId()
static

Definition at line 54 of file meshcontrol.h.

◆ ID_chkAllStairs

const long Skyscraper::MeshControl::ID_chkAllStairs = wxNewId()
static

Definition at line 55 of file meshcontrol.h.

◆ ID_chkBuildings

const long Skyscraper::MeshControl::ID_chkBuildings = wxNewId()
static

Definition at line 44 of file meshcontrol.h.

◆ ID_chkColumnFrame

const long Skyscraper::MeshControl::ID_chkColumnFrame = wxNewId()
static

Definition at line 52 of file meshcontrol.h.

◆ ID_chkElevators

const long Skyscraper::MeshControl::ID_chkElevators = wxNewId()
static

Definition at line 47 of file meshcontrol.h.

◆ ID_chkExternal

const long Skyscraper::MeshControl::ID_chkExternal = wxNewId()
static

Definition at line 43 of file meshcontrol.h.

◆ ID_chkFloor

const long Skyscraper::MeshControl::ID_chkFloor = wxNewId()
static

Definition at line 48 of file meshcontrol.h.

◆ ID_chkInterfloor

const long Skyscraper::MeshControl::ID_chkInterfloor = wxNewId()
static

Definition at line 51 of file meshcontrol.h.

◆ ID_chkLandscape

const long Skyscraper::MeshControl::ID_chkLandscape = wxNewId()
static

Definition at line 45 of file meshcontrol.h.

◆ ID_chkShafts

const long Skyscraper::MeshControl::ID_chkShafts = wxNewId()
static

Definition at line 49 of file meshcontrol.h.

◆ ID_chkSky

const long Skyscraper::MeshControl::ID_chkSky = wxNewId()
static

Definition at line 46 of file meshcontrol.h.

◆ ID_chkStairs

const long Skyscraper::MeshControl::ID_chkStairs = wxNewId()
static

Definition at line 50 of file meshcontrol.h.

◆ panel

DebugPanel* Skyscraper::MeshControl::panel
private

Definition at line 108 of file meshcontrol.h.

Referenced by Loop(), and OnInit().

◆ Simcore


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