TAL C++ source code |
|||||||||
Current version 1.2 (21 Aug. 02)
What is it?I am releasing the object-oriented C++ source code for Texture AutoLookup (TAL). With TAL, you can determine the soil texture classes based on any given soil classification scheme. Because the code is object-oriented, you can easily use or inherit TAL classes in your own programl. What's new in version 1.2?
What's new in version 1.1?
Learning about TALTAL has two classes:
The above two classes use the following helper or support structures and functions: Examples of TAL classes in action, and how to define soil schemes: DownloadIf you are not planning to subscribe to TAL's mailing list, I would greatly appreciate it if you would email to me that you are downloading TAL. Lots of people have downloaded TAL without informing me; is this too much to ask for a free cool product? Please let me know the following information: 1) name, 2) profession, 3) organisation, and 4) how you heard about TAL. These information are for my personal reference only; they will not be shared or distributed.
The file is compressed as a .zip archive. You can use Winzip or Pkzip programs to decompress the file. Once decompressed, you should have the following eight files:
where the last two files, gpc.h and gpc.c, are the GPC (Generic Polygon Clipper) library written in C by Alan Murta, Advanced Interfaces Group, University of Manchester.
Let me know if you have a soil classification scheme not listed here; I will add it! Conditions of UseTAL source code is free for non-commercial use. It may be copied, modified, and redistributed provided that credit is given to the author somewhere in your program documentation. TAL source code is provided 'as is' without any warranty, implied or expressed. CompilingCompile all source files as C++ files except the gpc.c which must be compiled as a C file. I have tested compiling TAL code in Windows using two compilers: Microsoft Visual C++ 5.0 SP3, and Borland C++ 5.5. I do not expect problems if you use other modern C++ compilers or in other operating systems (OS). TAL code has no hardware- or OS-specific instructions, and it is written to conform to ANSI/ISO C++ standard. Nevertheless, you may get some compiler warnings (e.g., warnings on unreachable code or variable unused) while compiling the GPC file gpc.c (which is not written by me!). These warnings, however, are harmless and can be safely ignored. Quick and dirty compilationFor the Microsoft C++ 5.0 compiler, this is one way you can compile TAL files from the command line:
CL /I"c:\devstudio\vc\include" /GX /c gpc.c *.cpp and for the Borland C++ 5.5 compiler:
BCC32 -I"c:\bcc55\include" -P- -c gpc.c *.cpp Modify the above path location for your compiler and include header files, as needed. Suggestions, comments, feedbackPlease let me know if you have trouble using TAL, or if you have any suggestions or comments. - Christopher Teh Boon Sung |
|||||||||
|
|||||||||
|
|||||||||
updated: 22-Aug-2002 |