Article View: comp.graphics.avs
Article #188Re: Writing AVS Subroutine/Coroutine Modules in C++
From: Terry Myerson
Date: Thu, 08 Oct 1992 00:44
Date: Thu, 08 Oct 1992 00:44
182 lines
3944 bytes
3944 bytes
Hi Srinvas-
Lars Bishop of Brown University passed me an avs.H file a while
back that will help you in your efforts.
Please note that comp.graphics.avs is archived and WAIS'd - both
at the IAC. ( and this has been posted before ! )
Good luck-
Terry
---
Terry Myerson
International AVS Center
North Carolina Supercomputing Center
tvv@ncsc.org
// avs.H - A header file for writing modules in C++
// Note: Not all avs calls are supported at this point
// This is an evolving header file that should patch
// some of the problems with developing modules for avs
// in C++.
// The header file was written by Lars M Bishop, Brown University,
// with ideas from Timothy Miller, Brown University
#ifndef AVS_H_INCLUDED
#define AVS_H_INCLUDED
#define class avs_class // a little hack to get around avs's use
#define template avs_template // of class and template
extern "C" {
#include <avs/avs.h>
#include <avs/field.h>
}
#undef class
#undef template
extern "C" {
int
AVSinit_modules();
AVSmodule_from_desc(int (*)());
AVSset_module_name(char *, int);
void
AVSset_compute_proc(int (*)(...));
void
AVSconnect_widget(int, char *);
void
AVSparameter_visible(char *, int);
int
AVSadd_parameter(char *, char * ...);
int
AVSadd_float_parameter(char *, double, double, double);
AVSautofree_output(int);
int
AVScreate_input_port(char *, char *, char *);
int
AVScreate_output_port(char *, char *);
int
AVSfield_get_int(AVSfield *, int);
char *
AVSdata_alloc(char *, int *);
}
#endif
Path: ncsc.org!tvv
Newsgroups: comp.lang.c++ comp.graphics.avs
Distribution: world
Followup-To:
References: <1992Oct6.043501.25763@lgc.com>
From: tvv@ncsc.org (Terry Myerson)
Reply-To: tvv@ncsc.org
Organization: North Carolina Supercomputing Center
Subject: Re: Writing AVS Subroutine/Coroutine Modules in C++
Keywords:
Hi Srinvas-
Lars Bishop of Brown University passed me an avs.H file a while
back that will help you in your efforts.
Please note that comp.graphics.avs is archived and WAIS'd - both
at the IAC. ( and this has been posted before ! )
Good luck-
Terry
---
Terry Myerson
International AVS Center
North Carolina Supercomputing Center
tvv@ncsc.org
// avs.H - A header file for writing modules in C++
// Note: Not all avs calls are supported at this point
// This is an evolving header file that should patch
// some of the problems with developing modules for avs
// in C++.
// The header file was written by Lars M Bishop, Brown University,
// with ideas from Timothy Miller, Brown University
#ifndef AVS_H_INCLUDED
#define AVS_H_INCLUDED
#define class avs_class // a little hack to get around avs's use
#define template avs_template // of class and template
extern "C" {
#include <avs/avs.h>
#include <avs/field.h>
}
#undef class
#undef template
extern "C" {
int
AVSinit_modules();
AVSmodule_from_desc(int (*)());
AVSset_module_name(char *, int);
void
AVSset_compute_proc(int (*)(...));
void
AVSconnect_widget(int, char *);
void
AVSparameter_visible(char *, int);
int
AVSadd_parameter(char *, char * ...);
int
AVSadd_float_parameter(char *, double, double, double);
AVSautofree_output(int);
int
AVScreate_input_port(char *, char *, char *);
int
AVScreate_output_port(char *, char *);
int
AVSfield_get_int(AVSfield *, int);
char *
AVSdata_alloc(char *, int *);
}
#endif
--
Terry Myerson
International AVS Center
North Carolina Supercomputing Center
tvv@ncsc.org
Technical Details
Message-ID:
<Bvs21w.C6I@doppler.ncsc.org>Path:
arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!rock!concert!doppler!tvvShow Full Headers
Complete Article Headers
Newsgroups: comp.graphics.avs,comp.lang.c++ Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!rock!concert!doppler!tvv From: tvv@doppler.ncsc.org (Terry Myerson) Subject: Re: Writing AVS Subroutine/Coroutine Modules in C++ Message-ID: <Bvs21w.C6I@doppler.ncsc.org> Organization: North Carolina Supercomputing Center Date: Thu, 8 Oct 1992 00:44:20 GMT Lines: 182