00001 /*************************************************************************** 00002 * Copyright (C) 1998-2010 by authors (see AUTHORS.txt ) * 00003 * * 00004 * This file is part of LuxRays. * 00005 * * 00006 * LuxRays is free software; you can redistribute it and/or modify * 00007 * it under the terms of the GNU General Public License as published by * 00008 * the Free Software Foundation; either version 3 of the License, or * 00009 * (at your option) any later version. * 00010 * * 00011 * LuxRays is distributed in the hope that it will be useful, * 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00014 * GNU General Public License for more details. * 00015 * * 00016 * You should have received a copy of the GNU General Public License * 00017 * along with this program. If not, see <http://www.gnu.org/licenses/>. * 00018 * * 00019 * LuxRays website: http://www.luxrender.net * 00020 ***************************************************************************/ 00021 00022 #ifndef _LUXRAYS_H 00023 #define _LUXRAYS_H 00024 00025 #include <iostream> 00026 00027 #include "luxrays/cfg.h" 00028 00029 #if !defined(LUXRAYS_DISABLE_OPENCL) 00030 00031 #define __CL_ENABLE_EXCEPTIONS 00032 00033 #if defined(__APPLE__) 00034 #include <OpenCL/cl.hpp> 00035 #else 00036 #include <CL/cl.hpp> 00037 #endif 00038 00039 #endif // LUXRAYS_DISABLE_OPENCL 00040 00041 #include "luxrays/core/geometry/vector.h" 00042 #include "luxrays/core/geometry/normal.h" 00043 #include "luxrays/core/geometry/uv.h" 00044 #include "luxrays/core/geometry/vector_normal.h" 00045 #include "luxrays/core/geometry/point.h" 00046 #include "luxrays/core/geometry/ray.h" 00047 #include "luxrays/core/geometry/raybuffer.h" 00048 #include "luxrays/core/geometry/bbox.h" 00049 #include "luxrays/core/geometry/triangle.h" 00050 #include "luxrays/core/pixel/samplebuffer.h" 00051 00056 namespace luxrays { 00057 class Accelerator; 00058 class Context; 00059 class DataSet; 00060 class IntersectionDevice; 00061 class Mesh; 00062 class PixelDevice; 00063 class TriangleMesh; 00064 class VirtualM2OHardwareIntersectionDevice; 00065 class VirtualM2MHardwareIntersectionDevice; 00066 } 00067 00068 #endif /* _LUXRAYS_H */
1.6.3