Click here to Skip to main content
15,885,875 members
Articles / Desktop Programming / MFC

ImageStone - A Powerful C++ Class Library for Image Manipulation

Rate me:
Please Sign up or sign in to vote.
4.81/5 (250 votes)
6 Dec 2011Zlib3 min read 117.7K   51.5K   405  
An article on a library for image manipulation
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>ImageStone: ImageHandleBase.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.1 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a></div>
<h1>ImageHandleBase.h</h1><div class="fragment"><pre class="fragment">00001 <span class="comment">/*</span>
00002 <span class="comment"> *   Copyright (C) =USTC= Fu Li</span>
00003 <span class="comment"> *</span>
00004 <span class="comment"> *   Author   :  Fu Li</span>
00005 <span class="comment"> *   Create   :  2004-4-8</span>
00006 <span class="comment"> *   Home     :  http://www.crazy-bit.com/</span>
00007 <span class="comment"> *   Mail     :  crazybit@263.net</span>
00008 <span class="comment"> *   History  :  </span>
00009 <span class="comment"> */</span>
00010 <span class="preprocessor">#ifndef __PCL_IMAGE_HANDLE__2004_04_08__H__</span>
00011 <span class="preprocessor"></span><span class="preprocessor">#define __PCL_IMAGE_HANDLE__2004_04_08__H__</span>
00012 <span class="preprocessor"></span><span class="preprocessor">#include "Interface_ImageHandle.h"</span>
00013 <span class="preprocessor">#include "../ObjImage.h"</span>
00014 
00015 <span class="keyword">class </span><a class="code" href="class_f_c_image_handle.html">FCImageHandle</a> ;
00016 
00017 <span class="comment">//=============================================================================</span>
<a name="l00021"></a><a class="code" href="class_f_c_image_handle.html">00021</a> <span class="comment"></span><span class="keyword">class </span><a class="code" href="class_f_c_image_handle.html">FCImageHandle</a> : <span class="keyword">public</span> <a class="code" href="class_f_c_image_handle_base.html">FCImageHandleBase</a>,
00022                       <span class="keyword">public</span> <a class="code" href="class_p_c_l___interface___composite.html">PCL_Interface_Composite</a>&lt;FCObjImage&gt;
00023 {
00024 <span class="keyword">public</span>:
<a name="l00025"></a><a class="code" href="class_f_c_image_handle.html#a0">00025</a>     <span class="keyword">virtual</span> std::deque&lt;FCObjImage*&gt; <a class="code" href="class_f_c_image_handle.html#a0">GetLoadImage</a> (<span class="keywordtype">bool</span> bWantBeOwnner)
00026     {
00027         std::deque&lt;FCObjImage*&gt;   imgList ;
00028         <span class="keywordflow">if</span> (bWantBeOwnner)
00029             <a class="code" href="class_p_c_l___interface___composite.html#a5">PCL_ThrowOwnership</a> (imgList) ;
00030         <span class="keywordflow">else</span>
00031         {
00032             <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i=0 ; i &lt; <a class="code" href="class_p_c_l___interface___composite.html#a1">PCL_GetObjectCount</a>() ; i++)
00033                 imgList.push_back (<a class="code" href="class_p_c_l___interface___composite.html#a3">PCL_GetObject</a>(i)) ;
00034         }
00035         <span class="keywordflow">return</span> imgList ;
00036     }
00037 } ;
00038 
00039 <span class="comment">//=============================================================================</span>
00040 <span class="comment">// inline Implement</span>
00041 <span class="comment">//=============================================================================</span>
00042 
00043 <span class="preprocessor">#endif</span>
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Mar 8 11:12:46 2006 for ImageStone by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.1 </small></address>
</body>
</html>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The zlib/libpng License


Written By
Team Leader PhoXo
China China
graduate from University of Science and Technology of China at 2002.

Now I work at www.phoxo.com.

Comments and Discussions