/dports/games/ufoai/ufoai-2.5-source/src/tools/radiant/radiant/camera/ |
H A D | GlobalCamera.cpp | 129 _camWnd->getCamera().updateModelview(); in lookThroughCamera() 130 _camWnd->getCamera().updateProjection(); in lookThroughCamera() 294 _camWnd->getCamera().moveForwardDiscrete(); in moveForwardDiscrete() 299 _camWnd->getCamera().moveBackDiscrete(); in moveBackDiscrete() 304 _camWnd->getCamera().moveUpDiscrete(); in moveUpDiscrete() 309 _camWnd->getCamera().moveDownDiscrete(); in moveDownDiscrete() 314 _camWnd->getCamera().moveLeftDiscrete(); in moveLeftDiscrete() 319 _camWnd->getCamera().moveRightDiscrete(); in moveRightDiscrete() 324 _camWnd->getCamera().rotateLeftDiscrete(); in rotateLeftDiscrete() 334 _camWnd->getCamera().pitchUpDiscrete(); in pitchUpDiscrete() [all …]
|
/dports/games/scorched3d/scorched/src/client/graph/ |
H A D | MainCamera.cpp | 230 targetCam_.getCamera().getCurrentPos()); in simulate() 232 targetCam_.getCamera().getVelocity()); in simulate() 234 targetCam_.getCamera().getLookAt() - in simulate() 235 targetCam_.getCamera().getCurrentPos(); in simulate() 248 targetCam_.getCamera().getRotationXY(), in simulate() 249 targetCam_.getCamera().getRotationYZ(), in simulate() 250 targetCam_.getCamera().getZoom()); in simulate() 251 current->getCamera().setCameraLookAt(targetCam_.getCamera().getLookAt()); in simulate() 416 targetCam_.getCamera().getLookAt(), in setQuick() 418 targetCam_.getCamera().getRotationYZ(), in setQuick() [all …]
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/scripting/api/objs/ |
H A D | camera.cpp | 25 return ade_set_args(L, "s", cid.getCamera()->get_name()); 51 cid.getCamera()->set_name(s); 68 cid.getCamera()->set_fov(f); 85 cid.getCamera()->set_rotation(mh->GetMatrix()); 89 cid.getCamera()->get_info(NULL, &mtx); 104 cid.getCamera()->set_position(pos); 108 cid.getCamera()->get_info(&v, NULL); 123 cid.getCamera()->set_object_host(oh->objp); 143 object *objp = cid.getCamera()->get_object_host(); 178 cid.getCamera()->set_object_target(oh->objp); [all …]
|
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/examples/osgviewerFLTK/ |
H A D | osgviewerFLTK.cpp | 104 getCamera()->setViewport(new osg::Viewport(0,0,w,h)); in ViewerFLTK() 106 getCamera()->setGraphicsContext(getGraphicsWindow()); in ViewerFLTK() 107 getCamera()->setDrawBuffer(GL_BACK); in ViewerFLTK() 108 getCamera()->setReadBuffer(GL_BACK); in ViewerFLTK() 163 view1->getCamera()->setGraphicsContext(viewerWindow.getGraphicsWindow()); in main() 165 view1->getCamera()->setViewport(new osg::Viewport(0,0,width,height/2)); in main() 166 view1->getCamera()->setDrawBuffer(GL_BACK); in main() 167 view1->getCamera()->setReadBuffer(GL_BACK); in main() 176 view2->getCamera()->setGraphicsContext(viewerWindow.getGraphicsWindow()); in main() 179 view2->getCamera()->setDrawBuffer(GL_BACK); in main() [all …]
|
/dports/graphics/darktable/darktable-3.6.1/src/external/rawspeed/test/librawspeed/metadata/ |
H A D | CameraMetaDataTest.cpp | 52 Data.getCamera("NIKON CORPORATION", "NIKON D3", "14bit-compressed"); in TEST() 57 Data.getCamera("NIKON CORPORATION", "NIKON D3", in TEST() 59 ASSERT_EQ(nullptr, Data.getCamera("NIKON CORPORATION", in TEST() 63 Data.getCamera("NIKON CORPORATION-with-some-bogus-prefix", in TEST() 66 d3 = Data.getCamera("NIKON CORPORATION", "NIKON D3"); in TEST() 70 ASSERT_EQ(nullptr, Data.getCamera("NIKON CORPORATION", in TEST() 74 Data.getCamera("NIKON CORPORATION-with-some-bogus-prefix", "NIKON D3")); in TEST() 76 Data.getCamera("NIKON CORPORATION-with-some-bogus-prefix", in TEST()
|
/dports/graphics/darktable38/darktable-3.8.0/src/external/rawspeed/test/librawspeed/metadata/ |
H A D | CameraMetaDataTest.cpp | 52 Data.getCamera("NIKON CORPORATION", "NIKON D3", "14bit-compressed"); in TEST() 57 Data.getCamera("NIKON CORPORATION", "NIKON D3", in TEST() 59 ASSERT_EQ(nullptr, Data.getCamera("NIKON CORPORATION", in TEST() 63 Data.getCamera("NIKON CORPORATION-with-some-bogus-prefix", in TEST() 66 d3 = Data.getCamera("NIKON CORPORATION", "NIKON D3"); in TEST() 70 ASSERT_EQ(nullptr, Data.getCamera("NIKON CORPORATION", in TEST() 74 Data.getCamera("NIKON CORPORATION-with-some-bogus-prefix", "NIKON D3")); in TEST() 76 Data.getCamera("NIKON CORPORATION-with-some-bogus-prefix", in TEST()
|
/dports/graphics/photoflow/PhotoFlow-8472024f/src/external/rawspeed/test/librawspeed/metadata/ |
H A D | CameraMetaDataTest.cpp | 52 Data.getCamera("NIKON CORPORATION", "NIKON D3", "14bit-compressed"); in TEST() 57 Data.getCamera("NIKON CORPORATION", "NIKON D3", in TEST() 59 ASSERT_EQ(nullptr, Data.getCamera("NIKON CORPORATION", in TEST() 63 Data.getCamera("NIKON CORPORATION-with-some-bogus-prefix", in TEST() 66 d3 = Data.getCamera("NIKON CORPORATION", "NIKON D3"); in TEST() 70 ASSERT_EQ(nullptr, Data.getCamera("NIKON CORPORATION", in TEST() 74 Data.getCamera("NIKON CORPORATION-with-some-bogus-prefix", "NIKON D3")); in TEST() 76 Data.getCamera("NIKON CORPORATION-with-some-bogus-prefix", in TEST()
|
/dports/games/openmw/openmw-openmw-0.47.0/apps/opencs/view/render/ |
H A D | scenewidget.cpp | 70 mView->getCamera()->setGraphicsContext(window); in RenderWidget() 127 osg::Camera *RenderWidget::getCamera() in getCamera() function in CSVRender::RenderWidget 129 return mView->getCamera(); in getCamera() 220 mView->getCamera()->setClearMask(0); in SceneWidget() 224 mView->getCamera()->setClearColor(osg::Vec4( in SceneWidget() 397 mView->getCamera()->setClearMask(0); in selectLightingMode() 404 mView->getCamera()->setClearMask(0); in selectLightingMode() 411 mView->getCamera()->setClearColor(osg::Vec4( in selectLightingMode() 585 mFreeCamControl->setCamera(getCamera()); in selectNavigationMode() 592 mFreeCamControl->setCamera(getCamera()); in selectNavigationMode() [all …]
|
H A D | cameracontroller.cpp | 54 osg::Camera* CameraController::getCamera() const in getCamera() function in CSVRender::CameraController 149 getCamera()->setViewMatrixAsLookAt(eye, center, up); in setup() 342 getCamera()->getViewMatrix().orthoNormal(getCamera()->getViewMatrix()); in update() 390 getCamera()->getViewMatrixAsLookAt(eye, center, up); in stabilize() 391 getCamera()->setViewMatrixAsLookAt(eye, center, mUp); in stabilize() 548 getCamera()->getViewMatrixAsLookAt(eye, center, up); in setCenter() 633 getCamera()->getViewMatrix().orthoNormal(getCamera()->getViewMatrix()); in update() 654 getCamera()->accept(visitor); in initialize() 681 getCamera()->getViewMatrixAsLookAt(eye, center, up); in rotateHorizontal() 697 getCamera()->getViewMatrixAsLookAt(eye, center, up); in rotateVertical() [all …]
|
/dports/games/gtkradiant/GPL/GtkRadiant/radiant/ |
H A D | camwindow.cpp | 707 camera_t& getCamera() in getCamera() function in CamWnd 789 return Camera_getOrigin(camwnd.getCamera()); in Camera_getOrigin() 794 Camera_setOrigin(camwnd.getCamera(), origin); in Camera_setOrigin() 799 return Camera_getAngles(camwnd.getCamera()); in Camera_getAngles() 804 Camera_setAngles(camwnd.getCamera(), angles); in Camera_setAngles() 846 …RRectangle.set(rectangle_from_area(area.min, area.max, self.getCamera().width, self.getCamera().he… in camwnd_update_xor_rectangle() 924 Camera_updateProjection(camwnd->getCamera()); in camera_size_allocate() 925 camwnd->m_window_observer->onSizeChanged(camwnd->getCamera().width, camwnd->getCamera().height); in camera_size_allocate() 1301 Camera_updateModelview(getCamera()); in Cam_ChangeFloor() 1708 Camera_updateProjection(camwnd.getCamera()); in Camera_CubeIn() [all …]
|
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/examples/osgmultiviewpaging/ |
H A D | osgmultiviewpaging.cpp | 127 view->getCamera()->setName("Cam one"); in main() 128 … view->getCamera()->setViewport(new osg::Viewport(0,0, traits->width/2, traits->height/2)); in main() 129 view->getCamera()->setGraphicsContext(gc.get()); in main() 133 statesetManipulator->setStateSet(view->getCamera()->getOrCreateStateSet()); in main() 152 view->getCamera()->setName("Cam two"); in main() 153 …view->getCamera()->setViewport(new osg::Viewport(traits->width/2,0, traits->width/2, traits->heigh… in main() 154 view->getCamera()->setGraphicsContext(gc.get()); in main() 167 view->getCamera()->setName("Cam three"); in main() 168 …view->getCamera()->setProjectionMatrixAsPerspective(30.0, double(traits->width) / double(traits->h… in main() 169 …view->getCamera()->setViewport(new osg::Viewport(0, traits->height/2, traits->width, traits->heigh… in main() [all …]
|
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/examples/osgmultiviewpaging/ |
H A D | osgmultiviewpaging.cpp | 133 view->getCamera()->setName("Cam one"); in main() 134 … view->getCamera()->setViewport(new osg::Viewport(0,0, traits->width/2, traits->height/2)); in main() 135 view->getCamera()->setGraphicsContext(gc.get()); in main() 139 statesetManipulator->setStateSet(view->getCamera()->getOrCreateStateSet()); in main() 158 view->getCamera()->setName("Cam two"); in main() 159 …view->getCamera()->setViewport(new osg::Viewport(traits->width/2,0, traits->width/2, traits->heigh… in main() 160 view->getCamera()->setGraphicsContext(gc.get()); in main() 173 view->getCamera()->setName("Cam three"); in main() 174 …view->getCamera()->setProjectionMatrixAsPerspective(30.0, double(traits->width) / double(traits->h… in main() 175 …view->getCamera()->setViewport(new osg::Viewport(0, traits->height/2, traits->width, traits->heigh… in main() [all …]
|
/dports/games/netradiant/netradiant-20150621-src/radiant/ |
H A D | camwindow.cpp | 713 camera_t& getCamera(){ in getCamera() function in CamWnd 783 return Camera_getOrigin( camwnd.getCamera() ); in Camera_getOrigin() 787 Camera_setOrigin( camwnd.getCamera(), origin ); in Camera_setOrigin() 791 return Camera_getAngles( camwnd.getCamera() ); in Camera_getAngles() 795 Camera_setAngles( camwnd.getCamera(), angles ); in Camera_setAngles() 829 …ectangle.set( rectangle_from_area( area.min, area.max, self.getCamera().width, self.getCamera().he… in camwnd_update_xor_rectangle() 890 camwnd->getCamera().width = allocation->width; in camera_size_allocate() 892 Camera_updateProjection( camwnd->getCamera() ); in camera_size_allocate() 893 camwnd->m_window_observer->onSizeChanged( camwnd->getCamera().width, camwnd->getCamera().height ); in camera_size_allocate() 1240 Camera_updateModelview( getCamera() ); in Cam_ChangeFloor() [all …]
|
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgViewer/config/ |
H A D | SingleWindow.cpp | 74 view.getCamera()->setGraphicsContext(gc.get()); in configure() 89 view.getCamera()->getProjectionMatrixAsPerspective(fovy, aspectRatio, zNear, zFar); in configure() 95 … view.getCamera()->getProjectionMatrix() *= osg::Matrix::scale(1.0/aspectRatioChange,1.0,1.0); in configure() 98 view.getCamera()->setViewport(new osg::Viewport(0, 0, traits->width, traits->height)); in configure() 102 view.getCamera()->setDrawBuffer(buffer); in configure() 103 view.getCamera()->setReadBuffer(buffer); in configure() 113 view.assignStereoOrKeystoneToCamera(view.getCamera(), ds); in configure() 117 view.assignStereoOrKeystoneToCamera(view.getCamera(), ds); in configure()
|
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/src/osgViewer/config/ |
H A D | SingleWindow.cpp | 74 view.getCamera()->setGraphicsContext(gc.get()); in configure() 89 view.getCamera()->getProjectionMatrixAsPerspective(fovy, aspectRatio, zNear, zFar); in configure() 95 … view.getCamera()->getProjectionMatrix() *= osg::Matrix::scale(1.0/aspectRatioChange,1.0,1.0); in configure() 98 view.getCamera()->setViewport(new osg::Viewport(0, 0, traits->width, traits->height)); in configure() 102 view.getCamera()->setDrawBuffer(buffer); in configure() 103 view.getCamera()->setReadBuffer(buffer); in configure() 113 view.assignStereoOrKeystoneToCamera(view.getCamera(), ds); in configure() 117 view.assignStereoOrKeystoneToCamera(view.getCamera(), ds); in configure()
|
/dports/graphics/osgearth/osgearth-osgearth-2.10.1/src/applications/osgearth_viewer_android/jni/ |
H A D | OsgMainApp.cpp | 35 _viewer->getCamera()->setViewport(new osg::Viewport(0, 0, width, height)); in initOsgWindow() 36 _viewer->getCamera()->setClearMask(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); in initOsgWindow() 37 _viewer->getCamera()->setClearColor(osg::Vec4(0.0f, 0.0f, 0.5f, 1.0f)); in initOsgWindow() 38 …_viewer->getCamera()->setProjectionMatrixAsPerspective(45.0f, (float)(width / height), 0.1f, 1000.… in initOsgWindow() 40 _viewer->getCamera()->setNearFarRatio(0.00002f); in initOsgWindow() 42 _viewer->getCamera()->setLODScale(_viewer->getCamera()->getLODScale() * 1.5f); in initOsgWindow()
|
/dports/graphics/osgearth/osgearth-osgearth-2.10.1/src/applications/osgearth_pick/ |
H A D | osgearth_pick.cpp | 170 view->getCamera()->setName( "osgearth_pick RTT view" ); in setupRTTView() 171 view->getCamera()->setViewport(0,0,256,256); in setupRTTView() 172 view->getCamera()->setClearColor(osg::Vec4(1,1,1,1)); in setupRTTView() 173 view->getCamera()->setProjectionMatrixAsOrtho2D(-.5,.5,-.5,.5); in setupRTTView() 175 view->getCamera()->setProjectionResizePolicy(osg::Camera::FIXED); in setupRTTView() 232 … app.rttView->getCamera()->setGraphicsContext(app.mainView->getCamera()->getGraphicsContext()); in startPicker() 233 app.rttView->getCamera()->setSmallFeatureCullingPixelSize(-1.0f); in startPicker() 237 app.rttView->getCamera()->setNodeMask(~0); in startPicker() 249 app.rttView->getCamera()->setNodeMask(0); in stopPicker() 291 app.mainView->getCamera()->setSmallFeatureCullingPixelSize(-1.0f); in main() [all …]
|
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/examples/osgviewerFLTK/ |
H A D | osgviewerFLTK.cpp | 104 getCamera()->setViewport(new osg::Viewport(0,0,w,h)); in ViewerFLTK() 105 …getCamera()->setProjectionMatrixAsPerspective(30.0f, static_cast<double>(w)/static_cast<double>(h)… in ViewerFLTK() 106 getCamera()->setGraphicsContext(getGraphicsWindow()); in ViewerFLTK() 161 view1->getCamera()->setGraphicsContext(viewerWindow.getGraphicsWindow()); in main() 162 …view1->getCamera()->setProjectionMatrixAsPerspective(30.0f, static_cast<double>(width)/static_cast… in main() 163 view1->getCamera()->setViewport(new osg::Viewport(0,0,width,height/2)); in main() 172 view2->getCamera()->setGraphicsContext(viewerWindow.getGraphicsWindow()); in main() 173 …view2->getCamera()->setProjectionMatrixAsPerspective(30.0f, static_cast<double>(width)/static_cast… in main() 174 view2->getCamera()->setViewport(new osg::Viewport(0,height/2,width,height/2)); in main()
|
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/examples/osgcompositeviewer/ |
H A D | osgcompositeviewer.cpp | 177 statesetManipulator->setStateSet(view->getCamera()->getOrCreateStateSet()); in main() 245 view->getCamera()->setName("Cam one"); in main() 246 … view->getCamera()->setViewport(new osg::Viewport(0,0, traits->width/2, traits->height/2)); in main() 247 view->getCamera()->setGraphicsContext(gc.get()); in main() 252 statesetManipulator->setStateSet(view->getCamera()->getOrCreateStateSet()); in main() 270 view->getCamera()->setName("Cam two"); in main() 271 …view->getCamera()->setViewport(new osg::Viewport(traits->width/2,0, traits->width/2, traits->heigh… in main() 272 view->getCamera()->setGraphicsContext(gc.get()); in main() 288 view->getCamera()->setName("Cam three"); in main() 290 …view->getCamera()->setViewport(new osg::Viewport(0, traits->height/2, traits->width, traits->heigh… in main() [all …]
|
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/examples/osgcompositeviewer/ |
H A D | osgcompositeviewer.cpp | 213 statesetManipulator->setStateSet(view->getCamera()->getOrCreateStateSet()); in main() 253 statesetManipulator->setStateSet(view->getCamera()->getOrCreateStateSet()); in main() 331 view->getCamera()->setName("Cam one"); in main() 332 … view->getCamera()->setViewport(new osg::Viewport(0,0, traits->width/2, traits->height/2)); in main() 333 view->getCamera()->setGraphicsContext(gc.get()); in main() 338 statesetManipulator->setStateSet(view->getCamera()->getOrCreateStateSet()); in main() 356 view->getCamera()->setName("Cam two"); in main() 357 …view->getCamera()->setViewport(new osg::Viewport(traits->width/2,0, traits->width/2, traits->heigh… in main() 358 view->getCamera()->setGraphicsContext(gc.get()); in main() 374 view->getCamera()->setName("Cam three"); in main() [all …]
|
/dports/graphics/osgearth/osgearth-osgearth-2.10.1/src/applications/osgearth_minimap/ |
H A D | osgearth_minimap.cpp | 95 osg::Matrixd proj = view->getCamera()->getProjectionMatrix(); in getExtent() 96 osg::Matrixd mv = view->getCamera()->getViewMatrix(); in getExtent() 166 mainView->getCamera()->setNearFarRatio(0.00002); in main() 175 miniMapView->getCamera()->setNearFarRatio(0.00002); in main() 176 miniMapView->getCamera()->setViewport( 0, 0, miniMapWidth, miniMapHeight); in main() 178 miniMapView->getCamera()->setClearColor( osg::Vec4(0,0,0,0)); in main() 179 miniMapView->getCamera()->setProjectionResizePolicy( osg::Camera::FIXED ); in main() 180 …miniMapView->getCamera()->setProjectionMatrixAsPerspective(30.0, double(miniMapWidth) / double(min… in main() 182 …miniMapView->getCamera()->setGraphicsContext( mainView->getCamera()->getGraphicsContext()); in main() 220 miniMapView->getCamera()->setViewport( 0, 0, miniMapWidth, miniMapHeight); in main() [all …]
|
/dports/cad/sweethome3d/SweetHome3D-6.6.4-src/test/com/eteks/sweethome3d/junit/ |
H A D | HomeCameraTest.java | 108 home.getTopCamera(), home.getCamera()); in testHomeCamera() 111 (float)Math.PI, (float)Math.PI / 4, home.getCamera()); in testHomeCamera() 129 (float)Math.PI, (float)Math.PI / 4, home.getCamera()); in testHomeCamera() 175 7 * (float)Math.PI / 4, (float)Math.PI / 16, home.getCamera()); in testHomeCamera() 181 3 * (float)Math.PI / 4, (float)Math.PI / 16, home.getCamera()); in testHomeCamera() 211 3 * (float)Math.PI / 4, (float)Math.PI / 16, home.getCamera()); in testHomeCamera() 225 2.5097f, (float)Math.PI / 16, home.getCamera()); in testHomeCamera() 239 2.5097f, 0.1639f, home.getCamera()); in testHomeCamera() 249 2.5097f, 0.1639f, home.getCamera()); in testHomeCamera() 257 2.5597f, 0.1639f, home.getCamera()); in testHomeCamera() [all …]
|
/dports/graphics/osgearth/osgearth-osgearth-2.10.1/src/applications/osgearth_windows/ |
H A D | osgearth_windows.cpp | 86 view->getCamera()->setViewport(i*size, 0, size, size); in main() 87 view->getCamera()->setProjectionMatrixAsPerspective(45, 1, 1, 10); in main() 88 view->getCamera()->setName(Stringify()<<"View "<<i); in main() 99 … view->getCamera()->setGraphicsContext(viewer.getView(0)->getCamera()->getGraphicsContext()); in main()
|
/dports/print/scribus-devel/scribus-1.5.7/scribus/ui/ |
H A D | AdapterWidget.h | 58 getCamera()->setViewport ( new osg::Viewport ( 0,0,width(),height() ) ); in AdapterWidget() 59 …getCamera()->setProjectionMatrixAsPerspective ( 30.0f, static_cast<double> ( width() ) /static_cas… in AdapterWidget() 61 getCamera()->setClearColor(osg::Vec4(bg.redF(), bg.greenF(), bg.blueF(), 0.0)); in AdapterWidget() 62 getCamera()->setClearMask(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); in AdapterWidget() 63 getCamera()->setGraphicsContext ( getGraphicsWindow() ); in AdapterWidget()
|
/dports/graphics/osgearth/osgearth-osgearth-2.10.1/src/applications/osgearth_magnify/ |
H A D | osgearth_magnify.cpp | 65 bool isPerspective = _mainView->getCamera()->getProjectionMatrix()(3,3) == 0.0; in apply() 69 _mainView->getCamera()->getProjectionMatrixAsPerspective(vfov, ar, n, f); in apply() 70 … _magView->getCamera()->setProjectionMatrixAsPerspective(vfov * computeRangeScale(), ar, n, f); in apply() 76 _mainView->getCamera()->getProjectionMatrixAsOrtho(L, R, B, T, N, F); in apply() 83 _magView->getCamera()->setProjectionMatrixAsOrtho(L, R, B, T, N, F); in apply() 88 _magView->getCamera()->setLODScale(computeRangeScale()); in apply() 221 app._magView->getCamera()->setViewMatrix(app._mainView->getCamera()->getViewMatrix()); in main()
|