PeriDyno 1.0.0
Loading...
Searching...
No Matches
dyno::ImWindow Class Reference

#include <ImWindow.h>

Public Member Functions

void initialize (float scale)
 
void draw (RenderWindow *app)
 
void mousePressEvent (const PMouseEvent &event)
 
void mouseReleaseEvent (const PMouseEvent &event)
 
void mouseMoveEvent (const PMouseEvent &event)
 
void setEnableViewManipulate (bool flag)
 
bool cameraLocked ()
 

Private Member Functions

void drawSelectedRegion ()
 
void drawNodeManipulator (std::shared_ptr< Node > node, glm::mat4 view, glm::mat4 proj)
 
void drawViewManipulator (Camera *camera)
 

Private Attributes

bool mDisenableCamera = false
 
bool mViewManipulator = true
 
int mEditMode = 0
 
int mRegX = -1
 
int mRegY = -1
 
int mCurX = -1
 
int mCurY = -1
 
PButtonType mButtonType = BT_UNKOWN
 
PActionType mButtonAction = AT_UNKOWN
 
PModifierBits mButtonMode = MB_NO_MODIFIER
 
bool mEnableViewManipulate = true
 

Detailed Description

Definition at line 13 of file ImWindow.h.

Member Function Documentation

◆ cameraLocked()

bool ImWindow::cameraLocked ( )

Definition at line 585 of file ImWindow.cpp.

Here is the caller graph for this function:

◆ draw()

void ImWindow::draw ( RenderWindow * app)

Definition at line 71 of file ImWindow.cpp.

Here is the call graph for this function:

◆ drawNodeManipulator()

void dyno::ImWindow::drawNodeManipulator ( std::shared_ptr< Node > node,
glm::mat4 view,
glm::mat4 proj )
private

Definition at line 492 of file ImWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ drawSelectedRegion()

void ImWindow::drawSelectedRegion ( )
private

Definition at line 471 of file ImWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ drawViewManipulator()

void ImWindow::drawViewManipulator ( Camera * camera)
private

Definition at line 550 of file ImWindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ initialize()

void dyno::ImWindow::initialize ( float scale)

Definition at line 59 of file ImWindow.cpp.

Here is the call graph for this function:

◆ mouseMoveEvent()

void ImWindow::mouseMoveEvent ( const PMouseEvent & event)

Definition at line 441 of file ImWindow.cpp.

Here is the caller graph for this function:

◆ mousePressEvent()

void ImWindow::mousePressEvent ( const PMouseEvent & event)

Definition at line 462 of file ImWindow.cpp.

Here is the caller graph for this function:

◆ mouseReleaseEvent()

void ImWindow::mouseReleaseEvent ( const PMouseEvent & event)

Definition at line 452 of file ImWindow.cpp.

Here is the caller graph for this function:

◆ setEnableViewManipulate()

void dyno::ImWindow::setEnableViewManipulate ( bool flag)

Definition at line 447 of file ImWindow.cpp.

Member Data Documentation

◆ mButtonAction

PActionType dyno::ImWindow::mButtonAction = AT_UNKOWN
private

Definition at line 45 of file ImWindow.h.

◆ mButtonMode

PModifierBits dyno::ImWindow::mButtonMode = MB_NO_MODIFIER
private

Definition at line 46 of file ImWindow.h.

◆ mButtonType

PButtonType dyno::ImWindow::mButtonType = BT_UNKOWN
private

Definition at line 44 of file ImWindow.h.

◆ mCurX

int dyno::ImWindow::mCurX = -1
private

Definition at line 42 of file ImWindow.h.

◆ mCurY

int dyno::ImWindow::mCurY = -1
private

Definition at line 43 of file ImWindow.h.

◆ mDisenableCamera

bool dyno::ImWindow::mDisenableCamera = false
private

Definition at line 34 of file ImWindow.h.

◆ mEditMode

int dyno::ImWindow::mEditMode = 0
private

Definition at line 37 of file ImWindow.h.

◆ mEnableViewManipulate

bool dyno::ImWindow::mEnableViewManipulate = true
private

Definition at line 49 of file ImWindow.h.

◆ mRegX

int dyno::ImWindow::mRegX = -1
private

Definition at line 40 of file ImWindow.h.

◆ mRegY

int dyno::ImWindow::mRegY = -1
private

Definition at line 41 of file ImWindow.h.

◆ mViewManipulator

bool dyno::ImWindow::mViewManipulator = true
private

Definition at line 35 of file ImWindow.h.


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