/external/jmonkeyengine/engine/src/core/com/jme3/effect/ |
ParticleComparator.java | 41 private Camera cam; field in class:ParticleComparator 43 public void setCamera(Camera cam){ 44 this.cam = cam; 61 d1 = cam.distanceToNearPlane(p1.position); 65 d2 = cam.distanceToNearPlane(p2.position);
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/lodcalc/ |
LodPerspectiveCalculatorFactory.java | 49 private Camera cam; field in class:LodPerspectiveCalculatorFactory 52 public LodPerspectiveCalculatorFactory(Camera cam, float pixelError){ 53 this.cam = cam; 58 return new PerspectiveLodCalculator(cam, pixelError); 62 PerspectiveLodCalculator p = new PerspectiveLodCalculator(cam, pixelError);
|
PerspectiveLodCalculator.java | 49 private Camera cam; field in class:PerspectiveLodCalculator 55 public PerspectiveLodCalculator(Camera cam, float pixelError){ 56 this.cam = cam; 64 * @param cam 68 private float getCameraConstant(Camera cam, float pixelLimit){ 69 float n = cam.getFrustumNear(); 70 float t = FastMath.abs(cam.getFrustumTop()); 72 float v_res = cam.getHeight(); 86 float cameraConstant = getCameraConstant(cam, pixelError) [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/renderer/queue/ |
TransparentComparator.java | 41 private Camera cam; field in class:TransparentComparator 44 public void setCamera(Camera cam){ 45 this.cam = cam; 63 Vector3f camPosition = cam.getLocation(); 64 Vector3f viewVector = cam.getDirection(); 88 return spat.getWorldBound().distanceToEdge(cam.getLocation());
|
OpaqueComparator.java | 42 private Camera cam;
field in class:OpaqueComparator 46 public void setCamera(Camera cam){
47 this.cam = cam;
57 Vector3f camPosition = cam.getLocation();
58 Vector3f viewVector = cam.getDirection(tempVec2);
|
RenderQueue.java | 293 private void renderGeometryList(GeometryList list, RenderManager rm, Camera cam, boolean clear) { 294 list.setCamera(cam); // select camera for sorting 307 public void renderShadowQueue(GeometryList list, RenderManager rm, Camera cam, boolean clear) { 308 renderGeometryList(list, rm, cam, clear); 311 public void renderShadowQueue(ShadowMode shadBucket, RenderManager rm, Camera cam, boolean clear) { 314 renderGeometryList(shadowCast, rm, cam, clear); 317 renderGeometryList(shadowRecv, rm, cam, clear); 341 public void renderQueue(Bucket bucket, RenderManager rm, Camera cam) { 342 renderQueue(bucket, rm, cam, true); 345 public void renderQueue(Bucket bucket, RenderManager rm, Camera cam, boolean clear) [all...] |
GeometryComparator.java | 50 * @param cam The camera to use for sorting 52 public void setCamera(Camera cam);
|
NullComparator.java | 49 public void setCamera(Camera cam) {
|
/external/jmonkeyengine/engine/src/test/jme3test/renderer/ |
TestParallelProjection.java | 64 cam.setParallelProjection(true); 65 float aspect = (float) cam.getWidth() / cam.getHeight(); 66 cam.setFrustum(-1000, 1000, -aspect * frustumSize, aspect * frustumSize, frustumSize, -frustumSize); 80 float aspect = (float) cam.getWidth() / cam.getHeight(); 81 cam.setFrustum(-1000, 1000, -aspect * frustumSize, aspect * frustumSize, frustumSize, -frustumSize);
|
TestMultiViews.java | 64 cam.setViewPort(.5f, 1f, 0f, 0.5f); 65 cam.setLocation(new Vector3f(3.3212643f, 4.484704f, 4.2812433f)); 66 cam.setRotation(new Quaternion(-0.07680723f, 0.92299235f, -0.2564353f, -0.27645364f)); 69 Camera cam2 = cam.clone(); 79 Camera cam3 = cam.clone(); 89 Camera cam4 = cam.clone();
|
/pdk/apps/CameraITS/tests/ |
test_3a.py | 23 with its.device.ItsSession() as cam: 25 sens, exp, gains, xform, focus = cam.do_3a(rect, rect, rect)
|
test_camera_properties.py | 22 with its.device.ItsSession() as cam: 23 props = cam.get_camera_properties()
|
test_param_edge_mode.py | 38 with its.device.ItsSession() as cam: 40 sens, exp, gains, xform, focus = cam.do_3a(rect, rect, rect) 43 fname, w, h, cap_md = cam.do_capture(req)
|
test_formats.py | 26 with its.device.ItsSession() as cam: 27 props = cam.get_camera_properties() 32 fname, w, h, cap_md = cam.do_capture(req) 41 fname, w, h, cap_md = cam.do_capture(req)
|
test_param_exposure_time_burst.py | 34 with its.device.ItsSession() as cam: 35 fnames, w, h, cap_mds = cam.do_capture(reqs)
|
/external/jmonkeyengine/engine/src/core/com/jme3/input/ |
FlyByCamera.java | 75 protected Camera cam;
field in class:FlyByCamera 87 * @param cam
89 public FlyByCamera(Camera cam){
90 this.cam = cam;
91 initialUpVec = cam.getUp().clone();
177 // both mouse and button - rotation of cam
256 Vector3f up = cam.getUp();
257 Vector3f left = cam.getLeft();
258 Vector3f dir = cam.getDirection(); [all...] |
/device/lge/mako/camera/QCamera/stack/mm-camera-test/src/ |
mm_qcamera_rdi.c | 59 //pme->cam->ops->get_parm(pme->cam->camera_handle,MM_CAMERA_PARM_DIMENSION, &dim); 111 if (MM_CAMERA_OK != pme->cam->ops->qbuf(pme->cam->camera_handle,pme->ch_id,frame)) { 135 //pme->cam->ops->set_parm(pme->cam->camera_handle,MM_CAMERA_PARM_CH_INTERFACE, &value); 136 //pme->cam->ops->get_parm(pme->cam->camera_handle,MM_CAMERA_PARM_CH_INTERFACE, &rdi_mode); 138 pme->stream[MM_CAMERA_RDI].id = pme->cam->ops->add_stream(pme->cam->camera_handle,pme->ch_id [all...] |
/external/jmonkeyengine/engine/src/test/jme3test/collision/ |
RayTrace.java | 50 private Camera cam; field in class:RayTrace 56 public RayTrace(Spatial scene, Camera cam, int width, int height){ 59 this.cam = cam; 75 float wr = (float) cam.getWidth() / image.getWidth(); 76 float hr = (float) cam.getHeight() / image.getHeight(); 83 Vector3f pos = cam.getWorldCoordinates(v, 0.0f); 84 Vector3f dir = cam.getWorldCoordinates(v, 0.3f);
|
/external/jmonkeyengine/engine/src/core/com/jme3/app/ |
DebugKeysAppState.java | 103 Camera cam = app.getCamera(); local 104 if (cam != null) { 105 Vector3f loc = cam.getLocation(); 106 Quaternion rot = cam.getRotation(); 110 System.out.println("Camera Direction: " + cam.getDirection());
|
FlyCamAppState.java | 55 void setCamera( FlyByCamera cam ) { 56 this.flyCam = cam;
|
/external/jmonkeyengine/engine/src/core/com/jme3/renderer/ |
ViewPort.java | 69 protected final Camera cam; field in class:ViewPort 88 * @param cam The camera through which the viewport is rendered. The camera 91 public ViewPort(String name, Camera cam) { 93 this.cam = cam; 265 return cam;
|
Camera.java | 255 Camera cam = (Camera) super.clone(); local 256 cam.viewportChanged = true; 257 cam.planeState = 0; 259 cam.worldPlane = new Plane[MAX_WORLD_PLANES]; 261 cam.worldPlane[i] = worldPlane[i].clone(); 264 cam.coeffLeft = new float[2]; 265 cam.coeffRight = new float[2]; 266 cam.coeffBottom = new float[2]; 267 cam.coeffTop = new float[2]; 269 cam.location = location.clone() [all...] |
RenderManager.java | 262 public ViewPort createPreView(String viewName, Camera cam) {
263 ViewPort vp = new ViewPort(viewName, cam);
274 public ViewPort createMainView(String viewName, Camera cam) {
275 ViewPort vp = new ViewPort(viewName, cam);
285 public ViewPort createPostView(String viewName, Camera cam) {
286 ViewPort vp = new ViewPort(viewName, cam);
310 Camera cam = vp.getCamera();
local 311 cam.resize(w, h, true);
317 Camera cam = vp.getCamera();
local 318 cam.resize(w, h, true); 324 Camera cam = vp.getCamera(); local 889 Camera cam = vp.getCamera(); local [all...] |
/external/jmonkeyengine/engine/src/core-effects/com/jme3/post/filters/ |
LightScatteringFilter.java | 117 private Vector3f getClipCoordinates(Vector3f worldPosition, Vector3f store, Camera cam) { 119 float w = cam.getViewProjectionMatrix().multProj(worldPosition, store); 122 store.x = ((store.x + 1f) * (cam.getViewPortRight() - cam.getViewPortLeft()) / 2f + cam.getViewPortLeft()); 123 store.y = ((store.y + 1f) * (cam.getViewPortTop() - cam.getViewPortBottom()) / 2f + cam.getViewPortBottom());
|
/external/jmonkeyengine/engine/src/test/jme3test/model/shape/ |
TestSphere.java | 61 cam.setLocation(new Vector3f(0, 5, 0)); 62 cam.lookAt(Vector3f.ZERO, Vector3f.UNIT_Y);
|