source: nanovis/branches/1.1/Command.h @ 4804

Last change on this file since 4804 was 4612, checked in by ldelgass, 10 years ago

merge r3597 from trunk

  • Property svn:eol-style set to native
File size: 952 bytes
Line 
1/* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
2/*
3 * Copyright (c) 2004-2013  HUBzero Foundation, LLC
4 *
5 * Authors:
6 *   Wei Qiao <qiaow@purdue.edu>
7 *   Insoo Woo <iwoo@purdue.edu>
8 *   George A. Howlett <gah@purdue.edu>
9 *   Leif Delgass <ldelgass@purdue.edu>
10 */
11#ifndef COMMAND_H
12#define COMMAND_H
13
14#include <tcl.h>
15
16namespace Rappture {
17class Buffer;
18}
19class Volume;
20
21extern int GetAxisFromObj(Tcl_Interp *interp, Tcl_Obj *objPtr,
22                          int *axisVal);
23
24extern int GetBooleanFromObj(Tcl_Interp *interp, Tcl_Obj *objPtr,
25                             bool *boolVal);
26
27extern int GetDataStream(Tcl_Interp *interp, Rappture::Buffer &buf, int nBytes);
28
29extern int GetFloatFromObj(Tcl_Interp *interp, Tcl_Obj *objPtr,
30                           float *floatVal);
31
32extern int GetVolumeFromObj(Tcl_Interp *interp, Tcl_Obj *objPtr,
33                            Volume **volume);
34
35extern Tcl_Interp *initTcl();
36
37#endif
Note: See TracBrowser for help on using the repository browser.