Choreonoid  1.8
Classes | Public Types | Public Member Functions | Protected Member Functions | List of all members
cnoid::ScenePointSelectionMode Class Reference

#include <ScenePointSelectionMode.h>

Inheritance diagram for cnoid::ScenePointSelectionMode:
cnoid::SceneWidgetEventHandler

Classes

class  PointInfo
 

Public Types

typedef ref_ptr< PointInfoPointInfoPtr
 

Public Member Functions

 ScenePointSelectionMode ()
 
 ScenePointSelectionMode (const ScenePointSelectionMode &org)=delete
 
virtual ~ScenePointSelectionMode ()
 
void setCustomModeId (int id)
 
PointInfohighlightedPoint ()
 
const std::vector< PointInfoPtr > & selectedPoints () const
 
void clearSelection ()
 
SignalProxy< void(const std::vector< PointInfoPtr > &points)> sigPointSelectionAdded ()
 
- Public Member Functions inherited from cnoid::SceneWidgetEventHandler
virtual bool onScrollEvent (SceneWidgetEvent *event)
 
virtual void onFocusChanged (SceneWidgetEvent *event, bool on)
 
virtual void onSceneModeChanged (const SceneWidgetEvent &event)
 
virtual bool onButtonPressEvent (const SceneWidgetEvent &event)
 
virtual bool onButtonReleaseEvent (const SceneWidgetEvent &event)
 
virtual bool onDoubleClickEvent (const SceneWidgetEvent &event)
 
virtual bool onPointerMoveEvent (const SceneWidgetEvent &event)
 
virtual void onPointerLeaveEvent (const SceneWidgetEvent &event)
 
virtual bool onScrollEvent (const SceneWidgetEvent &event)
 
virtual bool onKeyPressEvent (const SceneWidgetEvent &event)
 
virtual bool onKeyReleaseEvent (const SceneWidgetEvent &event)
 
virtual void onFocusChanged (const SceneWidgetEvent &event, bool on)
 
virtual bool onContextMenuRequest (const SceneWidgetEvent &event, MenuManager &menu)
 
virtual bool onUndoRequest ()
 
virtual bool onRedoRequest ()
 

Protected Member Functions

virtual std::vector< SgNode * > getTargetSceneNodes (SceneWidgetEvent *event)
 
virtual void onSceneModeChanged (SceneWidgetEvent *event) override
 
virtual bool onButtonPressEvent (SceneWidgetEvent *event) override
 
virtual bool onButtonReleaseEvent (SceneWidgetEvent *event) override
 
virtual bool onDoubleClickEvent (SceneWidgetEvent *event) override
 
virtual bool onPointerMoveEvent (SceneWidgetEvent *event) override
 
virtual void onPointerLeaveEvent (SceneWidgetEvent *event) override
 
virtual bool onKeyPressEvent (SceneWidgetEvent *event) override
 
virtual bool onKeyReleaseEvent (SceneWidgetEvent *event) override
 
virtual bool onContextMenuRequest (SceneWidgetEvent *event, MenuManager *menu) override
 

Member Typedef Documentation

◆ PointInfoPtr

Constructor & Destructor Documentation

◆ ScenePointSelectionMode() [1/2]

ScenePointSelectionMode::ScenePointSelectionMode ( )

◆ ScenePointSelectionMode() [2/2]

cnoid::ScenePointSelectionMode::ScenePointSelectionMode ( const ScenePointSelectionMode org)
delete

◆ ~ScenePointSelectionMode()

ScenePointSelectionMode::~ScenePointSelectionMode ( )
virtual

Member Function Documentation

◆ clearSelection()

void ScenePointSelectionMode::clearSelection ( )

◆ getTargetSceneNodes()

std::vector< SgNode * > ScenePointSelectionMode::getTargetSceneNodes ( SceneWidgetEvent event)
protectedvirtual

◆ highlightedPoint()

ScenePointSelectionMode::PointInfo * ScenePointSelectionMode::highlightedPoint ( )

◆ onButtonPressEvent()

bool ScenePointSelectionMode::onButtonPressEvent ( SceneWidgetEvent event)
overrideprotectedvirtual

Reimplemented from cnoid::SceneWidgetEventHandler.

◆ onButtonReleaseEvent()

bool ScenePointSelectionMode::onButtonReleaseEvent ( SceneWidgetEvent event)
overrideprotectedvirtual

Reimplemented from cnoid::SceneWidgetEventHandler.

◆ onContextMenuRequest()

bool ScenePointSelectionMode::onContextMenuRequest ( SceneWidgetEvent event,
MenuManager menu 
)
overrideprotectedvirtual

Reimplemented from cnoid::SceneWidgetEventHandler.

◆ onDoubleClickEvent()

bool ScenePointSelectionMode::onDoubleClickEvent ( SceneWidgetEvent event)
overrideprotectedvirtual

Reimplemented from cnoid::SceneWidgetEventHandler.

◆ onKeyPressEvent()

bool ScenePointSelectionMode::onKeyPressEvent ( SceneWidgetEvent event)
overrideprotectedvirtual

Reimplemented from cnoid::SceneWidgetEventHandler.

◆ onKeyReleaseEvent()

bool ScenePointSelectionMode::onKeyReleaseEvent ( SceneWidgetEvent event)
overrideprotectedvirtual

Reimplemented from cnoid::SceneWidgetEventHandler.

◆ onPointerLeaveEvent()

void ScenePointSelectionMode::onPointerLeaveEvent ( SceneWidgetEvent event)
overrideprotectedvirtual

Reimplemented from cnoid::SceneWidgetEventHandler.

◆ onPointerMoveEvent()

bool ScenePointSelectionMode::onPointerMoveEvent ( SceneWidgetEvent event)
overrideprotectedvirtual

Reimplemented from cnoid::SceneWidgetEventHandler.

◆ onSceneModeChanged()

void ScenePointSelectionMode::onSceneModeChanged ( SceneWidgetEvent event)
overrideprotectedvirtual

Reimplemented from cnoid::SceneWidgetEventHandler.

◆ selectedPoints()

const std::vector< PointInfoPtr > & ScenePointSelectionMode::selectedPoints ( ) const

◆ setCustomModeId()

void ScenePointSelectionMode::setCustomModeId ( int  id)

◆ sigPointSelectionAdded()

SignalProxy< void(const std::vector< PointInfoPtr > &points)> ScenePointSelectionMode::sigPointSelectionAdded ( )

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