VisAPI supported platforms

Contact
Activities
Projects
Papers
4 Students
Private

AVS/Express

In AVS/Express the Adaptive Grid is integrated as a new grid type. It provides following modules:
  • HiVis_Read_Octree: Read an octree and represent it as an adaptive grid.
  • HiVis_Read_SparseGrid: Read a sparse grid and represent it as an adaptive grid.
  • Field_To_HiVis: Convert an AVS/Express uniform grid to an adaptive grid representation. Data is unchanged.
  • HiVis_To_Field: Convert an adaptive grid to an AVS/Express uniform grid. Node data is interpolated.
  • AG_Octree: Convert an adaptive grid to an octree representation. Grid must have data in cells. Note: The octree aproximates an adaptive grid and is itself represented as an adaptive grid. This matter should be understood correctly. E.g. the conversion from an AVS/Express uniform grid to an octree can be obtained with the modules Field_To_HiVis and AG_Octree.
  • AG_SparseGrid: Convert an adaptive grid to an sparsegrid representation.
  • AG_Orthoslice: Orthoslice an n-dimensional adaptive grid (i.e. reduce by one dimension).
  • AG_Cell2Node: Convert celldata to nodedata.
  • HiVis_Bounds: Draw grid bounds (no data map as yet).
  • HiVis_Iso: Generate isosurface. Grid must have data in nodes.
  • HiVis_Streamlines: Generate Streamlines. Grid must have data in nodes.
  • HiVis_Render_Sparsegrid: Visualize the nodes of the sparsegrid datastructure.
  • HiVis_Render_Cells: Visualize the adaptive grid cell structure
The implementation is far from being complete. The integration of hierarchical adaptive datastructures into the visualization is an ongoing research topic. This package illustrates the choice of an abstract interface to unify different types of hierarchical adaptive datastructures for their visualization. But it does not take advantage of all aspects of the hierarchical adaptive data structures in the visualization. However here are some ideas for productive usage:
  • Visualize the structure of an octree or a sparsegrid using HiVis_Render_Cells
  • Integrate new hierarchic adaptive datastructures by inheriting from the adaptive grid base class (C++-class visAdaptiveGrid).
  • Interpolate a uniform grid with an octree or a sparsegrid, for example to illustrate image compression.

Download

  • HiVis version 1.1a (alpha): VisAPI Framework plus visualization modules for AVS/Express
  • Note: Version is alpha since examples are missing and some bugs need to be fixed. Will be done as soon as possible.

Installation

The modules are organized according to the guidelines from the International AVS Centre. The directory "iac_proj/HiVis/" contains all the V code, source code, and installation information for a HiVis-generation project . The directory should be placed into your existing project directory, which should already contain the IAC Project File structure, i.e., the "iac_proj/", "iac_lib/" and "v/" directories.

The INSTALL file contains information on how to edit the existing IAC files. Once the files have been correctly installed, the low-level modules of the new project have to be compiled. Users of the Developer's Edition may select the library IAC_PROJ.HiVisMods.HiVis in the Templates library, and then perform a compile. Alternatively, you may type the following command into the VCP prompt; Visualization Edition users must type the following command to compile the project, as there is no access to the Templates library through the Network Editor:

$compile IAC_PROJ.HiVisMods.

Known Bugs

  • After loading examples, that use the modules Generate_Octree or Generate_SparseGrid you have to manual update the modules by selecting different parameters like 'Max tree level' or epsilon values.

Quickstart for users new to AVS/Express

If you have little experience with AVS/Express the following steps hopefully help you to use VisAPI for AVS/Express:
  • Start AVS/Express and create a new project directory with[Project|Save as].
  • Unpack the IAC project files  into that project directory.
  • Set the XP_ROOT environment variable to the AVS/Express installation directory. This variable is referenced by the definition in the file avsenv located in the project directory as part of the search path for the module definitions. The first search directory is dot ('.') by default which means you have to start AVS/Express with the project directory as the current working directory. To avoid this, you can specify the absolute path of the project directory there.
  • Ensure that the MACHINE environment variable is set according to your machine. Otherwise problems may arise when compiling the modules. Refer to the installation guide for platform specific settings.
  • Unpack  the HiVis project files into the project directory and edit specific files according to "iac_proj/HiVis/INSTALL".
  • Start AVS/Express using the project (thus change to the project directory and type something like "$XP_ROOT/bin/$MACHINE/express -project .", dependent on the platform and the license managment you use). Select [Templates] in the 'Libraries' selection menu. Highlight [IAC_PROJ.HiVis].  Create the makefiles with [Project|Compile]. Quit AVS/Express.
  • Changedir to the project directory. Create an empty file "user.h" if this file does not yet exist. Type "make -f express.mk". After the compilation a new express binary should be located in the directory "bin/$MACHINE".
  • Start compiled express binary in the "bin" subdirectory using the project. Then select [File|Load Application] and try the examples in "iac_proj/HiVis/examples". Note: Remember to setup your license management, if it is dependent of the location of the express executable.

 

© Peter Breitling

last review: 2000-04-19, visitor nr. GOWEBCounter by INLINE