Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Surf.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *cr                                                                       
00003  *cr            (C) Copyright 1995-2019 The Board of Trustees of the           
00004  *cr                        University of Illinois                       
00005  *cr                         All Rights Reserved                        
00006  *cr                                                                   
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  * RCS INFORMATION:
00011  *
00012  *      $RCSfile: Surf.h,v $
00013  *      $Author: johns $        $Locker:  $             $State: Exp $
00014  *      $Revision: 1.24 $       $Date: 2019/01/17 21:21:02 $
00015  *
00016  ***************************************************************************
00017  * DESCRIPTION:
00018  * Interface to the SURF executable written by Amitabh Varshney at UNC.  
00019  * SURF Downloadable from ftp://ftp.cs.unc.edu/pub/projects/GRIP/SURF/
00020  *
00021  ***************************************************************************/
00022 #ifndef SURF_H
00023 #define SURF_H
00024 
00025 #include "ResizeArray.h"
00026 
00028 class Surf {
00029 public:
00030   int numtriangles;      
00031   ResizeArray<float>  v; 
00032   ResizeArray<float>  n; 
00033   ResizeArray<int>    f; 
00034   ResizeArray<int>  ind; 
00035    
00036 public:
00037   Surf();
00038 
00041   int compute(float probe_r, int num_points, float *r, 
00042                float *x, float *y, float *z);
00043 
00044   void clear();          
00045 };
00046 #endif
00047 

Generated on Wed Apr 24 02:43:23 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002