Last change
on this file since 238 was
235,
checked in by sz, 11 years ago
|
Framscript interface class for Model geometry calculation
|
-
Property svn:eol-style set to
native
|
File size:
462 bytes
|
Rev | Line | |
---|
[235] | 1 | #ifndef _MODELGEOCLASS_H_ |
---|
| 2 | #define _MODELGEOCLASS_H_ |
---|
| 3 | |
---|
| 4 | #include <frams/model/modelobj.h> |
---|
| 5 | |
---|
| 6 | class ModelGeometry: public DestrBase |
---|
| 7 | { |
---|
| 8 | public: |
---|
| 9 | ModelObj *model; |
---|
| 10 | double density; |
---|
| 11 | Param par; |
---|
| 12 | |
---|
| 13 | ModelGeometry(ModelObj *mo=NULL); |
---|
| 14 | ~ModelGeometry(); |
---|
| 15 | |
---|
| 16 | #define STATRICKCLASS ModelGeometry |
---|
| 17 | PARAMPROCDEF(p_formodel); |
---|
| 18 | PARAMPROCDEF(p_volume); |
---|
| 19 | PARAMPROCDEF(p_area); |
---|
| 20 | PARAMPROCDEF(p_sizesandaxes); |
---|
| 21 | #undef STATRICKCLASS |
---|
| 22 | |
---|
| 23 | static ExtObject makeDynamicObject(ModelGeometry* mg); |
---|
| 24 | }; |
---|
| 25 | |
---|
| 26 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.