Skyscraper 2.0
Skyscraper::CameraTextureControl Class Reference

#include <camtex.h>

Inheritance diagram for Skyscraper::CameraTextureControl:
Collaboration diagram for Skyscraper::CameraTextureControl:

Public Member Functions

 CameraTextureControl (DebugPanel *parent, wxWindowID id=wxID_ANY)
 
virtual ~CameraTextureControl ()
 
void Loop ()
 

Public Attributes

wxButton * bOK
 
wxButton * bSetFOV
 
wxButton * bSetLookAt
 
wxButton * bSetPosition
 
wxButton * bSetRotation
 
wxButton * bSetZoom
 
wxCheckBox * chkEnabled
 
wxListBox * CameraList
 
wxStaticText * StaticText1
 
wxStaticText * lblFOV
 
wxStaticText * lblPositionX
 
wxStaticText * lblPositionY
 
wxStaticText * lblPositionZ
 
wxStaticText * lblRotationX
 
wxStaticText * lblRotationY
 
wxStaticText * lblRotationZ
 
wxTextCtrl * txtFOV
 
wxTextCtrl * txtPositionX
 
wxTextCtrl * txtPositionY
 
wxTextCtrl * txtPositionZ
 
wxTextCtrl * txtRotationX
 
wxTextCtrl * txtRotationY
 
wxTextCtrl * txtRotationZ
 
wxTextCtrl * txtZoom
 

Static Protected Attributes

static const long ID_CameraList = wxNewId()
 
static const long ID_chkEnabled = wxNewId()
 
static const long ID_lblPositionX = wxNewId()
 
static const long ID_lblPositionY = wxNewId()
 
static const long ID_lblPositionZ = wxNewId()
 
static const long ID_txtPositionX = wxNewId()
 
static const long ID_txtPositionY = wxNewId()
 
static const long ID_txtPositionZ = wxNewId()
 
static const long ID_bSetPosition = wxNewId()
 
static const long ID_lblRotationX = wxNewId()
 
static const long ID_lblRotationY = wxNewId()
 
static const long ID_lblRotationZ = wxNewId()
 
static const long ID_txtRotationX = wxNewId()
 
static const long ID_txtRotationY = wxNewId()
 
static const long ID_txtRotationZ = wxNewId()
 
static const long ID_bSetRotation = wxNewId()
 
static const long ID_bSetLookAt = wxNewId()
 
static const long ID_lblFOV = wxNewId()
 
static const long ID_txtFOV = wxNewId()
 
static const long ID_bSetFOV = wxNewId()
 
static const long ID_STATICTEXT1 = wxNewId()
 
static const long ID_txtZoom = wxNewId()
 
static const long ID_bSetZoom = wxNewId()
 
static const long ID_bOK = wxNewId()
 

Private Member Functions

void On_bOK_Click (wxCommandEvent &event)
 
void On_chkEnabled_Click (wxCommandEvent &event)
 
void On_bSetPosition_Click (wxCommandEvent &event)
 
void On_bSetRotation_Click (wxCommandEvent &event)
 
void On_bSetFOV_Click (wxCommandEvent &event)
 
void On_bSetLookAt_Click (wxCommandEvent &event)
 
void On_bSetZoom_Click (wxCommandEvent &event)
 
void BuildList (bool restore_selection=false)
 

Private Attributes

SBS::SBSSimcore
 
DebugPanelpanel
 
int lastcount
 
SBS::CameraTexturecamera
 

Detailed Description

Definition at line 38 of file camtex.h.

Constructor & Destructor Documentation

◆ CameraTextureControl()

Skyscraper::CameraTextureControl::CameraTextureControl ( DebugPanel * parent,
wxWindowID id = wxID_ANY )

Definition at line 67 of file camtex.cpp.

References On_bOK_Click(), On_bSetFOV_Click(), On_bSetLookAt_Click(), On_bSetPosition_Click(), On_bSetRotation_Click(), On_bSetZoom_Click(), and On_chkEnabled_Click().

Here is the call graph for this function:

◆ ~CameraTextureControl()

Skyscraper::CameraTextureControl::~CameraTextureControl ( )
virtual

Definition at line 200 of file camtex.cpp.

Member Function Documentation

◆ BuildList()

void Skyscraper::CameraTextureControl::BuildList ( bool restore_selection = false)
private

◆ Loop()

◆ On_bOK_Click()

void Skyscraper::CameraTextureControl::On_bOK_Click ( wxCommandEvent & event)
private

Definition at line 290 of file camtex.cpp.

Referenced by CameraTextureControl().

◆ On_bSetFOV_Click()

void Skyscraper::CameraTextureControl::On_bSetFOV_Click ( wxCommandEvent & event)
private

Definition at line 317 of file camtex.cpp.

References camera, SBS::CameraTexture::SetFOVAngle(), and txtFOV.

Referenced by CameraTextureControl().

Here is the call graph for this function:

◆ On_bSetLookAt_Click()

void Skyscraper::CameraTextureControl::On_bSetLookAt_Click ( wxCommandEvent & event)
private

Definition at line 323 of file camtex.cpp.

References camera, SBS::CameraTexture::LookAt(), txtRotationX, txtRotationY, and txtRotationZ.

Referenced by CameraTextureControl().

Here is the call graph for this function:

◆ On_bSetPosition_Click()

void Skyscraper::CameraTextureControl::On_bSetPosition_Click ( wxCommandEvent & event)
private

Definition at line 301 of file camtex.cpp.

References camera, SBS::Object::SetPosition(), txtPositionX, txtPositionY, and txtPositionZ.

Referenced by CameraTextureControl().

Here is the call graph for this function:

◆ On_bSetRotation_Click()

void Skyscraper::CameraTextureControl::On_bSetRotation_Click ( wxCommandEvent & event)
private

Definition at line 309 of file camtex.cpp.

References camera, SBS::Object::SetRotation(), txtRotationX, txtRotationY, and txtRotationZ.

Referenced by CameraTextureControl().

Here is the call graph for this function:

◆ On_bSetZoom_Click()

void Skyscraper::CameraTextureControl::On_bSetZoom_Click ( wxCommandEvent & event)
private

Definition at line 331 of file camtex.cpp.

References camera, SBS::CameraTexture::SetZoom(), and txtZoom.

Referenced by CameraTextureControl().

Here is the call graph for this function:

◆ On_chkEnabled_Click()

void Skyscraper::CameraTextureControl::On_chkEnabled_Click ( wxCommandEvent & event)
private

Definition at line 295 of file camtex.cpp.

References camera, chkEnabled, and SBS::CameraTexture::Enabled().

Referenced by CameraTextureControl().

Here is the call graph for this function:

Member Data Documentation

◆ bOK

wxButton* Skyscraper::CameraTextureControl::bOK

Definition at line 46 of file camtex.h.

◆ bSetFOV

wxButton* Skyscraper::CameraTextureControl::bSetFOV

Definition at line 47 of file camtex.h.

◆ bSetLookAt

wxButton* Skyscraper::CameraTextureControl::bSetLookAt

Definition at line 48 of file camtex.h.

◆ bSetPosition

wxButton* Skyscraper::CameraTextureControl::bSetPosition

Definition at line 49 of file camtex.h.

◆ bSetRotation

wxButton* Skyscraper::CameraTextureControl::bSetRotation

Definition at line 50 of file camtex.h.

◆ bSetZoom

wxButton* Skyscraper::CameraTextureControl::bSetZoom

Definition at line 51 of file camtex.h.

◆ camera

SBS::CameraTexture* Skyscraper::CameraTextureControl::camera
private

◆ CameraList

wxListBox* Skyscraper::CameraTextureControl::CameraList

Definition at line 53 of file camtex.h.

Referenced by BuildList(), and Loop().

◆ chkEnabled

wxCheckBox* Skyscraper::CameraTextureControl::chkEnabled

Definition at line 52 of file camtex.h.

Referenced by BuildList(), Loop(), and On_chkEnabled_Click().

◆ ID_bOK

const long Skyscraper::CameraTextureControl::ID_bOK = wxNewId()
staticprotected

Definition at line 99 of file camtex.h.

◆ ID_bSetFOV

const long Skyscraper::CameraTextureControl::ID_bSetFOV = wxNewId()
staticprotected

Definition at line 95 of file camtex.h.

◆ ID_bSetLookAt

const long Skyscraper::CameraTextureControl::ID_bSetLookAt = wxNewId()
staticprotected

Definition at line 92 of file camtex.h.

◆ ID_bSetPosition

const long Skyscraper::CameraTextureControl::ID_bSetPosition = wxNewId()
staticprotected

Definition at line 84 of file camtex.h.

◆ ID_bSetRotation

const long Skyscraper::CameraTextureControl::ID_bSetRotation = wxNewId()
staticprotected

Definition at line 91 of file camtex.h.

◆ ID_bSetZoom

const long Skyscraper::CameraTextureControl::ID_bSetZoom = wxNewId()
staticprotected

Definition at line 98 of file camtex.h.

◆ ID_CameraList

const long Skyscraper::CameraTextureControl::ID_CameraList = wxNewId()
staticprotected

Definition at line 76 of file camtex.h.

◆ ID_chkEnabled

const long Skyscraper::CameraTextureControl::ID_chkEnabled = wxNewId()
staticprotected

Definition at line 77 of file camtex.h.

◆ ID_lblFOV

const long Skyscraper::CameraTextureControl::ID_lblFOV = wxNewId()
staticprotected

Definition at line 93 of file camtex.h.

◆ ID_lblPositionX

const long Skyscraper::CameraTextureControl::ID_lblPositionX = wxNewId()
staticprotected

Definition at line 78 of file camtex.h.

◆ ID_lblPositionY

const long Skyscraper::CameraTextureControl::ID_lblPositionY = wxNewId()
staticprotected

Definition at line 79 of file camtex.h.

◆ ID_lblPositionZ

const long Skyscraper::CameraTextureControl::ID_lblPositionZ = wxNewId()
staticprotected

Definition at line 80 of file camtex.h.

◆ ID_lblRotationX

const long Skyscraper::CameraTextureControl::ID_lblRotationX = wxNewId()
staticprotected

Definition at line 85 of file camtex.h.

◆ ID_lblRotationY

const long Skyscraper::CameraTextureControl::ID_lblRotationY = wxNewId()
staticprotected

Definition at line 86 of file camtex.h.

◆ ID_lblRotationZ

const long Skyscraper::CameraTextureControl::ID_lblRotationZ = wxNewId()
staticprotected

Definition at line 87 of file camtex.h.

◆ ID_STATICTEXT1

const long Skyscraper::CameraTextureControl::ID_STATICTEXT1 = wxNewId()
staticprotected

Definition at line 96 of file camtex.h.

◆ ID_txtFOV

const long Skyscraper::CameraTextureControl::ID_txtFOV = wxNewId()
staticprotected

Definition at line 94 of file camtex.h.

◆ ID_txtPositionX

const long Skyscraper::CameraTextureControl::ID_txtPositionX = wxNewId()
staticprotected

Definition at line 81 of file camtex.h.

◆ ID_txtPositionY

const long Skyscraper::CameraTextureControl::ID_txtPositionY = wxNewId()
staticprotected

Definition at line 82 of file camtex.h.

◆ ID_txtPositionZ

const long Skyscraper::CameraTextureControl::ID_txtPositionZ = wxNewId()
staticprotected

Definition at line 83 of file camtex.h.

◆ ID_txtRotationX

const long Skyscraper::CameraTextureControl::ID_txtRotationX = wxNewId()
staticprotected

Definition at line 88 of file camtex.h.

◆ ID_txtRotationY

const long Skyscraper::CameraTextureControl::ID_txtRotationY = wxNewId()
staticprotected

Definition at line 89 of file camtex.h.

◆ ID_txtRotationZ

const long Skyscraper::CameraTextureControl::ID_txtRotationZ = wxNewId()
staticprotected

Definition at line 90 of file camtex.h.

◆ ID_txtZoom

const long Skyscraper::CameraTextureControl::ID_txtZoom = wxNewId()
staticprotected

Definition at line 97 of file camtex.h.

◆ lastcount

int Skyscraper::CameraTextureControl::lastcount
private

Definition at line 116 of file camtex.h.

Referenced by BuildList().

◆ lblFOV

wxStaticText* Skyscraper::CameraTextureControl::lblFOV

Definition at line 55 of file camtex.h.

◆ lblPositionX

wxStaticText* Skyscraper::CameraTextureControl::lblPositionX

Definition at line 56 of file camtex.h.

◆ lblPositionY

wxStaticText* Skyscraper::CameraTextureControl::lblPositionY

Definition at line 57 of file camtex.h.

◆ lblPositionZ

wxStaticText* Skyscraper::CameraTextureControl::lblPositionZ

Definition at line 58 of file camtex.h.

◆ lblRotationX

wxStaticText* Skyscraper::CameraTextureControl::lblRotationX

Definition at line 59 of file camtex.h.

◆ lblRotationY

wxStaticText* Skyscraper::CameraTextureControl::lblRotationY

Definition at line 60 of file camtex.h.

◆ lblRotationZ

wxStaticText* Skyscraper::CameraTextureControl::lblRotationZ

Definition at line 61 of file camtex.h.

◆ panel

DebugPanel* Skyscraper::CameraTextureControl::panel
private

Definition at line 115 of file camtex.h.

Referenced by Loop().

◆ Simcore

SBS::SBS* Skyscraper::CameraTextureControl::Simcore
private

Definition at line 114 of file camtex.h.

Referenced by BuildList(), and Loop().

◆ StaticText1

wxStaticText* Skyscraper::CameraTextureControl::StaticText1

Definition at line 54 of file camtex.h.

◆ txtFOV

wxTextCtrl* Skyscraper::CameraTextureControl::txtFOV

Definition at line 62 of file camtex.h.

Referenced by BuildList(), Loop(), and On_bSetFOV_Click().

◆ txtPositionX

wxTextCtrl* Skyscraper::CameraTextureControl::txtPositionX

Definition at line 63 of file camtex.h.

Referenced by BuildList(), Loop(), and On_bSetPosition_Click().

◆ txtPositionY

wxTextCtrl* Skyscraper::CameraTextureControl::txtPositionY

Definition at line 64 of file camtex.h.

Referenced by BuildList(), Loop(), and On_bSetPosition_Click().

◆ txtPositionZ

wxTextCtrl* Skyscraper::CameraTextureControl::txtPositionZ

Definition at line 65 of file camtex.h.

Referenced by BuildList(), Loop(), and On_bSetPosition_Click().

◆ txtRotationX

wxTextCtrl* Skyscraper::CameraTextureControl::txtRotationX

Definition at line 66 of file camtex.h.

Referenced by BuildList(), Loop(), On_bSetLookAt_Click(), and On_bSetRotation_Click().

◆ txtRotationY

wxTextCtrl* Skyscraper::CameraTextureControl::txtRotationY

Definition at line 67 of file camtex.h.

Referenced by BuildList(), Loop(), On_bSetLookAt_Click(), and On_bSetRotation_Click().

◆ txtRotationZ

wxTextCtrl* Skyscraper::CameraTextureControl::txtRotationZ

Definition at line 68 of file camtex.h.

Referenced by BuildList(), Loop(), On_bSetLookAt_Click(), and On_bSetRotation_Click().

◆ txtZoom

wxTextCtrl* Skyscraper::CameraTextureControl::txtZoom

Definition at line 69 of file camtex.h.

Referenced by BuildList(), Loop(), and On_bSetZoom_Click().


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