VR-Forces 4.2 Class Documentation
baseTableFn.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2000 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: baseTableFn.h,v $ $Revision: 1.10 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef DtBaseTableFunction_H_
13 #define DtBaseTableFunction_H_
14 
15 #include <vlutil/vlMachineTypes.h>
16 #include "vrfutil/rdrWritr.h"
17 
28 
29 #include "vrfutil/vrfutilDefines.h"
31 {
32 public:
33 
36 
39  parentRegistry = NULL);
40  DtBaseTableFunction(const DtSymbolString& name, DtReaderWriterRegistry*
41  parentRegistry = NULL);
42 
44  virtual ~DtBaseTableFunction();
45 
48 
50  DtBaseTableFunction(const DtString& name, const DtBaseTableFunction& orig,
51  DtReaderWriterRegistry* parentRegistry = NULL);
52 
53  DtBaseTableFunction(const DtSymbolString& name, const DtBaseTableFunction& orig,
54  DtReaderWriterRegistry* parentRegistry = NULL);
55 
58 
60  virtual bool init(DtU32 dim);
61 
63  virtual DtReal lookup(DtReal coordinate1,...) const=0;
64  virtual DtReal lookup(const DtReal * coordinates) const=0;
65 
67  virtual DtReal integrate(DtReal lower0, DtReal upper0,...) const=0;
68 
70  virtual DtU32 dim() const;
71 
73  virtual void putData(FILE * fp, int indentLevel=0)=0;
74  virtual DtlObjPtr getData(DtlObjPtr args, const DtFilename& searchPath,
75  const DtVariableBindingsList& variableBindings) = 0;
76 
80  virtual const char* readerWriterType() const;
81 
82 protected:
83 
84  DtU32 * myN;
85  DtU32 myDim;
86 
87 };
88 
89 #endif

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)