Download PDF file
Transcript
Introduction to the PolyInt Extended Curve-Fit Chapter 12 The Polynomial Integer Add-on 12 - 1 Introduction to the PolyInt Extended Curve-Fit PolyInt, the Tecplot add-on you will build in this tutorial, is an example of an extended curve-fit add-on that does not have any settings which may be configured. This add-on will add an option to the single selection list that is launched by the Curve Type/Extended option on the Curves page of the Mapping Style dialog. This add-on will perform three operations. The only required operation is to calculate the curve-fit of discrete XY-data. The second operation is to supply Tecplot with a dependent value when the plot is probed. The third is to present a string to the XY Plot Curve Info dialog. All of the example of source code shown in this manual is included in the Tecplot distribution and are found in the adk/samples sub-directory below the Tecplot home directory. Note: For the purposes of this tutorial, it is assumed that you have already read the chapters “Creating Add-ons Under Windows” and/or “Creating Add-ons Under UNIX” in the ADK User’s Manual, and that you have successfully created and compiled a set of starter files. All of the code from this point on is platform-independent, and you can work through the tutorial using either a Windows or UNIX environment. 12 - 2 Getting Started PolyInt will use the following source code files. Each one will be automatically created by the CreateNewAddOn script (UNIX) or the Tecplot Add-on Wizard (Windows). The project name and the add-on name will both be PolyInt. When running CreateNewAddOn or the Tecplot 360 Add-on Wizard, answer the questions as follows: • Project Name (Base name): PolyInt 107