Choreonoid
1.8
|
#include <SceneView.h>
Public Member Functions | |
SceneView () | |
~SceneView () | |
SceneWidget * | sceneWidget () |
SgGroup * | scene () |
bool | setCustomMode (int mode) |
int | customMode () const |
Public Member Functions inherited from cnoid::View | |
View () | |
virtual | ~View () |
ViewClass * | viewClass () const |
const std::string & | name () const |
virtual void | setName (const std::string &name) |
void | setTitleFormat (const std::string &title) |
void | resetTitleFormat () |
const std::string & | titleFormat () const |
ViewArea * | viewArea () const |
bool | isActive () const |
bool | hasFocus () const |
void | bringToFront () |
SignalProxy< void()> | sigActivated () |
SignalProxy< void()> | sigDeactivated () |
SignalProxy< void()> | sigResized () |
SignalProxy< void()> | sigRemoved () |
void | setDefaultLayoutArea (LayoutArea area) |
LayoutArea | defaultLayoutArea () const |
void | setLayout (QLayout *layout, double marginRatio=0.0) |
void | setLayout (QLayout *layout, double leftMarginRatio, double topMarginRatio, double rightMarginRatio, double bottomMarginRatio) |
QPoint | viewAreaPos () const |
void | enableFontSizeZoomKeys (bool on) |
Public Member Functions inherited from cnoid::Widget | |
Widget (QWidget *parent=0) | |
SignalProxy< void(std::string name)> | sigObjectNameChanged () |
SignalProxy< void(std::string title)> | sigWindowTitleChanged () |
Static Public Member Functions | |
static void | initializeClass (ExtensionManager *ext) |
static SceneView * | instance () |
This function returns the default instance. More... | |
static std::vector< SceneView * > | instances () |
static int | registerCustomMode (SceneWidgetEventHandler *modeHandler) |
static void | unregisterCustomMode (int mode) |
static int | customModeId (const std::string &modeName) |
static SignalProxy< void(SceneView *view)> | sigLastFocusViewChanged () |
Static Public Member Functions inherited from cnoid::View | |
static View * | lastFocusView () |
Protected Member Functions | |
virtual void | onFocusChanged (bool on) override |
virtual QWidget * | indicatorOnInfoBar () override |
virtual bool | storeState (Archive &archive) override |
virtual bool | restoreState (const Archive &archive) override |
Protected Member Functions inherited from cnoid::View | |
void | setLayoutContentsMarginRatio (QLayout *layout, double leftMarginRatio, double topMarginRatio, double rightMarginRatio, double bottomMarginRatio) |
void | zoomFontSize (int zoom) |
virtual void | onActivated () |
virtual void | onDeactivated () |
virtual void | onAttachedMenuRequest (MenuManager &menuManager) |
virtual void | keyPressEvent (QKeyEvent *event) |
virtual void | resizeEvent (QResizeEvent *event) |
Additional Inherited Members | |
Public Types inherited from cnoid::View | |
enum | LayoutArea { TopLeftArea = 0, MiddleLeftArea = 1, BottomLeftArea = 2, TopCenterArea = 3, CenterArea = 4, BottomCenterArea = 5, TopRightArea = 6, MiddleRightArea = 7, BottomRightArea = 8, NumLayoutAreas = 9, LEFT = TopLeftArea, LEFT_TOP = TopLeftArea, LEFT_BOTTOM = BottomLeftArea, CENTER = CenterArea, RIGHT = TopRightArea, BOTTOM = BottomCenterArea } |
SceneView::SceneView | ( | ) |
SceneView::~SceneView | ( | ) |
int SceneView::customMode | ( | ) | const |
|
static |
|
overrideprotectedvirtual |
Reimplemented from cnoid::View.
|
static |
|
static |
This function returns the default instance.
|
static |
This function is used in the BodyTrackingCameraItem implementation, but the implementation should not use the function and the function should be removed.
|
overrideprotectedvirtual |
Reimplemented from cnoid::View.
|
static |
If you want to add a custom mode button to the scene bar, use the SceneBar::addCustomModeButton function.
|
overrideprotectedvirtual |
Reimplemented from cnoid::View.
SgGroup * SceneView::scene | ( | ) |
SceneWidget * SceneView::sceneWidget | ( | ) |
bool SceneView::setCustomMode | ( | int | mode | ) |
|
static |
|
overrideprotectedvirtual |
Reimplemented from cnoid::View.
|
static |
If the corresponding custom mode button is added to the scene bar, remove it with the SceneBar::removeCustomModeButton function.