Preface Audience v Conventions vi File Naming Conventions vii AVS/Express Documentation and Online Help vii Documentation vii Online Help viii Customer Support ix 1 Welcome to AVS/Express 1.1 What is AVS/Express? 1-2 1.2 Working with AVS/Express 1-3 1.2 The Network Editor 1-3 Note: Example of a Completed Application 1-4 V Code 1-4 Application Programmer Interfaces 1-5 1.3 AVS/Express Kits 1-6 1.4 Object-oriented Techniques in AVS/Express 1-7 1.5 Connections and Object Execution 1-10 1.6 Object Manager 1-12 1.7 Developing and Delivering Applications 1-13 1.7 AVS/Express Projects 1-13 Delivering Applications 1-13 2 Assembling a Data Visualization Application 2.1 Start AVS/Express 2-2 The SingleWindowApp Workspace 2-4 Figure B-2 The SingleWindowApp DataViewer 2-5 Figure B-3 The V Command Processor 2-6 2.2 Instance Objects in the Network Editor 2-7 Figure B-1 Working with Libraries and Objects 2-7 Figure B-2 Scrolling Through Objects 2-8 n Displaying Library Pages 2-8 n Instancing a Read_Field Object 2-10 Parts of an Object Icon 2-12 Figure B-7 Moving Objects in the Workspace 2-12 2. Using Module Object Controls 2-12 2. Instance isosurface and Position Uviewer3D 2-14 2.3 Connect Objects 2-17 Note: Connect isosurface to Read_Field 2-18 Note: Removing a Connection 2-18 Connect Uviewer3D to isosurface 2-19 Figure B-4 Look More Closely at the Ports 2-19 c. Understanding the Object Hierarchy 2-22 Figure B-7 Use the Object Info Dialog 2-22 2.4 Save Your Application 2-24 2.5 Execute Your Application 2-25 2.6 Execute Your Application from the Command Line 2-29 2.7 For More Information 2-30 3 Modifying the Data Visualization Application 3.1 Introduction 3-2 3.2 Start AVS/Express 3-3 3.3 Load Your Application 3-4 3.4 Add Objects to Your Application 3-6 Note: Instance and Connect the bounds Object 3-6 Figure C-1 Test the Application 3-7 3.5 Add a Crop Object to Your Application 3-11 3.5 Instance and Connect crop 3-11 Figure C-5 Test the Application 3-14 3.6 Save Your Application 3-16 3.7 For More Information 3-17 4 Creating a New Component 4.1 Introduction 4-2 4.2 Start AVS/Express 4-4 4.3 Instance and Name the Component's Objects 4-6 4.3 Create the ScratchPad Application 4-6 3. Use the Add Module Tool to Construct the Module 4-7 4.4 Connect Depth to an Expression 4-12 Note: Connect Depth 4-12 Note: Test the Component 4-13 4.5 Use the Object Editor to Turn Time and Depth into Arrays 4-16 4.5 Specify Dimensions Using the Object Editor 4-16 6. Test the Arrays by Assigning an Array Literal to Time 4-19 4. Notice the Difference between Connections and Assignments 4-19 4.6 Save Echo as a Template 4-21 4.6 Set Default Values for the Input Parameters 4-21 4. Save Echo in a Library 4-21 Figure D-1 Instance Echo into the Default Application 4-22 4. Print Depth's Value Using the V Command Processor 4-23 4.7 Create a New Project 4-25 4.8 Use Echo in a Simple Application 4-26 4.8 Construct the Application 4-26 Figure D-1 Test the Application 4-27 1. Experiment with Bidirectional Connections 4-27 4.9 Restart AVS/Express with the New Project 4-30 4.10 For More Information 4-32 5 Creating a Group Data Parameter 5.1 Introduction 5-2 5.2 Start AVS/Express 5-3 5.3 Create a point Object 5-4 5.3 Create point 5-4 Figure E-4 Create an Output Port for point and Set the Port's Colors 5-5 Figure E-4 Adding a Port Using The Object's Popup Menu 5-5 Figure E-5 Specify the port's Colors Using the Properties Editor 5-6 Figure E-11 Save point as a Template Object 5-8 5.4 Create a Distance Module 5-9 5.4 Create Distance 5-9 Figure E-2 Use the Object Editor to Specify the Module and its Subobjects 5-10 9. Save Distance as a Template Object 5-13 5.5 Use point and Distance in an Application 5-15 5.6 For More Information 5-19 6 Integrating User Code 6.1 Introduction 6-2 6.2 Start AVS/Express 6-3 6.3 Create EchoReader 6-4 Starting the Add_Module Tool 6-5 3. Adding the Method 6-6 8. Creating and Setting the First Parameter 6-8 7. Creating and Setting the Other Parameters 6-11 5. Set Properties Related to Integrating a C Routine 6-13 6.4 Save EchoReader as a Template 6-16 6.5 Generate C-code 6-17 6.5 Generate the Code 6-17 2. Edit EchoReader's Definition 6-18 8. Modify echo.c 6-19 Look at echo.c 6-19 6.6 Compile the Process 6-22 6.7 Test EchoReader 6-23 6.8 For More Information 6-26 7 Building a User Interface 7.1 Introduction 7-2 7.2 Start AVS/Express 7-3 7.3 Create a Window 7-4 7.4 Add a Menu Bar 7-7 7.4 Add the Menu Bar Itself 7-7 Figure G-2 Add a Menu to the Menu Bar 7-8 Figure G-9 Add Pulldown Commands to the Menu 7-10 7.5 Add a File-Selection Dialog 7-13 7.5 Add the Dialog 7-13 Figure G-4 Observe How UIcmdOpen and UIfileDialog Work 7-14 7.6 Add an Exit Confirmation Dialog 7-16 Figure G-10 Add an exit_process Module 7-20 7.7 Encapsulate the User Interface in a Macro 7-23 7.7 Move the Network into a Macro 7-23 Figure G-4 Export the File Dialog Port 7-26 Figure G-6 Save EchoUI as a Template 7-27 7.8 For More Information 7-29 8 Creating and Compiling an Application 8.1 Introduction 8-2 8.2 Start AVS/Express 8-3 8.3 Assemble the Application 8-4 Assemble the Application 8-4 Figure H-1 Map the Data to a Field 8-5 Figure H-6 Test the Application 8-9 Figure H-7 Modularize the Mapper Objects 8-10 Figure H-13 Create an Application Object 8-13 6. Save Your Application to a V File 8-15 8.4 Save the Application as a Compiled Project 8-17 8.5 For More Information 8-21
Copyright © 2001 Advanced Visual Systems Inc. All rights reserved.