Changeset 50 in pacpussensors
- Timestamp:
- Jun 12, 2014, 11:17:03 AM (10 years ago)
- Location:
- trunk
- Files:
-
- 9 added
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/CMakeLists.txt
r48 r50 18 18 set(PacpusSensors_MAJOR_VERSION 0) 19 19 set(PacpusSensors_MINOR_VERSION 1) 20 set(PacpusSensors_PATCH_VERSION 0)20 set(PacpusSensors_PATCH_VERSION 1) 21 21 set(PacpusSensors_VERSION 22 22 "${PacpusSensors_MAJOR_VERSION}.${PacpusSensors_MINOR_VERSION}.${PacpusSensors_PATCH_VERSION}") … … 85 85 # add_subdirectory(Alasca) 86 86 # add_subdirectory(CanGateway) 87 # add_subdirectory(PtGreyCameras) 87 88 # add_subdirectory(Dualshock) 88 89 # add_subdirectory(PacpusSocket) 89 add_subdirectory(Flea3)90 90 # add_subdirectory(Sick) 91 add_subdirectory(StereoVisionDisparity) 92 # add_subdirectory(SensorsApplication) 91 93 # add_subdirectory(StdDbtPlayerComponents) 92 94 # add_subdirectory(Wifibot) -
trunk/PtGreyCameras/Flea3Component.cpp
r48 r50 19 19 #include <iomanip> 20 20 #include <string> 21 22 21 #include "opencv2/objdetect/objdetect.hpp" 23 22 #include "opencv2/highgui/highgui.hpp" … … 47 46 const int kMaxFilepathLength = 512; // TODO: should be same for all images 48 47 49 static const string Flea3MemoryName_img = "Flea3 Image";48 static const string Flea3MemoryName_img = "Flea3_"; 50 49 51 50 ////////////////////////////////////////////////////////////////////////// … … 85 84 // output data 86 85 this->shmem_image = 0; // Shared memory control access to the image data 86 87 stereoVision = false; 88 cam_side = ""; 87 89 88 90 } … … 125 127 } 126 128 129 // If do not rescale the image before save 130 this->mMaxImageOutputSize = sizeof(unsigned char)*this->cam_width*this->cam_height*this->cam_channels; 131 132 if(this->image_scale == 1.0) 133 { 134 this->mSaveImageSize = this->mMaxImageOutputSize; 135 } 136 else 137 { 138 this->mSaveImageSize = sizeof(unsigned char)*((int)(this->cam_width*this->image_scale))*((int)(this->cam_height*this->image_scale))*this->cam_channels; 139 } 140 127 141 // Create output files for recording 128 if ( this->isRecording())142 if (isRecording()) 129 143 { 130 144 try 131 145 { 132 QString dbtFileName_ = this->mOutputDirectory.filePath(/*ComponentBase::componentName*/name() + ".dbt"); 133 //std::cout << "Save file : " << dbtFileName_.toStdString() << std::endl; 134 this->mDbtImage.open(dbtFileName_.toStdString(), WriteMode, FILE_IMAGE, kMaxFilepathLength); 135 //this->mDbtImage.open(dbtFileName_.toStdString(), WriteMode, FILE_JPEG, kMaxFilepathLength); 146 QString dbtFileName_ = this->mOutputDirectory.filePath(name() + ".dbt"); 147 148 if(this->save2dbt) 149 { 150 //std::cout << "Save file : " << dbtFileName_.toStdString() << std::endl; 151 this->mDbtImage.open(dbtFileName_.toStdString(), WriteMode, FILE_DBT_UNKNOWN, this->mSaveImageSize); 152 //this->mDbtImage.open(dbtFileName_.toStdString(), WriteMode, FILE_JPEG, kMaxFilepathLength); 153 } 154 else 155 { 156 //std::cout << "Save file : " << dbtFileName_.toStdString() << std::endl; 157 this->mDbtImage.open(dbtFileName_.toStdString(), WriteMode, FILE_IMAGE, kMaxFilepathLength); 158 //this->mDbtImage.open(dbtFileName_.toStdString(), WriteMode, FILE_JPEG, kMaxFilepathLength); 159 } 136 160 } 137 161 catch (DbiteException & e) … … 142 166 143 167 // Run thread 144 /*ComponentBase::*/THREAD_ALIVE = true;168 THREAD_ALIVE = true; 145 169 start(); 146 170 } … … 152 176 LOG_TRACE(Q_FUNC_INFO); 153 177 154 if( /*ComponentBase::*/THREAD_ALIVE)178 if(THREAD_ALIVE) 155 179 { 156 180 // Stop thread 157 /*ComponentBase::*/THREAD_ALIVE = false;181 THREAD_ALIVE = false; 158 182 159 183 while(is_running) … … 165 189 166 190 // Close DBT file 167 if ( this->isRecording())191 if (isRecording()) 168 192 { 169 193 this->mDbtImage.close(); … … 182 206 // Initialize with default values 183 207 this->InitDefault(); 184 185 if (config.getProperty("recording") != QString::null)186 setRecording(config.getProperty("recording").toInt());187 208 188 209 if (config.getProperty("cam_serial") != QString::null) … … 245 266 this->cam_height = config.getProperty("cam_height").toInt(); 246 267 268 //-------------------------------- Recording options ------------------------------------------------ 269 if (config.getProperty("recording") != QString::null) 270 setRecording(config.getProperty("recording").toInt()); 271 272 if (config.getProperty("image_scale") != QString::null) 273 this->image_scale = config.getProperty("image_scale").toDouble(); 274 247 275 if (config.getProperty("image_compact") != QString::null) 248 276 this->image_compact = config.getProperty("image_compact").toInt(); 249 277 278 if (config.getProperty("save2dbt") != QString::null) 279 this->save2dbt = config.getProperty("save2dbt").toInt(); 280 //--------------------------------------------------------------------------------------------------- 281 282 if (config.getProperty("stereoVision") != QString::null) 283 stereoVision = config.getBoolProperty("stereoVision"); 284 285 if (stereoVision) 286 { 287 if (config.getProperty("cam_side") != QString::null) 288 cam_side = config.getProperty("cam_side"); 289 } 290 250 291 if (config.getProperty("showdebug") != QString::null) 251 292 this->showdebug = (bool)config.getProperty("showdebug").toInt(); 252 293 253 294 if (config.getProperty("outputdir") != QString::null) 254 { 255 if (this->isRecording()) 256 { 257 this->mOutputDirectory.mkdir(config.getProperty("outputdir")); 258 this->mOutputDirectory.mkdir(config.getProperty("outputdir") + "/" + name()/*ComponentBase::componentName*/); 259 this->mOutputDirectory.setPath(config.getProperty("outputdir")); 260 } 261 } 262 else 263 { 264 if (this->isRecording()) 265 { 266 267 this->mOutputDirectory.mkdir(/*ComponentBase::componentName*/name()); 268 this->mOutputDirectory.setPath(this->mOutputDirectory.currentPath()); 269 } 270 } 295 { 296 if (isRecording()) 297 { 298 this->mOutputDirectory.mkdir(config.getProperty("outputdir")); 299 this->mOutputDirectory.mkdir(config.getProperty("outputdir") + "/" + name()); 300 this->mOutputDirectory.setPath(config.getProperty("outputdir")); 301 } 302 } 303 else 304 { 305 if (isRecording()) 306 { 307 308 this->mOutputDirectory.mkdir(name()); 309 this->mOutputDirectory.setPath(this->mOutputDirectory.currentPath()); 310 } 311 } 312 313 if (config.getProperty("use_shmem") != QString::null) 314 this->use_shmem = (bool)config.getProperty("use_shmem").toInt(); 271 315 272 316 LOG_INFO("configured component '" << name() << "'"); … … 280 324 { 281 325 // Default 282 //recording = 0;326 setRecording(0); 283 327 284 328 this->cam_serial = 0; // Camera index to connect … … 319 363 this->mMaxImageOutputSize = sizeof(char)*this->cam_width*this->cam_height*this->cam_channels; 320 364 365 this->image_scale = 1.0; // Default scale 321 366 this->image_compact = 0; // Don't compact the image data 367 this->save2dbt = 0; 322 368 } 323 369 … … 580 626 FlyCapture2::Image convertedImage; 581 627 628 //LOG_INFO("Converting frame..."); 582 629 if(this->cam_channels == 1) 583 630 { … … 601 648 } 602 649 650 //LOG_INFO("Copy to shared memory..."); 603 651 //////////////////////////////////////////////////////////////////////////////////////// 604 652 if(this->use_shmem) … … 608 656 { 609 657 //---------------------------- Shared Memory Initialization -------------------------------------- 610 611 this->mMaxImageOutputSize = sizeof(unsigned char)*this->cam_width*this->cam_height*this->cam_channels; 612 613 this->img_mem_size = mMaxImageOutputSize; 614 615 this->shmem_image = new ShMem(Flea3MemoryName_img.c_str(), this->img_mem_size); 616 658 this->ImageHeader.image.width = this->cam_width; 659 this->ImageHeader.image.height = this->cam_height; 660 this->ImageHeader.image.channels = this->cam_channels; 661 this->ImageHeader.image.width_step = (size_t)convertedImage.GetStride(); 662 this->ImageHeader.image.data_size = convertedImage.GetDataSize(); 663 664 this->img_mem_size = sizeof(TimestampedStructImage) + mMaxImageOutputSize; 665 666 this->img_mem = malloc(this->img_mem_size); 667 668 if (this->cam_side == "right" || this->cam_side == "Right") 669 this->shmem_image = new ShMem(QString(Flea3MemoryName_img.c_str() + QString().setNum(camInfo.serialNumber) + "-right").toStdString().c_str(), this->img_mem_size); 670 else if (this->cam_side == "left" || this->cam_side == "Left") 671 this->shmem_image = new ShMem(QString(Flea3MemoryName_img.c_str() + QString().setNum(camInfo.serialNumber) + "-left").toStdString().c_str(), this->img_mem_size); 617 672 //------------------------------------------------------------------------------------------------ 618 673 … … 622 677 //std::cout << "Share image created : " << this->img_mem_size << "\n"; 623 678 624 // Copy images data to memory 625 this->shmem_image->write(convertedImage.GetData(), this->img_mem_size); 679 // Complete timestamp header of the right image 680 this->ImageHeader.time = time; 681 this->ImageHeader.timerange = 0; 682 683 // Copy images header and data to memory 684 memcpy(this->img_mem, &ImageHeader, sizeof(TimestampedStructImage)); 685 memcpy((void*)((TimestampedStructImage*)this->img_mem + 1), (void*)convertedImage.GetData(), this->ImageHeader.image.data_size); 686 this->shmem_image->write(this->img_mem, this->img_mem_size); 626 687 } 627 688 … … 630 691 ///////////////////// 631 692 // Write images to disk 632 if (this->isRecording()) 633 { 634 // Save the image to file 635 stringstream imageNameSs; 693 if (isRecording()) 694 { 695 if(this->save2dbt) 696 { 697 //------------------------------------------------ Save image in the dbt file ------------------------------------------------------------ 698 if(this->image_scale == 1.0) 699 { 700 try 701 { 702 this->mDbtImage.writeRecord(time, tr, (char *)convertedImage.GetData(), convertedImage.GetDataSize()); 703 } 704 catch (DbiteException & e) 705 { 706 cerr << "error opening dbt file: " << e.what() << endl; 707 } 708 } 709 else 710 { 711 // convert to cv::mat 712 unsigned int rowBytes = (int)((double)convertedImage.GetReceivedDataSize()/(double)convertedImage.GetRows()); 713 cv::Mat Img_BGR = cv::Mat(convertedImage.GetRows(), convertedImage.GetCols(), CV_MAKE_TYPE(CV_8U, this->cam_channels), convertedImage.GetData(), rowBytes); 714 715 // Scaled image 716 cv::Mat img_resized; 717 718 cv::resize(Img_BGR, img_resized, cv::Size((int)(Img_BGR.cols*this->image_scale), (int)(Img_BGR.rows*this->image_scale)), 0.0, 0.0, CV_INTER_CUBIC); 719 720 try 721 { 722 this->mDbtImage.writeRecord(time, tr, (char*)img_resized.data, this->mSaveImageSize); 723 } 724 catch (DbiteException & e) 725 { 726 cerr << "error opening dbt file: " << e.what() << endl; 727 } 728 } 729 //---------------------------------------------------------------------------------------------------------------------------------------- 730 } 731 else 732 { 733 //------------------------------------------------------------ Save image file ------------------------------------------------------------ 734 // Save the image to file 735 stringstream imageNameSs; 636 736 637 imageNameSs << /*ComponentBase::componentName*/name().toStdString() << "/" << imagePrefix << imageNameDelimiter << setfill(kFillCharacter) << setw(kNumberWidth) << imageCount << imageExtension; 638 string imageName = this->mOutputDirectory.filePath(imageNameSs.str().c_str()).toStdString(); 639 640 // Save the image. If a file format is not passed in, then the file 641 // extension is parsed to attempt to determine the file format. 642 error = convertedImage.Save( const_cast<char *>(imageName.c_str()) ); 643 if (error != FlyCapture2::PGRERROR_OK) 644 { 645 LOG_ERROR( error.GetDescription() ); 646 exit(0); 647 } 648 649 try 650 { 651 this->mDbtImage.writeRecord(time, tr, this->mOutputDirectory.filePath(imageName.c_str()).toStdString().c_str(), kMaxFilepathLength); 652 } 653 catch (DbiteException & e) 654 { 655 cerr << "error opening dbt file: " << e.what() << endl; 737 imageNameSs << name().toStdString() << "/" << imagePrefix << imageNameDelimiter << setfill(kFillCharacter) << setw(kNumberWidth) << imageCount << imageExtension; 738 string imageName = this->mOutputDirectory.filePath(imageNameSs.str().c_str()).toStdString(); 739 740 //LOG_INFO("Recording frame..."); 741 if((this->image_compact == 0)&&(this->image_scale == 1.0)) 742 { 743 // Save the image. If a file format is not passed in, then the file 744 // extension is parsed to attempt to determine the file format. 745 error = convertedImage.Save( const_cast<char *>(imageName.c_str()) ); 746 if (error != FlyCapture2::PGRERROR_OK) 747 { 748 LOG_ERROR( error.GetDescription() ); 749 exit(0); 750 } 751 } 752 else if(this->image_scale == 1.0) 753 { 754 // convert to cv::mat 755 unsigned int rowBytes = (int)((double)convertedImage.GetReceivedDataSize()/(double)convertedImage.GetRows()); 756 cv::Mat Img_BGR = cv::Mat(convertedImage.GetRows(), convertedImage.GetCols(), CV_MAKE_TYPE(CV_8U, this->cam_channels), convertedImage.GetData(), rowBytes); 757 758 // Save the image. If a file format is not passed in, then the file 759 // extension is parsed to attempt to determine the file format. 760 if (!cv::imwrite( const_cast<char *>(imageName.c_str()), Img_BGR )) 761 { 762 LOG_ERROR( "Error to save the Flea image!" ); 763 exit(0); 764 } 765 } 766 else 767 { 768 // convert to cv::mat 769 unsigned int rowBytes = (int)((double)convertedImage.GetReceivedDataSize()/(double)convertedImage.GetRows()); 770 cv::Mat Img_BGR = cv::Mat(convertedImage.GetRows(), convertedImage.GetCols(), CV_MAKE_TYPE(CV_8U, this->cam_channels), convertedImage.GetData(), rowBytes); 771 772 // Scaled image 773 cv::Mat img_resized; 774 775 cv::resize(Img_BGR, img_resized, cv::Size((int)(Img_BGR.cols*this->image_scale), (int)(Img_BGR.rows*this->image_scale)), 0.0, 0.0, CV_INTER_CUBIC); 776 777 // Save the image. If a file format is not passed in, then the file 778 // extension is parsed to attempt to determine the file format. 779 if (!cv::imwrite( const_cast<char *>(imageName.c_str()), img_resized )) 780 { 781 LOG_ERROR( "Error to save the Flea image!" ); 782 exit(0); 783 } 784 } 785 786 try 787 { 788 this->mDbtImage.writeRecord(time, tr, this->mOutputDirectory.filePath(imageName.c_str()).toStdString().c_str(), kMaxFilepathLength); 789 } 790 catch (DbiteException & e) 791 { 792 cerr << "error opening dbt file: " << e.what() << endl; 793 } 794 //-------------------------------------------------------------------------------------------------------------------------------------------- 656 795 } 657 796 } 658 797 798 LOG_TRACE("image no. " << imageCount << " acquired successfully"); 799 ++imageCount; 800 801 //if(this->auto_ExposurebyCode) 802 //{ 803 // // Get exposure property 804 // cam_property.type = (FlyCapture2::PropertyType)1; //FlyCapture2::PropertyType::AUTO_EXPOSURE; 805 // error = cam.GetProperty( &cam_property ); 806 // if (error != FlyCapture2::PGRERROR_OK) 807 // { 808 // LOG_ERROR( error.GetDescription() ); 809 // exit(0); 810 // } 811 812 // unsigned int rowBytes = (int)((double)convertedImage.GetReceivedDataSize()/(double)convertedImage.GetRows()); 813 // cv::Mat Img_BGR = cv::Mat(convertedImage.GetRows(), convertedImage.GetCols(), CV_MAKE_TYPE(CV_8U, this->cam_channels), convertedImage.GetData(), rowBytes); 814 // cv::Mat Img_GRAY = cv::Mat(convertedImage.GetRows(), convertedImage.GetCols(), CV_8U); 815 816 // cv::cvtColor(Img_BGR, Img_GRAY, CV_BGR2GRAY); 817 818 // // Scaled image 819 // cv::Mat img_resized; 820 821 // cv::resize(Img_GRAY, img_resized, cv::Size((int)(Img_GRAY.cols*0.05), (int)(Img_GRAY.rows*0.05)), 0.0, 0.0, CV_INTER_CUBIC); 822 823 // cv::Mat Img_Tshold = img_resized > 250; 824 825 // cv::Scalar scalar_sum = cv::sum(Img_Tshold); 826 // double n_white = scalar_sum[0]/(img_resized.cols*img_resized.rows); 827 828 // //// Set exposure property 829 // //cam_property.absControl = true; 830 // //cam_property.onePush = false; 831 // //cam_property.onOff = true; 832 // //cam_property.autoManualMode = this->auto_Exposure; 833 // //cam_property.absValue = (float)this->cam_Exposure; 834 // //error = cam.SetProperty( &cam_property ); 835 // //if (error != FlyCapture2::PGRERROR_OK) 836 // //{ 837 // // LOG_ERROR( error.GetDescription() ); 838 // // exit(0); 839 // //} 840 //} 841 659 842 if(this->showdebug) 660 843 { … … 664 847 cv::namedWindow( "Flea3Component - Current Reference Frame", CV_WINDOW_KEEPRATIO ); 665 848 cv::imshow("Flea3Component - Current Reference Frame", Img_BGR); 666 cv::waitKey(10); 667 } 668 LOG_TRACE("image no. " << imageCount << " acquired successfully"); 669 ++imageCount; 849 cv::waitKey(1); 850 } 670 851 671 852 } … … 699 880 700 881 this->is_running = false; 882 883 // Destroy the window frame 884 if(this->showdebug) 885 cvDestroyAllWindows(); 701 886 } -
trunk/PtGreyCameras/Flea3Component.h
r48 r50 30 30 #include <QMutex> 31 31 #include <qdir.h> 32 33 #include "../../StdDbtPlayerComponents/ImageBaseStructure.h" 32 34 33 35 namespace pacpus { … … 90 92 int cam_channels; // Image channels (depending of the color processing method) 91 93 94 //-------------------------------------------- Image save options ------------------------------------------------ 95 double image_scale; // Image scale to save 92 96 int image_compact; // Use jpeg format to save the images 97 int save2dbt; // Save the image in the dbt file (to increases the save rate) 93 98 99 size_t mSaveImageSize; // Size of the image to be saved 100 //---------------------------------------------------------------------------------------------------------------- 94 101 bool showdebug; // Show frame acquired 95 102 … … 99 106 QDir mOutputDirectory; 100 107 101 size_t img_mem_size; // Memory size for the image data 108 TimestampedStructImage ImageHeader; // Image header 109 void* img_mem; // Memory position for the header + image data 110 size_t img_mem_size; // Memory size for the header + image data 102 111 103 112 bool use_shmem; // If is to use shared memory … … 108 117 DbiteFile mDbtImage; 109 118 110 bool THREAD_ALIVE; 119 bool THREAD_ALIVE; 120 bool stereoVision; 121 QString cam_side; 111 122 }; 112 123 -
trunk/StdDbtPlayerComponents/CMakeLists.txt
r43 r50 25 25 ImageViewer.h 26 26 StdDbtPlayerComponentsConfig.h 27 DbtPlySickLMSManager.h28 DbtPlySickLDMRSManager.h27 # DbtPlySickLMSManager.h 28 # DbtPlySickLDMRSManager.h 29 29 ) 30 30 … … 37 37 DbtPlyImageManager.cpp 38 38 DbtPlyStereoManager.cpp 39 DbtPlySickLMSManager.cpp40 DbtPlySickLDMRSManager.cpp39 # DbtPlySickLMSManager.cpp 40 # DbtPlySickLDMRSManager.cpp 41 41 ImageViewer.cpp 42 42 ${HDRS} -
trunk/StdDbtPlayerComponents/DbtPlyImageManager.cpp
r18 r50 13 13 #include "ImageViewer.h" 14 14 15 #include " kernel/ComponentFactory.h"16 #include " kernel/ComponentManager.h"17 #include " kernel/DbiteFileTypes.h"18 #include " kernel/Log.h"19 #include "Pacpus Tools/ShMem.h"15 #include "Pacpus/kernel/ComponentFactory.h" 16 #include "Pacpus/kernel/ComponentManager.h" 17 #include "Pacpus/kernel/DbiteFileTypes.h" 18 #include "Pacpus/kernel/Log.h" 19 #include "Pacpus/PacpusTools/ShMem.h" 20 20 21 21 #include <iostream> … … 134 134 { 135 135 mShMemName = kDefaultMemoryName.c_str(); 136 if ( param.getProperty("shmem") != QString::null) {137 mShMemName = param.getProperty("shmem");136 if (config.getProperty("shmem") != QString::null) { 137 mShMemName = config.getProperty("shmem"); 138 138 } 139 139 return DbtPlyFileManager::configureComponent(config); … … 158 158 imviewer_->setMutex(imageMutex_); 159 159 imviewer_->show(); 160 imviewer_->setWindowTitle( componentName);160 imviewer_->setWindowTitle(name()); 161 161 connect(this, SIGNAL(displayIm(QImage*)), imviewer_, SLOT(display(QImage*))); 162 162 } -
trunk/StdDbtPlayerComponents/DbtPlyImageManager.h
r16 r50 16 16 17 17 #include "StdDbtPlayerComponentsConfig.h" 18 #include " DbitePlayer/DbtPlyFileManager.h"18 #include "Pacpus/DbitePlayer/DbtPlyFileManager.h" 19 19 20 20 class ImageViewer; -
trunk/StdDbtPlayerComponents/DbtPlySickLDMRSManager.cpp
r43 r50 17 17 #include <string> 18 18 19 #include " kernel/Log.h"20 #include "Pacpus Tools/ShMem.h"19 #include "Pacpus/kernel/Log.h" 20 #include "Pacpus/PacpusTools/ShMem.h" 21 21 22 22 -
trunk/StdDbtPlayerComponents/DbtPlySickLDMRSManager.h
r43 r50 16 16 #include <fstream> 17 17 18 #include " DbitePlayer/DbtPlyFileManager.h"18 #include "Pacpus/DbitePlayer/DbtPlyFileManager.h" 19 19 #include "../Sick/SickLDMRSData.h" 20 20 -
trunk/StdDbtPlayerComponents/DbtPlySickLMSManager.h
r43 r50 16 16 #include <fstream> 17 17 18 #include " DbitePlayer/DbtPlyFileManager.h"18 #include "Pacpus/DbitePlayer/DbtPlyFileManager.h" 19 19 #include "../Sick/SickLMSData.h" 20 20 -
trunk/StdDbtPlayerComponents/DbtPlyStereoManager.cpp
r16 r50 9 9 #include <iostream> 10 10 11 #include " kernel/ComponentManager.h"12 #include " kernel/DbiteFileTypes.h"13 #include " kernel/Log.h"11 #include "Pacpus/kernel/ComponentManager.h" 12 #include "Pacpus/kernel/DbiteFileTypes.h" 13 #include "Pacpus/kernel/Log.h" 14 14 15 15 namespace pacpus { … … 140 140 141 141 //load stereo image parameters 142 width_ = param.getProperty("width").toInt();143 height_ = param.getProperty("height").toInt();144 depth_ = param.getProperty("depth").toInt();142 width_ = config.getProperty("width").toInt(); 143 height_ = config.getProperty("height").toInt(); 144 depth_ = config.getProperty("depth").toInt(); 145 145 146 146 return DbtPlyFileManager::configureComponent(config); -
trunk/StdDbtPlayerComponents/DbtPlyStereoManager.h
r16 r50 9 9 10 10 #include "StdDbtPlayerComponentsConfig.h" 11 #include " kernel/ComponentBase.h"12 #include " kernel/ComponentFactory.h"13 #include " DbitePlayer/DbtPlyFileManager.h"14 #include "Pacpus Tools/ShMem.h"11 #include "Pacpus/kernel/ComponentBase.h" 12 #include "Pacpus/kernel/ComponentFactory.h" 13 #include "Pacpus/DbitePlayer/DbtPlyFileManager.h" 14 #include "Pacpus/PacpusTools/ShMem.h" 15 15 16 16 namespace pacpus { -
trunk/StdDbtPlayerComponents/ImageViewer.h
r16 r50 14 14 15 15 #include "StdDbtPlayerComponentsConfig.h" 16 #include " kernel/road_time.h"16 #include "Pacpus/kernel/road_time.h" 17 17 18 18 //# include "../../include/VisualMemoryManager/struct.h"
Note:
See TracChangeset
for help on using the changeset viewer.