代码搜索结果
找到约 5,548 项符合
Camera 的代码
camera.c
#include "Camera.h"
/************************************************************************
* *
* These methods set the field of view of the camera. They transform *
* the field of view bet
camera.cxx
#include
#include "global.h"
ostream& operator
camera.m
function [P1,P2]=camera(K,position,angle)
%模拟生成射影矩阵函数
%摄像机1的坐标系与世界坐标系重合,参数position和angle均为摄像机2相对于1的位置和角度
%K为摄像机内参数
%输出分别为摄像机1和2的射影矩阵
% x轴方向旋转
Rx=[1 0 0;0 cos(angle(1)) sin(angle(1));0 -sin(ang
camera.h
/*************************************************************************
* This head file is for 3D scene script. We will define a scene class *
* with some light and camera and models.
camera.h
#ifndef __CAMERA_H
#define __CAMERA_H
#define WIN32_LEAN_AND_MEAN
#define WIN32_EXTRA_LEAN
#include
#include
#include
#include "vector.h"
class COb
camera.cpp
#include "camera.h"
#include "object.h"
CCamera::CCamera()
{
position = CVector(0.0, 0.0, 0.0);
lookAt = CVector(0.0, 0.0, 1.0);
forward = lookAt;
up = CVector(0.0, 1.0, 0.0);
right =
camera.h
#ifndef __CAMERA_HEADER__
#define __CMAERA_HEADER__
void Reset_7180(void);
void camera_init(void);
void camera_select(int id);
#endif
camera.c
#include "I2C.h"
extern void delay(int us);
/*
#define INSEL 0
#define POWER 0x0f
#define STATUS 0x10
#define ADC_CONTROL 0x3a
#define ADC_SWITCH1 0xc3
#define ADC_SWITCH2 0xc4
#de
camera.h
#ifndef __CAMERA_HEADER__
#define __CMAERA_HEADER__
void Reset_7180();
void camera_init();
void camera_select(int id);
#endif