Home
last modified time | relevance | path

Searched refs:GetCamera (Results 1 – 25 of 274) sorted by relevance

1234567891011

/dports/math/vtk9/VTK-9.1.0/ThirdParty/vtkm/vtkvtkm/vtk-m/vtkm/rendering/
H A DView2D.cxx44 this->GetScene().Render(this->GetMapper(), this->GetCanvas(), this->GetCamera()); in Paint()
53 this->GetCamera().GetRealViewport(this->GetCanvas().GetWidth(), in RenderScreenAnnotations()
62 vtkm::Bounds viewRange = this->GetCamera().GetViewRange2D(); in RenderScreenAnnotations()
68 this->GetCamera(), this->GetWorldAnnotator(), this->GetCanvas()); in RenderScreenAnnotations()
81 this->GetCamera(), this->GetWorldAnnotator(), this->GetCanvas()); in RenderScreenAnnotations()
92 this->GetCamera(), this->GetWorldAnnotator(), this->GetCanvas()); in RenderScreenAnnotations()
104 vtkm::Bounds origCamBounds = this->GetCamera().GetViewRange2D(); in UpdateCameraProperties()
112 this->GetCamera().SetViewRange2D( in UpdateCameraProperties()
116 if (this->GetCamera().GetMode() == Camera::MODE_2D && this->GetCamera().GetXScale() == 1.0f) in UpdateCameraProperties()
119 this->GetCamera().GetViewRange2D(left, right, bottom, top); in UpdateCameraProperties()
[all …]
H A DView1D.cxx47 this->GetScene().Render(this->GetMapper(), this->GetCanvas(), this->GetCamera()); in Paint()
56 this->GetCamera().GetRealViewport(this->GetCanvas().GetWidth(), in RenderScreenAnnotations()
66 vtkm::Bounds viewRange = this->GetCamera().GetViewRange2D(); in RenderScreenAnnotations()
75 this->GetCamera(), this->GetWorldAnnotator(), this->GetCanvas()); in RenderScreenAnnotations()
90 this->GetCamera(), this->GetWorldAnnotator(), this->GetCanvas()); in RenderScreenAnnotations()
112 this->Legend.Render(this->GetCamera(), this->GetWorldAnnotator(), this->GetCanvas()); in RenderColorLegendAnnotations()
134 vtkm::Bounds origCamBounds = this->GetCamera().GetViewRange2D(); in UpdateCameraProperties()
167 this->GetCamera().SetViewRange2D( in UpdateCameraProperties()
171 if (this->GetCamera().GetMode() == Camera::MODE_2D && this->GetCamera().GetXScale() == 1.0f) in UpdateCameraProperties()
174 this->GetCamera().GetViewRange2D(left, right, bottom, top); in UpdateCameraProperties()
[all …]
H A DView3D.cxx43 this->GetScene().Render(this->GetMapper(), this->GetCanvas(), this->GetCamera()); in Paint()
55 this->GetCamera(), this->GetWorldAnnotator(), this->GetCanvas()); in RenderScreenAnnotations()
70 this->BoxAnnotation.Render(this->GetCamera(), this->GetWorldAnnotator()); in RenderWorldAnnotations()
72 vtkm::Vec3f_32 lookAt = this->GetCamera().GetLookAt(); in RenderWorldAnnotations()
73 vtkm::Vec3f_32 position = this->GetCamera().GetPosition(); in RenderWorldAnnotations()
99 this->XAxisAnnotation.Render(this->GetCamera(), this->GetWorldAnnotator(), this->GetCanvas()); in RenderWorldAnnotations()
111 this->YAxisAnnotation.Render(this->GetCamera(), this->GetWorldAnnotator(), this->GetCanvas()); in RenderWorldAnnotations()
123 this->ZAxisAnnotation.Render(this->GetCamera(), this->GetWorldAnnotator(), this->GetCanvas()); in RenderWorldAnnotations()
/dports/math/vtk8/VTK-8.2.0/ThirdParty/vtkm/vtk-m/vtkm/rendering/
H A DView2D.cxx57 this->GetScene().Render(this->GetMapper(), this->GetCanvas(), this->GetCamera()); in Paint()
71 this->GetCamera().GetRealViewport(this->GetCanvas().GetWidth(), in RenderScreenAnnotations()
80 vtkm::Bounds viewRange = this->GetCamera().GetViewRange2D(); in RenderScreenAnnotations()
86 this->GetCamera(), this->GetWorldAnnotator(), this->GetCanvas()); in RenderScreenAnnotations()
99 this->GetCamera(), this->GetWorldAnnotator(), this->GetCanvas()); in RenderScreenAnnotations()
110 this->GetCamera(), this->GetWorldAnnotator(), this->GetCanvas()); in RenderScreenAnnotations()
122 vtkm::Bounds origCamBounds = this->GetCamera().GetViewRange2D(); in UpdateCameraProperties()
130 this->GetCamera().SetViewRange2D( in UpdateCameraProperties()
134 if (this->GetCamera().GetMode() == Camera::MODE_2D && this->GetCamera().GetXScale() == 1.0f) in UpdateCameraProperties()
137 this->GetCamera().GetViewRange2D(left, right, bottom, top); in UpdateCameraProperties()
[all …]
H A DView1D.cxx59 this->GetScene().Render(this->GetMapper(), this->GetCanvas(), this->GetCamera()); in Paint()
74 this->GetCamera().GetRealViewport(this->GetCanvas().GetWidth(), in RenderScreenAnnotations()
84 vtkm::Bounds viewRange = this->GetCamera().GetViewRange2D(); in RenderScreenAnnotations()
93 this->GetCamera(), this->GetWorldAnnotator(), this->GetCanvas()); in RenderScreenAnnotations()
108 this->GetCamera(), this->GetWorldAnnotator(), this->GetCanvas()); in RenderScreenAnnotations()
130 this->Legend.Render(this->GetCamera(), this->GetWorldAnnotator(), this->GetCanvas()); in RenderColorLegendAnnotations()
152 vtkm::Bounds origCamBounds = this->GetCamera().GetViewRange2D(); in UpdateCameraProperties()
185 this->GetCamera().SetViewRange2D( in UpdateCameraProperties()
189 if (this->GetCamera().GetMode() == Camera::MODE_2D && this->GetCamera().GetXScale() == 1.0f) in UpdateCameraProperties()
192 this->GetCamera().GetViewRange2D(left, right, bottom, top); in UpdateCameraProperties()
[all …]
H A DView3D.cxx58 this->GetScene().Render(this->GetMapper(), this->GetCanvas(), this->GetCamera()); in Paint()
76 this->GetCamera(), this->GetWorldAnnotator(), this->GetCanvas()); in RenderScreenAnnotations()
91 this->BoxAnnotation.Render(this->GetCamera(), this->GetWorldAnnotator()); in RenderWorldAnnotations()
93 vtkm::Vec<vtkm::Float32, 3> lookAt = this->GetCamera().GetLookAt(); in RenderWorldAnnotations()
94 vtkm::Vec<vtkm::Float32, 3> position = this->GetCamera().GetPosition(); in RenderWorldAnnotations()
120 this->XAxisAnnotation.Render(this->GetCamera(), this->GetWorldAnnotator(), this->GetCanvas()); in RenderWorldAnnotations()
132 this->YAxisAnnotation.Render(this->GetCamera(), this->GetWorldAnnotator(), this->GetCanvas()); in RenderWorldAnnotations()
144 this->ZAxisAnnotation.Render(this->GetCamera(), this->GetWorldAnnotator(), this->GetCanvas()); in RenderWorldAnnotations()
/dports/games/dhewm3/dhewm3-1.5.1/neo/tools/radiant/
H A DPointFile.cpp60 VectorCopy (s_pointvecs[s_check_point], g_pParentWnd->GetCamera()->Camera().origin); in Pointfile_Next()
62 VectorSubtract (s_pointvecs[s_check_point+1], g_pParentWnd->GetCamera()->Camera().origin, dir); in Pointfile_Next()
64 g_pParentWnd->GetCamera()->Camera().angles[1] = atan2 (dir[1], dir[0])*180/3.14159; in Pointfile_Next()
65 g_pParentWnd->GetCamera()->Camera().angles[0] = asin (dir[2])*180/3.14159; in Pointfile_Next()
81 VectorCopy (s_pointvecs[s_check_point], g_pParentWnd->GetCamera()->Camera().origin); in Pointfile_Prev()
83 VectorSubtract (s_pointvecs[s_check_point+1], g_pParentWnd->GetCamera()->Camera().origin, dir); in Pointfile_Prev()
85 g_pParentWnd->GetCamera()->Camera().angles[1] = atan2 (dir[1], dir[0])*180/3.14159; in Pointfile_Prev()
86 g_pParentWnd->GetCamera()->Camera().angles[0] = asin (dir[2])*180/3.14159; in Pointfile_Prev()
H A DEditorMap.cpp520 g_pParentWnd->GetCamera()->Camera().angles[PITCH] = 0; in Map_LoadFile()
528 g_pParentWnd->GetCamera()->Camera().angles[YAW] = 0; in Map_LoadFile()
544 if (g_pParentWnd->GetCamera()->GetRenderMode()) { in Map_LoadFile()
545 g_pParentWnd->GetCamera()->BuildRendererState(); in Map_LoadFile()
734 (int)g_pParentWnd->GetCamera()->Camera().origin[0], in Map_SaveFile()
735 (int)g_pParentWnd->GetCamera()->Camera().origin[1], in Map_SaveFile()
736 (int)g_pParentWnd->GetCamera()->Camera().origin[2], in Map_SaveFile()
737 (int)g_pParentWnd->GetCamera()->Camera().angles[YAW] ); in Map_SaveFile()
822 g_pParentWnd->GetCamera()->Camera().angles[YAW] = 0; in Map_New()
823 g_pParentWnd->GetCamera()->Camera().angles[PITCH] = 0; in Map_New()
[all …]
/dports/games/0ad/0ad-0.0.23b-alpha/source/tools/atlas/GameInterface/Handlers/
H A DCameraCtrlHandlers.cpp44 CVector3D focus = g_Game->GetView()->GetCamera()->GetFocus(); in MESSAGEHANDLER()
90 CMatrix3D& camera = g_Game->GetView()->GetCamera()->m_Orientation; in MESSAGEHANDLER()
120 g_Game->GetView()->GetCamera()->BuildCameraRay((int)x, (int)y, origin, dir); in MESSAGEHANDLER()
123 g_Game->GetView()->GetCamera()->UpdateFrustum(); in MESSAGEHANDLER()
148 CMatrix3D& camera = g_Game->GetView()->GetCamera()->m_Orientation; in MESSAGEHANDLER()
182 g_Game->GetView()->GetCamera()->UpdateFrustum(); in MESSAGEHANDLER()
196 CCamera& camera = AtlasView::GetView_Actor()->GetCamera(); in MESSAGEHANDLER()
228 CVector3D focus = g_Game->GetView()->GetCamera()->GetFocus(); in QUERYHANDLER()
235 CQuaternion quatRot = g_Game->GetView()->GetCamera()->m_Orientation.GetRotation(); in QUERYHANDLER()
252 view->ResetCameraTarget(view->GetCamera()->GetFocus()); in MESSAGEHANDLER()
H A DCinemaHandler.cpp147 CMatrix3D* cam = &g_Game->GetView()->GetCamera()->m_Orientation; in QUERYHANDLER()
199 CVector3D focus = g_Game->GetView()->GetCamera()->GetFocus(); in BEGIN_COMMAND()
206 CVector3D camera = g_Game->GetView()->GetCamera()->GetOrientation().GetTranslation(); in BEGIN_COMMAND()
296 g_Game->GetView()->GetCamera()->GetScreenCoordinates(p1, s1.X, s1.Y); in END_COMMAND()
297 g_Game->GetView()->GetCamera()->GetScreenCoordinates(p2, s2.X, s2.Y); in END_COMMAND()
337 CVector3D focus = g_Game->GetView()->GetCamera()->GetFocus(); in BEGIN_COMMAND()
466 g_Game->GetView()->GetCamera()->GetScreenCoordinates(position, screen_pos.X, screen_pos.Y); in isPathNodePicked()
512 …g_Game->GetView()->GetCamera()->GetScreenCoordinates(position, screen_position.X, screen_position.… in isAxisPicked()
525 CVector3D camera = g_Game->GetView()->GetCamera()->GetOrientation().GetTranslation(); in QUERYHANDLER()
/dports/devel/upp/upp/bazaar/SurfaceCtrl_Demo/
H A Dmain.cpp19 canvas.GetCamera().SetCameraType(CameraType::PERSPECTIVE); in SurfaceCtrl_Demo()
21 canvas.GetCamera().SetCameraType(CameraType::ORTHOGRAPHIC); in SurfaceCtrl_Demo()
23 canvas.GetCamera().SetCameraType(CameraType::PERSPECTIVE); in SurfaceCtrl_Demo()
60 fovSelector <<= canvas.GetCamera().GetFOV(); in SurfaceCtrl_Demo()
63 canvas.GetCamera().SetFOV(float(fovSelector)); in SurfaceCtrl_Demo()
188 canvas.GetCamera().GetTransform().SetPosition(0,0,20); in SurfaceCtrl_Demo()
215 Transform& t = canvas.GetCamera().GetTransform(); in RetrieveCameraInformation()
228 focusX <<= canvas.GetCamera().GetFocus().x; in RetrieveCameraInformation()
229 focusY <<= canvas.GetCamera().GetFocus().y; in RetrieveCameraInformation()
230 focusZ <<= canvas.GetCamera().GetFocus().z; in RetrieveCameraInformation()
[all …]
/dports/games/briquolo/briquolo-0.5.7/src/MOGL/
H A DMOGL_LensFlareFond.cpp37 vec.x=p_Afficheur->GetCamera()->GetPosition().x+_Direction.x*50; in TnL()
38 vec.y=p_Afficheur->GetCamera()->GetPosition().y+_Direction.y*50; in TnL()
39 vec.z=p_Afficheur->GetCamera()->GetPosition().z+_Direction.z*50; in TnL()
/dports/games/0ad/0ad-0.0.23b-alpha/source/tools/atlas/GameInterface/
H A DMisc.cpp38 return g_Game->GetView()->GetCamera()->GetWorldCoordinates(type1.x, type1.y, floating); in GetWorldSpace()
57 return g_Game->GetView()->GetCamera()->GetWorldCoordinates(type1.x, type1.y, h); in GetWorldSpace()
81 g_Game->GetView()->GetCamera()->GetScreenCoordinates(CVector3D(type0.x, type0.y, type0.x), x, y); in GetScreenSpace()
H A DView.h45 virtual CCamera& GetCamera() = 0;
72 virtual CCamera& GetCamera() { return dummyCamera; } in GetCamera() function
93 virtual CCamera& GetCamera();
142 virtual CCamera& GetCamera();
H A DView.cpp86 CCamera& camera = GetCamera(); in Render()
95 CCamera& AtlasViewActor::GetCamera() in GetCamera() function in AtlasViewActor
222 CCamera& camera = GetCamera(); in Render()
240 CVector3D camera = GetCamera().GetOrientation().GetTranslation(); in DrawCinemaPathTool()
353 CCamera& AtlasViewGame::GetCamera() in GetCamera() function in AtlasViewGame
355 return *g_Game->GetView()->GetCamera(); in GetCamera()
/dports/games/ivan/ivan-059/Main/Source/
H A Darea.cpp70 cint XMin = Max(game::GetCamera().X, 0); in SendNewDrawRequest()
71 cint YMin = Max(game::GetCamera().Y, 0); in SendNewDrawRequest()
72 cint XMax = Min(XSize, game::GetCamera().X + game::GetScreenXSize()); in SendNewDrawRequest()
73 cint YMax = Min(YSize, game::GetCamera().Y + game::GetScreenYSize()); in SendNewDrawRequest()
/dports/games/0ad/0ad-0.0.23b-alpha/source/simulation2/scripting/
H A DJSInterface_Simulation.cpp102 …return EntitySelection::PickEntityAtPoint(*g_Game->GetSimulation2(), *g_Game->GetView()->GetCamera in PickEntityAtPoint()
107 …tion::PickEntitiesInRect(*g_Game->GetSimulation2(), *g_Game->GetView()->GetCamera(), x0, y0, x1, y… in PickPlayerEntitiesInRect()
112 …tion::PickEntitiesInRect(*g_Game->GetSimulation2(), *g_Game->GetView()->GetCamera(), 0, 0, g_xres,… in PickPlayerEntitiesOnScreen()
117 …ickNonGaiaEntitiesInRect(*g_Game->GetSimulation2(), *g_Game->GetView()->GetCamera(), 0, 0, g_xres,… in PickNonGaiaEntitiesOnScreen()
122 …ion::PickSimilarEntities(*g_Game->GetSimulation2(), *g_Game->GetView()->GetCamera(), templateName,… in PickSimilarPlayerEntities()
/dports/misc/usd/USD-21.11/pxr/usd/plugin/usdAbc/testenv/
H A DtestUsdAbcCamera.py77 oldGfCam = UsdGeom.Camera(oldCam).GetCamera(frame)
78 newGfCam = UsdGeom.Camera(newCam).GetCamera(frame)
98 gfCam = UsdGeom.Camera(cam).GetCamera(1.0)
/dports/math/vtk8/VTK-8.2.0/ThirdParty/vtkm/vtk-m/examples/rendering/
H A DRendering.cxx89 view->GetCamera().Pan(x2 - x1, y2 - y1); in mouseMove()
91 view->GetCamera().TrackballRotate(x1, y1, x2, y2); in mouseMove()
94 view->GetCamera().Zoom(y2 - y1); in mouseMove()
/dports/games/valyriatear/ValyriaTear-1.1.0/src/modes/map/map_sprites/
H A Dmap_virtual_sprite.cpp249 if (collision_object && this == map_mode->GetCamera()) { in _SetNextPosition()
259 else if (this == map_mode->GetCamera()) in _SetNextPosition()
289 if(this == map_mode->GetCamera() && in _SetNextPosition()
310 if(this == map_mode->GetCamera()) in _SetNextPosition()
314 if(this->GetType() == ENEMY_TYPE && collision_object == map_mode->GetCamera()) { in _SetNextPosition()
342 if(this == map_mode->GetCamera()) { in _SetNextPosition()
/dports/games/allacrost/allacrost-1.0.2/src/modes/map/
H A Dmap_sprites.cpp283 if (this == MapMode::CurrentInstance()->GetCamera() && coll_obj->GetType() == ENEMY_TYPE) { in _ResolveCollision()
286 else if (coll_obj == MapMode::CurrentInstance()->GetCamera() && this->GetType() == ENEMY_TYPE) { in _ResolveCollision()
609 …float icon_alpha = 1.0f - (fabs(ComputeXLocation() - MapMode::CurrentInstance()->GetCamera()->Comp… in Draw()
610 MapMode::CurrentInstance()->GetCamera()->ComputeYLocation())) / DIALOGUE_ICON_VISIBLE_RANGE; in Draw()
823 xdelta = ComputeXLocation() - MapMode::CurrentInstance()->GetCamera()->ComputeXLocation(); in Update()
824 ydelta = ComputeYLocation() - MapMode::CurrentInstance()->GetCamera()->ComputeYLocation(); in Update()
843 …ne->IsInsideZone(MapMode::CurrentInstance()->GetCamera()->x_position, MapMode::CurrentInstance()-> in Update()
/dports/www/domoticz/domoticz-2020.2/main/
H A DCamera.h42 cameraDevice* GetCamera(const uint64_t CamID);
43 cameraDevice* GetCamera(const std::string &CamID);
H A DCamera.cpp68 cameraDevice *pCamera = GetCamera(CamID); in ReloadCameraActiveDevices()
113 cameraDevice* pCamera = GetCamera(CamID); in GetCameraURL()
121 cameraDevice* pCamera = GetCamera(CamID); in GetCameraURL()
142 CCameraHandler::cameraDevice* CCameraHandler::GetCamera(const std::string &CamID) in GetCamera() function in CCameraHandler
144 return GetCamera(std::stoull(CamID)); in GetCamera()
147 CCameraHandler::cameraDevice* CCameraHandler::GetCamera(const uint64_t CamID) in GetCamera() function in CCameraHandler
251 cameraDevice *pCamera = GetCamera(CamID); in TakeSnapshot()
/dports/games/openclaw/OpenClaw-0.0-51-gbac7730/OpenClaw/Engine/Scene/
H A DHUDSceneNode.cpp45 x += (int)((pScene->GetCamera()->GetWidth()) / scale.x); in VRender()
50 y += (int)((pScene->GetCamera()->GetHeight()) / scale.y); in VRender()
/dports/games/dhewm3/dhewm3-1.5.1/neo/d3xp/
H A DCamera.cpp131 if (gameLocal.GetCamera() != this) { in Event_Activate()
264 if ( gameLocal.GetCamera() == this ) { in ~idCameraAnim()
482 if ( gameLocal.GetCamera() == this ) { in Stop()
630 if ( gameLocal.GetCamera() != NULL ) { in GetViewParms()
632 gameLocal.GetCamera()->GetViewParms( view ); in GetViewParms()
719 if ( ( gameLocal.GetCamera() == this ) && !threadNum ) { in Event_SetCallback()

1234567891011