Choreonoid
1.8
|
#include <SceneWidget.h>
Public Types | |
enum | ViewpointOperationMode { ThirdPersonMode, FirstPersonMode } |
enum | PolygonElement { PolygonFace = 1, PolygonEdge = 2, PolygonVertex = 4 } |
Static Public Member Functions | |
static void | initializeClass (ExtensionManager *ext) |
static SignalProxy< void(SceneWidget *)> | sigSceneWidgetCreated () |
static void | forEachInstance (SgNode *node, std::function< void(SceneWidget *sceneWidget, const SgNodePath &path)> function) |
static int | issueUniqueCustomModeId () |
SceneWidget::SceneWidget | ( | QWidget * | parent | ) |
SceneWidget::~SceneWidget | ( | ) |
void SceneWidget::activateCustomMode | ( | SceneWidgetEventHandler * | modeHandler, |
int | modeId = 1 |
||
) |
int SceneWidget::activeCustomMode | ( | ) | const |
SceneWidgetEventHandler * SceneWidget::activeCustomModeHandler | ( | ) |
Vector3 SceneWidget::backgroundColor | ( | ) |
SgPosTransform * SceneWidget::builtinCameraTransform | ( | void | ) |
SgOrthographicCamera * SceneWidget::builtinOrthographicCamera | ( | ) | const |
SgPerspectiveCamera * SceneWidget::builtinPerspectiveCamera | ( | ) | const |
bool SceneWidget::collisionLineVisibility | ( | ) | const |
QVBoxLayout * SceneWidget::configDialogVBox | ( | ) |
Menu * SceneWidget::contextMenu | ( | ) |
void SceneWidget::deactivateCustomMode | ( | SceneWidgetEventHandler * | modeHandler = nullptr | ) |
|
inline |
InteractiveCameraTransform * SceneWidget::findOwnerInteractiveCameraTransform | ( | int | cameraIndex | ) |
|
static |
QImage SceneWidget::getImage | ( | ) |
QWidget * SceneWidget::indicator | ( | ) |
|
static |
bool SceneWidget::isBuiltinCamera | ( | SgCamera * | camera | ) | const |
bool SceneWidget::isBuiltinCameraCurrent | ( | ) | const |
bool SceneWidget::isEditMode | ( | ) | const |
bool SceneWidget::isHighlightingEnabled | ( | ) | const |
|
static |
Vector3 SceneWidget::lastClickedPoint | ( | ) | const |
SceneWidgetEvent * SceneWidget::latestEvent | ( | ) |
SceneRenderer * SceneWidget::renderer | ( | ) |
void SceneWidget::renderScene | ( | bool | doImmediately = false | ) |
bool SceneWidget::restoreState | ( | const Archive & | archive | ) |
void SceneWidget::rotateBuiltinCameraView | ( | double | dPitch, |
double | dYaw | ||
) |
bool SceneWidget::saveImage | ( | const std::string & | filename | ) |
SgGroup * SceneWidget::scene | ( | ) |
SceneWidgetRoot * SceneWidget::sceneRoot | ( | ) |
void SceneWidget::setAdditionalLights | ( | bool | on | ) |
void SceneWidget::setBackgroundColor | ( | const Vector3 & | color | ) |
void SceneWidget::setCameraPosition | ( | const Vector3 & | eye, |
const Vector3 & | direction, | ||
const Vector3 & | up | ||
) |
void SceneWidget::setCollisionLineVisibility | ( | bool | on | ) |
void SceneWidget::setColor | ( | const Vector4 & | color | ) |
void SceneWidget::setCoordinateAxes | ( | bool | on | ) |
void SceneWidget::setCursor | ( | const QCursor | cursor | ) |
void SceneWidget::setEditMode | ( | bool | on | ) |
void SceneWidget::setFar | ( | double | value | ) |
void SceneWidget::setFieldOfView | ( | double | value | ) |
void SceneWidget::setFloorGrid | ( | bool | on | ) |
void SceneWidget::setFloorGridInterval | ( | double | value | ) |
void SceneWidget::setFloorGridSpan | ( | double | value | ) |
void SceneWidget::setHeadLightEnabled | ( | bool | on | ) |
void SceneWidget::setHeadLightIntensity | ( | double | value | ) |
void SceneWidget::setHeadLightLightingFromBack | ( | bool | on | ) |
void SceneWidget::setHeight | ( | double | value | ) |
void SceneWidget::setHighlightingEnabled | ( | bool | on | ) |
void SceneWidget::setLineWidth | ( | double | value | ) |
void SceneWidget::setModeSyncEnabled | ( | bool | on | ) |
void SceneWidget::setNear | ( | double | value | ) |
void SceneWidget::setNormalLength | ( | double | value | ) |
void SceneWidget::setNormalVisualization | ( | bool | on | ) |
void SceneWidget::setPointSize | ( | double | value | ) |
bool SceneWidget::setSceneFocus | ( | const SgNodePath & | path | ) |
void SceneWidget::setScreenSize | ( | int | width, |
int | height | ||
) |
void SceneWidget::setShowFPS | ( | bool | on | ) |
void SceneWidget::setViewpointOperationMode | ( | ViewpointOperationMode | mode | ) |
void SceneWidget::setVisiblePolygonElements | ( | int | elementFlags | ) |
void SceneWidget::setWorldLight | ( | bool | on | ) |
void SceneWidget::setWorldLightAmbient | ( | double | value | ) |
void SceneWidget::setWorldLightIntensity | ( | double | value | ) |
void SceneWidget::showConfigDialog | ( | ) |
void SceneWidget::showContextMenuAtPointerPosition | ( | ) |
SignalProxy< void()> SceneWidget::sigAboutToBeDestroyed | ( | ) |
SignalProxy< void(SceneWidgetEvent *event, MenuManager *menuManager)> SceneWidget::sigContextMenuRequest | ( | ) |
|
static |
SignalProxy< void()> SceneWidget::sigStateChanged | ( | ) | const |
SignalProxy< void(bool isFocused)> SceneWidget::sigWidgetFocusChanged | ( | ) |
void SceneWidget::startBuiltinCameraViewChange | ( | const Vector3 & | center | ) |
bool SceneWidget::storeState | ( | Archive & | archive | ) |
SgGroup * SceneWidget::systemNodeGroup | ( | ) |
void SceneWidget::translateBuiltinCameraView | ( | const Vector3 & | dp_local | ) |
bool SceneWidget::unproject | ( | double | x, |
double | y, | ||
double | z, | ||
Vector3 & | out_projected | ||
) | const |
void SceneWidget::updateIndicator | ( | const std::string & | text | ) |
void SceneWidget::viewAll | ( | ) |
SceneWidget::ViewpointOperationMode SceneWidget::viewpointOperationMode | ( | ) | const |
int SceneWidget::visiblePolygonElements | ( | ) | const |