dira2avs

Name

	dira2avs	

Synopsis

	Read data (Spherical coordinates in radiant format) then
	produce UCD input file (".inp").

Author

	Massimiliano Bavelloni, Radioastronomy department C.N.R. Bologna
	Italy.
	E-mail: lau13@boira2.bo.cnr.it
	        nanni@astbo1.bo.cnr.it

Type

	Data output
LANGUAGE
	C

Input

	None

Output

	None

Parameters

	name		type		default		min 	max
	filename	browser		
	coord_as_data	toggle		TRUE
	name_coord_1	typein		"ra"
	name_coord_2	typein		"dec"
	name_coord_3	typein		"unknown"
	name_data_1	typein		"unknown"
	name_data_2	typein		"unknown"
	type_cell	choice		"triangle"
	GO		oneshot		false	

Description

	Read data from ascii file, data may be integer or floating point
	numbers separated by spaces. This is the format:
	
            .   .  
            
           ""         ""      .   .     ""
            .   .   
	The first and the second parameter are coordinates in Spherical
	(Equatorial) system: 
	param.1: RA (right ascension) stored in radiant format
	param.2: DEC (declination) stored in radiant format
	param.3: VEL (distance in Spherical system)
	param.4: generic data 
	param.5: generic data
	The coordinates: RA, DEC, VEL determine an object inside a
	3D space. This module convert data read from input file into
	UCD in order to display object in 3D space.
	This module allow to select UCD cell:
		
		point
		line
		triangle
		quadrilateral
		tetrahedron
		pyramid
		prism
		exahedron	   
	
	Set label related to coordinates and other parameters
	in order to eliminate frame distortion effect caused by
	coordinate system, so RA and DEC of all objects are 
	shifted and the group of objects are centered around 
	RA = 0 and DEC = 0.
	Go to start execution.

Example network

                         DIRA2AVS
              READ UCD            GENERATE COLORMAP
                |                      |
                |----------------|     |            
                |                |     |
                |              UCD CONTOUR
                |                     |
                |---------------|     |
            UCD TO FIELD        |     |              ANIMATED FLOAT
                |             UCD TO GEOM                | 
                |                 |                      |
                |                 |                 GEO CONTROL
            CONE BOUNDING         |                      |
                |                 |                      |
                |-----------------|----------------------|
                        |
                GEOMETRY VIEWER
Notes:
	Read data (coma1.xyz) with DIRA2AVS and create coma1.inp,
	then read ".inp" file with READ UCD and create geometry scene. 
	You can rotate and transform the scene with ANIMATED FLOAT and 
	GEO CONTROL. You can obtain simple animation.  	
	
	UCD TO FIELD (from I.A.C.) module filter
        
	GEO CONTROL (from I.A.C.) module filter
	CONE BOUNDING (from I.A.C.) module mapper	
	UCD TO FIELD, set choice parameter to "irregular" 
	In Geometry viewer subsystem set rendering methods as POINTS
           
makefile for workstation digital 3000 (CPU Alpha) OSF Unix