TDME2 1.9.121
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
ImportTModelApplication Class Referencefinal

Import tmodel application. More...

Inheritance diagram for ImportTModelApplication:
Inheritance graph
Collaboration diagram for ImportTModelApplication:
Collaboration graph

Public Member Functions

 ImportTModelApplication (const string &tModelFileName, const string &modelFileName, const string &bvsModelFileName)
 Public constructor. More...
 
 ~ImportTModelApplication ()
 Public denstructor. More...
 
void display () override
 Display. More...
 
void dispose () override
 Disposes. More...
 
void initialize () override
 Init. More...
 
void reshape (int32_t width, int32_t height) override
 
- Public Member Functions inherited from Application
 Application ()
 Public constructor. More...
 
virtual ~Application ()
 Destructor. More...
 
const string & getTitle ()
 
const string & getExecutableFileName ()
 
bool isDebuggingEnabled ()
 
void setInputEventHandler (InputEventHandler *inputEventHandler)
 Set input event handler. More...
 
int getWindowXPosition () const
 
void setWindowXPosition (int windowXPosition)
 Set window X position when initializing. More...
 
int getWindowYPosition () const
 
void setWindowYPosition (int windowYPosition)
 Set window Y position when initializing. More...
 
int getWindowWidth () const
 
void setWindowWidth (int windowWidth)
 Set window width. More...
 
int getWindowHeight () const
 
void setWindowHeight (int windowHeight)
 Set window height. More...
 
bool isFullScreen () const
 
void setFullScreen (bool fullScreen)
 Set full screen mode. More...
 
string getClipboardContent ()
 
void setClipboardContent (const string &content)
 Set clipboard content. More...
 
void run (int argc, char **argv, const string &title, InputEventHandler *inputEventHandler=nullptr, int windowHints=WINDOW_HINT_NONE)
 Run this application. More...
 
virtual void initialize ()=0
 Init. More...
 
virtual void reshape (int width, int height)=0
 Resize. More...
 
virtual void display ()=0
 Display. More...
 
virtual void dispose ()=0
 Disposes. More...
 
virtual void onClose ()
 On close. More...
 

Static Public Member Functions

static void main (int argc, char **argv)
 Main. More...
 
- Static Public Member Functions inherited from Application
static RenderergetRenderer ()
 
static bool hasApplication ()
 
static ApplicationgetApplication ()
 
static bool isLimitFPS ()
 
static void setLimitFPS (bool limitFPS)
 Set frames per seconds limit. More...
 
static void setVSyncEnabled (bool vSync)
 Set vsync enabled. More...
 
static string getOSName ()
 
static string getCPUName ()
 
static string execute (const string &command)
 Execute a command and wait until it finished running. More...
 
static void executeBackground (const string &command)
 Execute a command in background. More...
 
static void openBrowser (const string &url)
 Open browser with given url. More...
 
static void cancelExit ()
 Cancels a users requested exit (ALT-F4 or X button) More...
 
static void exit (int exitCode)
 Exits this application with given exit code. More...
 
static bool isActive ()
 
static void installExceptionHandler ()
 Windows only: Install exception handler that will print a stack trace if crashing. More...
 
static void setMouseCursor (int mouseCursor)
 Set mouse cursor. More...
 
static int getMousePositionX ()
 
static int getMousePositionY ()
 
static void setMousePosition (int x, int y)
 Set mouse position. More...
 
static void swapBuffers ()
 Swap rendering buffers. More...
 

Private Attributes

string tModelFileName
 
string modelFileName
 
string bvsModelFileName
 

Additional Inherited Members

- Static Public Attributes inherited from Application
static constexpr int WINDOW_HINT_NONE { 0 }
 
static constexpr int WINDOW_HINT_NOTRESIZEABLE { 1 }
 
static constexpr int WINDOW_HINT_NOTDECORATED { 2 }
 
static constexpr int WINDOW_HINT_INVISIBLE { 4 }
 
static constexpr int WINDOW_HINT_MAXIMIZED { 8 }
 
static constexpr int FPS { 60 }
 

Detailed Description

Import tmodel application.

Author
andreas.drewke
Version
$Id$

Definition at line 52 of file importtmodel-main.cpp.

Constructor & Destructor Documentation

◆ ImportTModelApplication()

ImportTModelApplication ( const string &  tModelFileName,
const string &  modelFileName,
const string &  bvsModelFileName 
)
inline

Public constructor.

Definition at line 64 of file importtmodel-main.cpp.

◆ ~ImportTModelApplication()

Public denstructor.

Definition at line 73 of file importtmodel-main.cpp.

Member Function Documentation

◆ display()

void display ( )
inlineoverridevirtual

Display.

Implements Application.

Definition at line 90 of file importtmodel-main.cpp.

◆ dispose()

void dispose ( )
inlineoverridevirtual

Disposes.

Implements Application.

Definition at line 162 of file importtmodel-main.cpp.

◆ initialize()

void initialize ( )
inlineoverridevirtual

Init.

Implements Application.

Definition at line 166 of file importtmodel-main.cpp.

◆ main()

static void main ( int  argc,
char **  argv 
)
inlinestatic

Main.

Parameters
argcargument count
argvargument values

Definition at line 81 of file importtmodel-main.cpp.

◆ reshape()

void reshape ( int32_t  width,
int32_t  height 
)
inlineoverride

Definition at line 170 of file importtmodel-main.cpp.

Member Data Documentation

◆ bvsModelFileName

string bvsModelFileName
private

Definition at line 58 of file importtmodel-main.cpp.

◆ modelFileName

string modelFileName
private

Definition at line 57 of file importtmodel-main.cpp.

◆ tModelFileName

string tModelFileName
private

Definition at line 56 of file importtmodel-main.cpp.


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