Interface Class Reference


Detailed Description

Definition at line 22 of file interface.h.

#include <interface.h>

List of all members.

Public Types

enum   LayerUIType { ltSculptUI, ltPaintUI }

Public Member Functions

void  ShowNewPaintLayerDialog (void)
void  ActivateLayerSystem (LayerUIType eType)
  Activates the given system in the Layer UI window.
bool  RestorePreviousBrush (void)
  Restores the current brush to the previous one.
void  Load (QString filename, Scene::LoadData &cData)
  Loads scene data.
void  ShowProperties (Node *pNode, bool bFloating) const
  Open a new properties dialog for the given node.
bool  CreateNewScene ()
  Creates a new scene.

Member Enumeration Documentation

Enumerator:
ltSculptUI 

Sculpt Layer UI.

ltPaintUI 

Paint Layer UI.

Definition at line 26 of file interface.h.


Member Function Documentation

void ShowNewPaintLayerDialog ( void  )
void ActivateLayerSystem ( LayerUIType  eType )

Activates the given system in the Layer UI window.

Parameters:
[in] eType The layer system to activate.
bool RestorePreviousBrush ( void  )

Restores the current brush to the previous one.

void Load ( QString  filename,
Scene::LoadData cData 
)

Loads scene data.

This method loads a file from disk the same way the File Menu > Open command does. Note that this method differs from Scene::Load in that it automatically adds filename to the list of recent files, and updates other UI elements, whereas Scene::Load does not.

Parameters:
[in] filename path to the file on disk, by default this can be a .obj, .mud or .fbx file.
[in] cData The load options. Note if m_bMerge is true, the contents of the file are merged into the current scene. Otherwise they are added to a new scene.
void ShowProperties ( Node pNode,
bool  bFloating 
) const

Open a new properties dialog for the given node.

Parameters:
[in] pNode Address of the node whose parameters should be shown.
[in] bFloating Declares if the properties shoulod be in a floating panel or in the docked Properties pane
bool CreateNewScene ( )

Creates a new scene.

If the current scene has been modified since it was opened, the user will be prompted to save it before it is replaced by the new scene. If the user chooses to cancel, this will return false. Otherwise this method will return true.


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

Interface Interface Interface Interface Interface Interface Interface Interface Interface Interface
Interface Interface Interface Interface Interface Interface Interface Interface Interface Interface