摘要:
vtkNew points; points->SetNumberOfPoints(4); points->SetPoint(0, 0, 0, 0); points->SetPoint(1, 1, 0, 0); points->SetPoint(2, 1, 1, 0); points->SetPoint(3, 0, 1... 阅读全文
摘要:
/*********************************************************************** RawKinectViewer - Simple application to view color and depth images captured from a Kinect device. Copyright (c) 2010-2015 Oli... 阅读全文
摘要:
project(Viewer) cmake_minimum_required(VERSION 2.8) aux_source_directory(. SRC_LIST) add_executable(${PROJECT_NAME} ${SRC_LIST}) target_link_libraries(${PROJECT_NAME} Misc.g++-3 Threads.g++-3 USB.g++... 阅读全文
摘要:
嗯,这个QImage的问题研究好久了,有段时间没用,忘了,已经被两次问到了,突然有点解释不清楚,我汗颜,觉得有必要重新总结下了,不然无颜对自己了。图像的数据是以字节为单位保存的,每一行的字节数必须是4的整数倍,不足的补0。(因为我们使用的是32操作系统,因此数据是按照32位对齐的,所以每行的字节数必... 阅读全文
摘要:
#include #include #include #include using namespace Marble; class MyMarbleWidget : public MarbleWidget { public: virtual void customPaint(GeoPa... 阅读全文
摘要:
#include #include #include #include #include #include #include #include #include using namespace Marble; class MyPaintLayer : public QObject, public... 阅读全文
摘要:
1. 标记 GeoDataPlacemark *place = new GeoDataPlacemark( "Bucharest" ); place->setCoordinate( 25.97, 44.43, 0.0, GeoDataCoordinates::Degree ); p... 阅读全文
摘要:
1、APT方式(1)普通安装:apt-get install softname1 softname2 …;(2)修复安装:apt-get -f install softname1 softname2... ;(-f Atemp to correct broken dependencies)(3)重新... 阅读全文