Now you can download a copy of these docs so you can use them offline! Download now
RGBImage.cpp
00001 /*----------------------------------------------------------------------------*/ 00002 /* Copyright (c) FIRST 2008. All Rights Reserved. */ 00003 /* Open Source Software - may be modified and shared by FRC teams. The code */ 00004 /* must be accompanied by the FIRST BSD license file in $(WIND_BASE)/WPILib. */ 00005 /*----------------------------------------------------------------------------*/ 00006 00007 #include "RGBImage.h" 00008 00012 RGBImage::RGBImage() : ColorImage(IMAQ_IMAGE_RGB) 00013 { 00014 } 00015 00020 RGBImage::RGBImage(const char *fileName) : ColorImage(IMAQ_IMAGE_RGB) 00021 { 00022 int success = imaqReadFile(m_imaqImage, fileName, NULL, NULL); 00023 wpi_setImaqErrorWithContext(success, "Imaq ReadFile error"); 00024 } 00025 00026 RGBImage::~RGBImage() 00027 { 00028 }
Generated on Thu Jan 12 2012 22:35:23 for WPILibC++ by
1.7.1