Revision: 47129 http://brlcad.svn.sourceforge.net/brlcad/?rev=47129&view=rev Author: abhi2011 Date: 2011-10-06 01:01:24 +0000 (Thu, 06 Oct 2011) Log Message: ----------- Began implementing a raytrace based manifold generator
Added Paths: ----------- brlcad/trunk/src/libged/simulate/simrt.c brlcad/trunk/src/libged/simulate/simrt.h Added: brlcad/trunk/src/libged/simulate/simrt.c =================================================================== --- brlcad/trunk/src/libged/simulate/simrt.c (rev 0) +++ brlcad/trunk/src/libged/simulate/simrt.c 2011-10-06 01:01:24 UTC (rev 47129) @@ -0,0 +1,55 @@ +/* S I M R T . C + * BRL-CAD + * + * Copyright (c) 2011 United States Government as represented by + * the U.S. Army Research Laboratory. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * version 2.1 as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this file; see the file named COPYING for more + * information. + */ +/* + * Implements the raytrace based manifold generator. + * + * Used for returning the manifold points to physics. + * + */ + +/* Private Header */ +#include "simrt.h" + + +int +generate_manifolds(struct simulation_params *sim_params) +{ + /* Shoot lasers */ + return GED_OK; +} + + + + + + + + + +/* + * Local Variables: + * tab-width: 8 + * mode: C + * c-basic-offset: 4 + * indent-tabs-mode: t + * c-file-style: "stroustrup" + * End: + * ex: shiftwidth=4 tabstop=8 + */ Property changes on: brlcad/trunk/src/libged/simulate/simrt.c ___________________________________________________________________ Added: svn:mime-type + text/plain Added: svn:eol-style + native Added: brlcad/trunk/src/libged/simulate/simrt.h =================================================================== --- brlcad/trunk/src/libged/simulate/simrt.h (rev 0) +++ brlcad/trunk/src/libged/simulate/simrt.h 2011-10-06 01:01:24 UTC (rev 47129) @@ -0,0 +1,73 @@ +/* S I M R T . H + * BRL-CAD + * + * Copyright (c) 2011 United States Government as represented by + * the U.S. Army Research Laboratory. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * version 2.1 as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this file; see the file named COPYING for more + * information. + */ +/* + * The header for the raytrace based manifold generator + * for the simulate command. + * + * + */ + +#ifndef SIMRT_H_ +#define SIMRT_H_ + +/* System Headers */ +#include <stdlib.h> +#include <ctype.h> +#include <math.h> +#include <string.h> + +/* Public Headers */ +#include "vmath.h" +#include "db.h" +#include "bu.h" + +/* Private Headers */ +#include "../ged_private.h" +#include "simulate.h" + + +/** + * Shoots rays within the AABB overlap regions only to allow more rays to be shot + * in a grid of finer granularity and to increase performance. + */ +int +generate_manifolds(struct simulation_params *sim_params); + + + + + + + + + + +#endif /* SIMRT_H_ */ + +/* + * Local Variables: + * tab-width: 8 + * mode: C + * c-basic-offset: 4 + * indent-tabs-mode: t + * c-file-style: "stroustrup" + * End: + * ex: shiftwidth=4 tabstop=8 + */ Property changes on: brlcad/trunk/src/libged/simulate/simrt.h ___________________________________________________________________ Added: svn:mime-type + text/plain Added: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 _______________________________________________ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits