ITT Rule IDL Version 7.0 User Manual

Browse online or download User Manual for Software manuals ITT Rule IDL Version 7.0. ITT Rule IDL Version 7.0 User's Manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 430
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews

Summary of Contents

Page 1 - Programming

iTool ProgrammingIDL Version 7.0November 2007 EditionCopyright © ITT Visual Information SolutionsAll Rights Reserved1107IDL70ITD

Page 2 - Acknowledgments

10 Chapter 1: Overview of iToolsWhat are iTools? iTool Developer’s GuideWhat are iTools?IDL Intelligent Tools, or iTools, are applications written in

Page 3 - Contents

100 Chapter 5: Creating an iToolCreating a New iTool Class iTool Developer’s Guide2. Register a visualization type for the tool. We choose the standar

Page 4

Chapter 5: Creating an iTool 101iTool Developer’s Guide Registering a New Tool ClassRegistering a New Tool ClassBefore an instance of a new iTool can

Page 5

102 Chapter 5: Creating an iToolRegistering a New Tool Class iTool Developer’s GuideExampleSuppose you have an iTool class definition file named myToo

Page 6

Chapter 5: Creating an iTool 103iTool Developer’s Guide Creating an iTool Launch RoutineCreating an iTool Launch RoutineAn iTool launch routine is an

Page 7

104 Chapter 5: Creating an iToolCreating an iTool Launch Routine iTool Developer’s Guideuser to retrieve the newly-created iTool’s identifier in an ID

Page 8

Chapter 5: Creating an iTool 105iTool Developer’s Guide Creating an iTool Launch Routineturn, hold the actual data used by the iTool. To create a data

Page 9 - Overview of iTools

106 Chapter 5: Creating an iToolCreating an iTool Launch Routine iTool Developer’s GuideCATCH, /CANCELIF OBJ_VALID(oDataObject) THEN OBJ_DESTROY, oDat

Page 10 - What are iTools?

Chapter 5: Creating an iTool 107iTool Developer’s Guide Creating an iTool Launch RoutineWe also use IDL’s keyword inheritance mechanism (the _EXTRA ke

Page 11

108 Chapter 5: Creating an iToolExample: Simple iTool iTool Developer’s GuideExample: Simple iToolThis example creates a very simple iTool named examp

Page 12 - About this Manual

Chapter 5: Creating an iTool 109iTool Developer’s Guide Example: Simple iTool;*** Visualizations; Here we register a custom visualization type describ

Page 13 - About the iTools Code Base

Chapter 1: Overview of iTools 11iTool Developer’s Guide What is the iTools Component Framework?What is the iTools Component Framework?The iTools compo

Page 14

110 Chapter 5: Creating an iToolExample: Simple iTool iTool Developer’s Guidefunctionality automatically. Any “extra” keywords specified in the call t

Page 15 - Framework

Chapter 5: Creating an iTool 111iTool Developer’s Guide Example: Simple iToolIF (N_ELEMENTS(data) GT 0) THEN BEGINoData = OBJ_NEW('IDLitDataIDLIm

Page 16

112 Chapter 5: Creating an iToolExample: Simple iTool iTool Developer’s GuideWe next create a default grayscale ramp in an IDLitDataIDLPalette object,

Page 17 - Part I: Understanding

iTool Developer’s Guide 113Chapter 6Creating a VisualizationThis chapter describes the process of creating an iTool visualization type.Overview of iTo

Page 18

114 Chapter 6: Creating a VisualizationOverview of iTool Visualization Types iTool Developer’s GuideOverview of iTool Visualization TypesA visualizati

Page 19 - Architecture

Chapter 6: Creating a Visualization 115iTool Developer’s Guide Predefined iTool Visualization ClassesPredefined iTool Visualization ClassesThe iTool s

Page 20

116 Chapter 6: Creating a VisualizationPredefined iTool Visualization Classes iTool Developer’s GuideData Types Accepted• Histogram data: IDLVECTOR, I

Page 21

Chapter 6: Creating a Visualization 117iTool Developer’s Guide Predefined iTool Visualization Classes• Palette data: IDLPALETTE• Volume dimensions, lo

Page 22

118 Chapter 6: Creating a VisualizationPredefined iTool Visualization Classes iTool Developer’s GuideData Types Accepted•None.IDLitVisPlotDisplays a t

Page 23 - IDLitTool Classes

Chapter 6: Creating a Visualization 119iTool Developer’s Guide Predefined iTool Visualization ClassesIDLitVisPolylineDisplays a single polyline.Visual

Page 24 - IDLitReader Classes

12 Chapter 1: Overview of iToolsAbout this Manual iTool Developer’s GuideAbout this ManualThe iTool Developer’s Guide describes the IDL iTools compone

Page 25 - IDLitOperation Classes

120 Chapter 6: Creating a VisualizationPredefined iTool Visualization Classes iTool Developer’s GuideIDLitVisSurfaceDisplays a three-dimensional surfa

Page 26 - Atomic Graphic Objects

Chapter 6: Creating a Visualization 121iTool Developer’s Guide Creating a New Visualization TypeCreating a New Visualization TypeAn iTool visualizatio

Page 27 - • IDLgrPolygon • IDLgrVolume

122 Chapter 6: Creating a VisualizationCreating a New Visualization Type iTool Developer’s GuideIDLitVisualization class. See “IDLitVisualization” (ID

Page 28 - MY DATA object is visible to

Chapter 6: Creating a Visualization 123iTool Developer’s Guide Creating a New Visualization Typewith significant extra functionality will likely defin

Page 29 - Retrieving Identifiers

124 Chapter 6: Creating a VisualizationCreating a New Visualization Type iTool Developer’s Guidewhere MyVisualization is the name of your visualizatio

Page 30 - Object Descriptors

Chapter 6: Creating a Visualization 125iTool Developer’s Guide Creating a New Visualization TypeNoteAlways use keyword inheritance (the _EXTRA keyword

Page 31 - OPERATIONS/OPERATIONS/ROTATE

126 Chapter 6: Creating a VisualizationCreating a New Visualization Type iTool Developer’s GuideRegister a property by calling the RegisterProperty me

Page 32

Chapter 6: Creating a Visualization 127iTool Developer’s Guide Creating a New Visualization TypeSetting Property AttributesIf a property has already b

Page 33

128 Chapter 6: Creating a VisualizationCreating a New Visualization Type iTool Developer’s Guide/PRIVATE)self->Add, self._oPlot, /AGGREGATEHere, we

Page 34 - OPERATIONS/FILE/OPEN

Chapter 6: Creating a Visualization 129iTool Developer’s Guide Creating a New Visualization Type/INPUT, TYPES='IDLVECTOR', /OPTARGET; Add a

Page 35 - WINDOW/VIEW_1

Chapter 1: Overview of iTools 13iTool Developer’s Guide About the iTools Code BaseAbout the iTools Code BaseThe iTools component framework is written

Page 36

130 Chapter 6: Creating a VisualizationCreating a New Visualization Type iTool Developer’s Guide3. Creates a plotting symbol created from the IDLitSym

Page 37

Chapter 6: Creating a Visualization 131iTool Developer’s Guide Creating a New Visualization TypeCreating a GetProperty MethodThe visualization class G

Page 38 - Registering Components

132 Chapter 6: Creating a VisualizationCreating a New Visualization Type iTool Developer’s GuideFinally, the method calls the superclass’ GetProperty

Page 39 - Proxy Registration

Chapter 6: Creating a Visualization 133iTool Developer’s Guide Creating a New Visualization Typeobject. We set the value of the ExampleProperty direct

Page 40 - TOOLBAR/EDIT/UNDO:

134 Chapter 6: Creating a VisualizationCreating a New Visualization Type iTool Developer’s GuideMIN_VALUE = minn, MAX_VALUE = maxxENDIFENDELSE: self-&

Page 41 - Sending Notifications

Chapter 6: Creating a Visualization 135iTool Developer’s Guide Creating a New Visualization Typevisualizations. The general idea is that when a data i

Page 42 - Notification Messages

136 Chapter 6: Creating a VisualizationRegistering a Visualization Type iTool Developer’s GuideRegistering a Visualization TypeBefore a visualization

Page 43 - Observers

Chapter 6: Creating a Visualization 137iTool Developer’s Guide Registering a Visualization Typetree view. See “Icon Bitmaps” on page 44 for details on

Page 44 - System Resources

138 Chapter 6: Creating a VisualizationUnregistering a Visualization Type iTool Developer’s GuideUnregistering a Visualization TypeIf you are creating

Page 45 - Help System

Chapter 6: Creating a Visualization 139iTool Developer’s Guide Unregistering a Visualization Typevislist = oTool->FindIdentifiers('*/visualiza

Page 46 - Format of Help Entries

14 Chapter 1: Overview of iToolsAbout the iTools Code Base iTool Developer’s Guide• The core iTool component framework classes used to build individua

Page 47

140 Chapter 6: Creating a VisualizationExample: Image-Contour Visualization iTool Developer’s GuideExample: Image-Contour VisualizationThis example cr

Page 48

Chapter 6: Creating a Visualization 141iTool Developer’s Guide Example: Image-Contour VisualizationInit MethodThe Init method is called when the examp

Page 49

142 Chapter 6: Creating a VisualizationExample: Image-Contour Visualization iTool Developer’s GuideWe register two parameters used by our visualizatio

Page 50

Chapter 6: Creating a Visualization 143iTool Developer’s Guide Example: Image-Contour VisualizationEND; The method was called with an image array as t

Page 51 - Data Management

144 Chapter 6: Creating a VisualizationExample: Image-Contour Visualization iTool Developer’s GuideFinally, we handle the PALETTE parameter by calling

Page 52 - 52 Chapter 3: Data Management

iTool Developer’s Guide 145Chapter 7Creating an OperationThis chapter describes the process of creating an iTool operation.Overview of Creating an iTo

Page 53 - Chapter 3: Data Management 53

146 Chapter 7: Creating an OperationOverview of Creating an iTool Operation iTool Developer’s GuideOverview of Creating an iTool OperationAn operation

Page 54 - Composite Data Types

Chapter 7: Creating an Operation 147iTool Developer’s Guide Overview of Creating an iTool Operationthat you provide methods to store values before and

Page 55 - Chapter 3: Data Management 55

148 Chapter 7: Creating an OperationPredefined iTool Operations iTool Developer’s GuidePredefined iTool OperationsThe iTool system distributed with ID

Page 56 - Data Containers

Chapter 7: Creating an Operation 149iTool Developer’s Guide Predefined iTool OperationsNoteThere are many additional operations (named with the prefix

Page 57 - Parameter Sets

Chapter 1: Overview of iTools 15iTool Developer’s Guide Skills Required to Use the iTools Component FrameworkSkills Required to Use the iTools Compone

Page 58 - Predefined iTool Data Classes

150 Chapter 7: Creating an OperationOperations and the Undo/Redo System iTool Developer’s GuideOperations and the Undo/Redo SystemThe iTools system pr

Page 59 - IDLitDataIDLPolyvertex

Chapter 7: Creating an Operation 151iTool Developer’s Guide Operations and the Undo/Redo SystemGeneralized OperationsTo provide undo/redo functionalit

Page 60 - IDLitDataIDLVector

152 Chapter 7: Creating an OperationCreating a New Data-Centric Operation iTool Developer’s GuideCreating a New Data-Centric OperationiTool operations

Page 61 - Parameters

Chapter 7: Creating an Operation 153iTool Developer’s Guide Creating a New Data-Centric OperationCreating an IDLitDataOperationThe process of creating

Page 62 - DataTypeN

154 Chapter 7: Creating an OperationCreating a New Data-Centric Operation iTool Developer’s Guidethe methods and properties available to classes that

Page 63 - Data Type Matching

Chapter 7: Creating an Operation 155iTool Developer’s Guide Creating a New Data-Centric Operation• call the Init methods of any superclasses, using th

Page 64 - 64 Chapter 3: Data Management

156 Chapter 7: Creating an OperationCreating a New Data-Centric Operation iTool Developer’s GuideNoteYour operation class may have multiple superclass

Page 65 - Data Update Mechanism

Chapter 7: Creating an Operation 157iTool Developer’s Guide Creating a New Data-Centric OperationReturn ValueIf all of the routines and methods used i

Page 66 - 66 Chapter 3: Data Management

158 Chapter 7: Creating an OperationCreating a New Data-Centric Operation iTool Developer’s GuideNAME='Example Data Operation', ICON='s

Page 67 - Property Management

Chapter 7: Creating an Operation 159iTool Developer’s Guide Creating a New Data-Centric OperationNoteIf your operation class is based on the IDLitData

Page 68 - Properties vs. Preferences

16 Chapter 1: Overview of iToolsSkills Required to Use the iTools Component Framework iTool Developer’s Guide

Page 69 - Property Data Types

160 Chapter 7: Creating an OperationCreating a New Data-Centric Operation iTool Developer’s Guideour ExampleDataOp operation works on image data, this

Page 70 - Property Aggregation

Chapter 7: Creating an Operation 161iTool Developer’s Guide Creating a New Data-Centric Operation• For operations that return a two-dimensional array,

Page 71

162 Chapter 7: Creating an OperationCreating a New Data-Centric Operation iTool Developer’s GuideNoteAny property registered with a call to the Regist

Page 72

Chapter 7: Creating an Operation 163iTool Developer’s Guide Creating a New Data-Centric Operationproperty value, either by storing the value directly

Page 73 - User Defined Property Types

164 Chapter 7: Creating an OperationCreating a New Data-Centric Operation iTool Developer’s GuideCreating an UndoExecute MethodThe operation class’ Un

Page 74

Chapter 7: Creating an Operation 165iTool Developer’s Guide Creating a New Generalized OperationCreating a New Generalized OperationGeneralized operat

Page 75 - Pre-Registered Properties

166 Chapter 7: Creating an OperationCreating a New Generalized Operation iTool Developer’s Guide• “Creating a SetProperty Method” on page 177• “Creati

Page 76

Chapter 7: Creating an Operation 167iTool Developer’s Guide Creating a New Generalized Operationstruct = { ExampleOp, INHERITS IDLitOperation}ENDDiscu

Page 77

168 Chapter 7: Creating an OperationCreating a New Generalized Operation iTool Developer’s GuideNoteBecause iTool operations are invoked by the user’s

Page 78

Chapter 7: Creating an Operation 169iTool Developer’s Guide Creating a New Generalized OperationThis convention is used in all operation classes inclu

Page 79

Part I: Understandingthe iTools ComponentFramework

Page 80 - VALID_RANGE (Get, Set)

170 Chapter 7: Creating an OperationCreating a New Generalized Operation iTool Developer’s Guideself->RegisterProperty, PropertyIdentifier [,TypeCo

Page 81

Chapter 7: Creating an Operation 171iTool Developer’s Guide Creating a New Generalized Operationkeyword values to be handled explicitly in the Init me

Page 82 - Intersection

172 Chapter 7: Creating an OperationCreating a New Generalized Operation iTool Developer’s GuideDiscussionSince our operation does not have any instan

Page 83

Chapter 7: Creating an Operation 173iTool Developer’s Guide Creating a New Generalized Operation; Make sure we have a valid iTool object.IF ~ OBJ_VALI

Page 84 - Property Update Mechanism

174 Chapter 7: Creating an OperationCreating a New Generalized Operation iTool Developer’s GuideENDDiscussionThe ExampleOp operation DoAction method d

Page 85

Chapter 7: Creating an Operation 175iTool Developer’s Guide Creating a New Generalized OperationoTargets[i]->GetProperty, STYLE = styleIndex; Add t

Page 86

176 Chapter 7: Creating an OperationCreating a New Generalized Operation iTool Developer’s GuideRETURN, 1ENDDiscussionThe ExampleOp operation RecordFi

Page 87 - Part II: Using the

Chapter 7: Creating an Operation 177iTool Developer’s Guide Creating a New Generalized OperationIn this example, there are no properties specific to t

Page 88

178 Chapter 7: Creating an OperationCreating a New Generalized Operation iTool Developer’s GuideCreating an UndoOperation MethodThe operation class Un

Page 89 - Creating an iTool

Chapter 7: Creating an Operation 179iTool Developer’s Guide Creating a New Generalized OperationNoteThe UndoOperation method could also have been impl

Page 91 - Creating a New iTool Class

180 Chapter 7: Creating an OperationCreating a New Generalized Operation iTool Developer’s Guide3. For each command object, retrieve the identifier st

Page 92 - PRO FirstExampleTool__Define

Chapter 7: Creating an Operation 181iTool Developer’s Guide Operations and MacrosOperations and MacrosThe concept of a macro was introduced to the iTo

Page 93

182 Chapter 7: Creating an OperationRegistering an Operation iTool Developer’s GuideRegistering an OperationBefore an operation can be performed by an

Page 94

Chapter 7: Creating an Operation 183iTool Developer’s Guide Registering an OperationICONA string value giving the name of an icon to be associated wit

Page 95 - Registering Visualizations

184 Chapter 7: Creating an OperationUnregistering an Operation iTool Developer’s GuideUnregistering an OperationIf you are creating a new iTool from a

Page 96 - Registering Operations

Chapter 7: Creating an Operation 185iTool Developer’s Guide Unregistering an OperationAlternatively, to generate a list of relative identifiers for al

Page 97 - Registering Manipulators

186 Chapter 7: Creating an OperationExample: Data Resample Operation iTool Developer’s GuideExample: Data Resample OperationThis example creates a dat

Page 98 - WriterType_Class_Name

Chapter 7: Creating an Operation 187iTool Developer’s Guide Example: Data Resample OperationInit MethodFUNCTION example1_opresample::Init, _REF_EXTRA

Page 99

188 Chapter 7: Creating an OperationExample: Data Resample Operation iTool Developer’s GuideNext, we call the Init method of the superclass. In this c

Page 100 - Unregistering Components

Chapter 7: Creating an Operation 189iTool Developer’s Guide Example: Data Resample OperationINTERP = interp, CUBIC = cubic); CONGRID always uses linea

Page 101 - Registering a New Tool Class

iTool Developer’s Guide 19Chapter 2iTool System ArchitectureThis chapter describes the iTool component framework architecture.Overview of the iTool Sy

Page 102

190 Chapter 7: Creating an OperationExample: Data Resample Operation iTool Developer’s GuideIF ARG_PRESENT(y) THEN $y = self._yIF ARG_PRESENT(z) THEN

Page 103 - Keywords

Chapter 7: Creating an Operation 191iTool Developer’s Guide Example: Data Resample Operationself->IDLitDataOperation::SetProperty, _EXTRA = _extraE

Page 104 - Creating Data Objects

192 Chapter 7: Creating an OperationExample: Data Resample Operation iTool Developer’s Guide

Page 105 - Handling Errors

iTool Developer’s Guide 193Chapter 8Creating a ManipulatorThis chapter describes creating a custom manipulator. See the following topics for details.

Page 106 - Creating an iTool Instance

194 Chapter 8: Creating a ManipulatorOverview of iTool Manipulators iTool Developer’s GuideOverview of iTool ManipulatorsA manipulator is an iTool com

Page 107

Chapter 8: Creating a Manipulator 195iTool Developer’s Guide Overview of iTool ManipulatorsNoteA manipulator need not always be interactively selected

Page 108 - Example: Simple iTool

196 Chapter 8: Creating a ManipulatorOverview of iTool Manipulators iTool Developer’s GuideWhen you initialize a manipulator, you can define the type

Page 109

Chapter 8: Creating a Manipulator 197iTool Developer’s Guide The Manipulator Creation ProcessThe Manipulator Creation ProcessTo create a new iTool man

Page 110 - Launch Routine

198 Chapter 8: Creating a ManipulatorPredefined iTool Manipulators iTool Developer’s GuidePredefined iTool ManipulatorsThe iTool system distributed wi

Page 111 - Launch Routine Discussion

Chapter 8: Creating a Manipulator 199iTool Developer’s Guide Predefined iTool Manipulators• IDLitAnnotateOval — adds an oval to the iTool window• IDLi

Page 112 - "Example 1 Tool"

Restricted Rights NoticeThe IDL®, IDL Analyst™, ENVI®, and ENVI Zoom™ software programs and the accompanying procedures, functions, and documentation

Page 113 - Creating a Visualization

20 Chapter 2: iTool System ArchitectureOverview of the iTool System Architecture iTool Developer’s GuideOverview of the iTool System ArchitectureThe i

Page 114

200 Chapter 8: Creating a ManipulatorPredefined iTool Manipulators iTool Developer’s GuideIDLitManipROIFree The freehand ROI manipulator draws a freeh

Page 115 - IDLitVisHistogram

Chapter 8: Creating a Manipulator 201iTool Developer’s Guide Predefined iTool ManipulatorsNoteThis manipulator is not to be confused with the Operatio

Page 116 - IDLitVisIsosurface

202 Chapter 8: Creating a ManipulatorManipulators and the Undo/Redo System iTool Developer’s GuideManipulators and the Undo/Redo SystemA manipulator c

Page 117 - IDLitVisMapGrid

Chapter 8: Creating a Manipulator 203iTool Developer’s Guide Manipulators and the Undo/Redo SystemCapturing Information for the Undo/Redo SystemThe in

Page 118 - IDLitVisPolygon

204 Chapter 8: Creating a ManipulatorUsing Manipulator Public Instance Data iTool Developer’s GuideUsing Manipulator Public Instance DataThe IDLitMani

Page 119 - IDLitVisShapePolyline

Chapter 8: Creating a Manipulator 205iTool Developer’s Guide Using Manipulator Public Instance DataUsing the nSelectionList Field The nSelectionList f

Page 120 - IDLitVisVolume

206 Chapter 8: Creating a ManipulatorCreating a New Manipulator iTool Developer’s GuideCreating a New ManipulatorThe manipulator class definition file

Page 121 - ObjectClass

Chapter 8: Creating a Manipulator 207iTool Developer’s Guide Creating a New ManipulatorCreating the Manipulator Class Structure Definition When any ID

Page 122

208 Chapter 8: Creating a ManipulatorCreating a New Manipulator iTool Developer’s GuideINHERITS IDLitManipulator, $ SuperclassoImage: OBJ_NEW(), $ Tar

Page 123 - Creating an Init Method

Chapter 8: Creating a Manipulator 209iTool Developer’s Guide Creating a New Manipulatorwhether keywords not explicitly handled by your method will be

Page 124 - Superclass Initialization

Chapter 2: iTool System Architecture 21iTool Developer’s Guide iTools Object Model DiagramiTools Object Model DiagramThe following figure shows inheri

Page 125 - Registering Properties

210 Chapter 8: Creating a ManipulatorCreating a New Manipulator iTool Developer’s GuideRETURN, 0This convention is used in all manipulator classes inc

Page 126 - Object_Reference

Chapter 8: Creating a Manipulator 211iTool Developer’s Guide Creating a New ManipulatorFUNCTION ExampleManip::Init, _REF_EXTRA = _extra; Initialize th

Page 127 - Setting Property Attributes

212 Chapter 8: Creating a ManipulatorCreating a New Manipulator iTool Developer’s Guide• The TRANSIENT_DEFAULT keyword indicates that this manipulator

Page 128 - Example Init Method

Chapter 8: Creating a Manipulator 213iTool Developer’s Guide Creating a New Manipulatorrequired. It is always safest, however, to create a Cleanup met

Page 129

214 Chapter 8: Creating a ManipulatorCreating a New Manipulator iTool Developer’s Guideup initial values required for manipulator actions. If your man

Page 130 - Creating a Cleanup Method

Chapter 8: Creating a Manipulator 215iTool Developer’s Guide Creating a New Manipulatorto determine whether a button is pressed during mouse motion, o

Page 131 - Creating a GetProperty Method

216 Chapter 8: Creating a ManipulatorCreating a New Manipulator iTool Developer’s Guide“IDLitManipulator::OnMouseMotion” (IDL Reference Guide) for det

Page 132 - Creating a SetProperty Method

Chapter 8: Creating a Manipulator 217iTool Developer’s Guide Creating a New ManipulatorIf the manipulator supports undo/redo functionality, call Recor

Page 133 - _extra structure

218 Chapter 8: Creating a ManipulatorCreating a New Manipulator iTool Developer’s Guidescroll wheel event is processed — the magnitude of the Delta pa

Page 134

Chapter 8: Creating a Manipulator 219iTool Developer’s Guide Creating a New Manipulator ; the retrieved IDLitVisImage object. self.oImage = (*self

Page 135 - ExampleVis

22 Chapter 2: iTool System ArchitectureiTools Object Model Diagram iTool Developer’s GuideEvery iTool is constructed using the hierarchy of predefined

Page 136 - Specifying Useful Properties

220 Chapter 8: Creating a ManipulatorCreating a New Manipulator iTool Developer’s Guideincludes the IDLitManpulator::RegisterCursor method. Call this

Page 137

Chapter 8: Creating a Manipulator 221iTool Developer’s Guide Creating a New ManipulatorDiscussionThis DoRegisterCursor method defines a 16-element str

Page 138 - Finding the Identifier String

222 Chapter 8: Creating a ManipulatorCreating a New Manipulator iTool Developer’s GuidePRO ExampleManip::SetProperty, _REF_EXTRA = _extraIF (N_ELEMENT

Page 139

Chapter 8: Creating a Manipulator 223iTool Developer’s Guide Registering a ManipulatorRegistering a ManipulatorBefore a manipulator can be activated b

Page 140 - Class Definition File

224 Chapter 8: Creating a ManipulatorRegistering a Manipulator iTool Developer’s GuideICON A string value giving the name of an icon to be associated

Page 141 - Init Method

Chapter 8: Creating a Manipulator 225iTool Developer’s Guide Unregistering a ManipulatorUnregistering a ManipulatorIf you are creating a new iTool fro

Page 142 - OnDataChangeUpdate Method

226 Chapter 8: Creating a ManipulatorExample: Color Table Manipulator iTool Developer’s GuideExample: Color Table ManipulatorThe following example cre

Page 143

Chapter 8: Creating a Manipulator 227iTool Developer’s Guide Example: Color Table ManipulatorThis example creates three files: • Manipulator Class Def

Page 144 - OnDataDisconnect Method

228 Chapter 8: Creating a ManipulatorExample: Color Table Manipulator iTool Developer’s GuideExample CodeThe class definition code for this example to

Page 145 - Creating an Operation

iTool Developer’s Guide 229Chapter 9Creating a File ReaderThis chapter describes the process of creating an iTool file reader.Overview of iTool File R

Page 146

Chapter 2: iTool System Architecture 23iTool Developer’s Guide iTools Object Model Diagramfor additional information about iTools code and the differe

Page 147

230 Chapter 9: Creating a File ReaderOverview of iTool File Readers iTool Developer’s GuideOverview of iTool File ReadersA file reader is an iTool com

Page 148 - Predefined iTool Operations

Chapter 9: Creating a File Reader 231iTool Developer’s Guide Predefined iTool File ReadersPredefined iTool File ReadersThe iTool system distributed wi

Page 149

232 Chapter 9: Creating a File ReaderPredefined iTool File Readers iTool Developer’s GuideRegistered PropertiesNoneIDLitReadISVThe iTools Saved Variab

Page 150 - Data-Centric Operations

Chapter 9: Creating a File Reader 233iTool Developer’s Guide Predefined iTool File ReadersRegistered PropertiesNoneIDLitReadPNGThe iTools PNG file rea

Page 151 - Generalized Operations

234 Chapter 9: Creating a File ReaderCreating a New File Reader iTool Developer’s GuideCreating a New File ReaderAn iTool file reader class definition

Page 152

Chapter 9: Creating a File Reader 235iTool Developer’s Guide Creating a New File ReaderSee “IDLitReader” (IDL Reference Guide) for details on the meth

Page 153

236 Chapter 9: Creating a File ReaderCreating a New File Reader iTool Developer’s Guide• return the value 1 if the initialization steps are successful

Page 154

Chapter 9: Creating a File Reader 237iTool Developer’s Guide Creating a New File Reader(indicating failure), the current Init method also immediately

Page 155

238 Chapter 9: Creating a File ReaderCreating a New File Reader iTool Developer’s GuideReturn ValueIf all of the routines and methods used in the Init

Page 156 - SomeOperationClass

Chapter 9: Creating a File Reader 239iTool Developer’s Guide Creating a New File ReaderPassing Through Caller-Supplied Property SettingsIf you have in

Page 157

24 Chapter 2: iTool System ArchitectureiTools Object Model Diagram iTool Developer’s Guideon included functionality. See the iTool User’s Guide for in

Page 158

240 Chapter 9: Creating a File ReaderCreating a New File Reader iTool Developer’s Guide2. Returns the integer 1, indicating successful initialization.

Page 159 - Creating an Execute Method

Chapter 9: Creating a File Reader 241iTool Developer’s Guide Creating a New File ReaderNoteAny property registered with a call to the RegisterProperty

Page 160 - ) ? 0b : MIN(data)

242 Chapter 9: Creating a File ReaderCreating a New File Reader iTool Developer’s GuideNoteAny property registered with a call to the RegisterProperty

Page 161

Chapter 9: Creating a File Reader 243iTool Developer’s Guide Creating a New File ReaderExample IsA MethodFUNCTION ExampleReader::IsA, strFilenameiDot

Page 162

244 Chapter 9: Creating a File ReaderCreating a New File Reader iTool Developer’s Guide; Get the name of the file currently associated with the reader

Page 163 - Example SetProperty Method

Chapter 9: Creating a File Reader 245iTool Developer’s Guide Registering a File ReaderRegistering a File ReaderBefore a file reader can be used by an

Page 164

246 Chapter 9: Creating a File ReaderUnregistering a File Reader iTool Developer’s GuideUnregistering a File ReaderIf you are creating a new iTool fro

Page 165 - Creating an IDLitOperation

Chapter 9: Creating a File Reader 247iTool Developer’s Guide Unregistering a File ReaderSTRMID(frlist[i], STRPOS(frlist[i], '/', /REVERSE_SE

Page 166

248 Chapter 9: Creating a File ReaderExample: TIFF File Reader iTool Developer’s GuideExample: TIFF File ReaderThis example creates a file reader to r

Page 167

Chapter 9: Creating a File Reader 249iTool Developer’s Guide Example: TIFF File ReaderInit MethodFUNCTION example1_readtiff::Init, _REF_EXTRA = _extra

Page 168

Chapter 2: iTool System Architecture 25iTool Developer’s Guide iTools Object Model DiagramIDLitWriter ClassesThe IDLitWriter class contains predefined

Page 169

250 Chapter 9: Creating a File ReaderExample: TIFF File Reader iTool Developer’s GuideFinally, we return the value 1 to indicate successful initializa

Page 170

Chapter 9: Creating a File Reader 251iTool Developer’s Guide Example: TIFF File ReaderRETURN, resultENDDiscussionThe GetData method for our TIFF file

Page 171

252 Chapter 9: Creating a File ReaderExample: TIFF File Reader iTool Developer’s GuideENDDiscussionThe GetProperty method for our TIFF file reader sup

Page 172 - Creating a DoAction Method

iTool Developer’s Guide 253Chapter 10Creating a File WriterThis chapter describes the process of creating an iTool file writer.Overview of iTool File

Page 173

254 Chapter 10: Creating a File WriterOverview of iTool File Writers iTool Developer’s GuideOverview of iTool File WritersA file writer is an iTool co

Page 174

Chapter 10: Creating a File Writer 255iTool Developer’s Guide Predefined iTool File WritersPredefined iTool File WritersThe iTool system distributed w

Page 175

256 Chapter 10: Creating a File WriterPredefined iTool File Writers iTool Developer’s GuideIDLitWriteEMFThe iTools EMF file writer uses the iTools sys

Page 176

Chapter 10: Creating a File Writer 257iTool Developer’s Guide Predefined iTool File Writersgood quality. Lower values of QUALITY produce higher compre

Page 177

258 Chapter 10: Creating a File WriterCreating a New File Writer iTool Developer’s GuideCreating a New File WriterThe process of creating an visualiza

Page 178 - Example UndoOperation Method

Chapter 10: Creating a File Writer 259iTool Developer’s Guide Creating a New File WriterExample Class Structure DefinitionThe following is the class s

Page 179 - Example RedoOperation Method

26 Chapter 2: iTool System ArchitectureiTools Object Model Diagram iTool Developer’s GuideIDLitManipulator ClassesThe IDLitManipulator class allows th

Page 180

260 Chapter 10: Creating a File WriterCreating a New File Writer iTool Developer’s GuideDefinition of the Init FunctionBegin by defining the argument

Page 181 - Operations and Macros

Chapter 10: Creating a File Writer 261iTool Developer’s Guide Creating a New File WriterThis convention is used in all file writer classes included wi

Page 182 - Registering an Operation

262 Chapter 10: Creating a File WriterCreating a New File Writer iTool Developer’s GuideReturn ValueIf all of the routines and methods used in the Ini

Page 183

Chapter 10: Creating a File Writer 263iTool Developer’s Guide Creating a New File WriterPassing Through Caller-Supplied Property SettingsIf you have i

Page 184 - Unregistering an Operation

264 Chapter 10: Creating a File WriterCreating a New File Writer iTool Developer’s Guideinheritance mechanism to pass through any keywords provided wh

Page 185

Chapter 10: Creating a File Writer 265iTool Developer’s Guide Creating a New File WriterNoteAny property registered with a call to the RegisterPropert

Page 186

266 Chapter 10: Creating a File WriterCreating a New File Writer iTool Developer’s GuideNoteAny property registered with a call to the RegisterPropert

Page 187

Chapter 10: Creating a File Writer 267iTool Developer’s Guide Creating a New File WriterExample SetData MethodFUNCTION ExampleWriter::SetData, oImageD

Page 188 - Execute Method

268 Chapter 10: Creating a File WriterCreating a New File Writer iTool Developer’s GuideTITLE = 'Error', SEVERITY = 2RETURN, 0 ; failureENDI

Page 189 - GetProperty Method

Chapter 10: Creating a File Writer 269iTool Developer’s Guide Registering a File WriterRegistering a File WriterBefore a file writer can be used by an

Page 190 - SetProperty Method

Chapter 2: iTool System Architecture 27iTool Developer’s Guide iTools Object Model Diagram• IDLgrPlot • IDLgrText• IDLgrPolygon • IDLgrVolume

Page 191

270 Chapter 10: Creating a File WriterUnregistering a File Writer iTool Developer’s GuideUnregistering a File WriterIf you are creating a new iTool fr

Page 192

Chapter 10: Creating a File Writer 271iTool Developer’s Guide Unregistering a File WriterSTRMID(fwlist[i], STRPOS(fwlist[i], '/', /REVERSE_S

Page 193 - Creating a Manipulator

272 Chapter 10: Creating a File WriterExample: TIFF File Writer iTool Developer’s GuideExample: TIFF File WriterThis example creates a file writer to

Page 194

Chapter 10: Creating a File Writer 273iTool Developer’s Guide Example: TIFF File WriterIF (self->IDLitWriter::Init('tiff', $TYPES=['

Page 195 - Manipulator Visuals

274 Chapter 10: Creating a File WriterExample: TIFF File Writer iTool Developer’s GuideRETURN, 0 ; failure; Make sure that the object passed to this m

Page 196

Chapter 10: Creating a File Writer 275iTool Developer’s Guide Example: TIFF File WriterRETURN, 1 ; successENDDiscussionThe SetData method accepts an

Page 197

276 Chapter 10: Creating a File WriterExample: TIFF File Writer iTool Developer’s Guide

Page 198 - Predefined iTool Manipulators

Part III: Modifying theiTool User Interface

Page 200 - Surface Manipulators

iTool Developer’s Guide 279Chapter 11iTool User Interface ArchitectureThis chapter provides an overview of the iTool user interface architecture.Overv

Page 201 - Volume Manipulators

28 Chapter 2: iTool System ArchitectureiTool Object Identifiers iTool Developer’s GuideiTool Object IdentifiersiTool object identifiers are simple str

Page 202

280 Chapter 11: iTool User Interface ArchitectureOverview of iTool Interface Architecture iTool Developer’s GuideOverview of iTool Interface Architect

Page 203 - The CommitUndoValues Method

Chapter 11: iTool User Interface Architecture 281iTool Developer’s Guide Overview of iTool Interface ArchitectureiImage tools provide examples of a pa

Page 204 - Using the ButtonPress Field

282 Chapter 11: iTool User Interface ArchitectureUser Interface Objects iTool Developer’s GuideUser Interface ObjectsThe iTool user interface object i

Page 205

Chapter 11: iTool User Interface Architecture 283iTool Developer’s Guide User Interface ObjectsWidget Registration MethodsThe IDLitUI::RegisterWidget

Page 206 - Creating a New Manipulator

284 Chapter 11: iTool User Interface ArchitectureUser Interface Objects iTool Developer’s Guide

Page 207

iTool Developer’s Guide 285Chapter 12Using iTool User Interface ElementsThis chapter describes user interface elements that can be incorporated into a

Page 208 - The Manipulator Init Function

286 Chapter 12: Using iTool User Interface ElementsThe iTools Feedback Mechanism iTool Developer’s GuideThe iTools Feedback MechanismThe IDLitIMessagi

Page 209

Chapter 12: Using iTool User Interface Elements 287iTool Developer’s Guide Status MessagesStatus MessagesStatus messages are simple text messages disp

Page 210

288 Chapter 12: Using iTool User Interface ElementsStatus Messages iTool Developer’s GuideIn the standard set of iTools provided with IDL, the probe s

Page 211

Chapter 12: Using iTool User Interface Elements 289iTool Developer’s Guide PromptsPromptsPrompts solicit information from the user. Prompts are genera

Page 212

Chapter 2: iTool System Architecture 29iTool Developer’s Guide iTool Object IdentifiersSimilarly, the identifier stringOPERATIONS/FILTERS/MY FILTERref

Page 213 - Creating Mouse Event Methods

290 Chapter 12: Using iTool User Interface ElementsPrompts iTool Developer’s GuidePromptUserTextThe IDLitIMessaging::PromptUserText method displays a

Page 214

Chapter 12: Using iTool User Interface Elements 291iTool Developer’s Guide Informational MessagesInformational MessagesInformational Messages inform t

Page 215

292 Chapter 12: Using iTool User Interface ElementsInformational Messages iTool Developer’s Guide

Page 216 - Creating an OnWheel Method

iTool Developer’s Guide 293Chapter 13Creating a User Interface ServiceThis chapter describes the process of creating a user interface service.Overview

Page 217 - Example OnWheel Method

294 Chapter 13: Creating a User Interface ServiceOverview of the iTool UI Service iTool Developer’s GuideOverview of the iTool UI ServiceA UI service

Page 218 - Creating an OnKeyboard Method

Chapter 13: Creating a User Interface Service 295iTool Developer’s Guide Predefined iTool UI ServicesPredefined iTool UI ServicesThe iTool system dist

Page 219

296 Chapter 13: Creating a User Interface ServicePredefined iTool UI Services iTool Developer’s GuideExampleRETURN, oTool->DoUIService('Proper

Page 220

Chapter 13: Creating a User Interface Service 297iTool Developer’s Guide Creating a New UI ServiceCreating a New UI ServiceA user interface service is

Page 221 - ExampleManip operation:

298 Chapter 13: Creating a User Interface ServiceCreating a New UI Service iTool Developer’s GuideReturn ValueThe user interface service routine shoul

Page 222

Chapter 13: Creating a User Interface Service 299iTool Developer’s Guide Creating a New UI ServiceDisplaying the User InterfaceIf the user interface b

Page 223 - Registering a Manipulator

iTool Developer’s Guide 3ContentsChapter 1Overview of iTools ... 9What

Page 224

30 Chapter 2: iTool System ArchitectureiTool Object Identifiers iTool Developer’s GuideProxy IdentifiersBecause the location of an object in the iTool

Page 225 - Unregistering a Manipulator

300 Chapter 13: Creating a User Interface ServiceCreating a New UI Service iTool Developer’s GuideExampleThe following example routine is the full def

Page 226

Chapter 13: Creating a User Interface Service 301iTool Developer’s Guide Creating a New UI ServicePlace data collected by the user interface in the fu

Page 227

302 Chapter 13: Creating a User Interface ServiceRegistering a UI Service iTool Developer’s GuideRegistering a UI ServiceBefore a user interface servi

Page 228

Chapter 13: Creating a User Interface Service 303iTool Developer’s Guide Registering a UI ServiceExampleSuppose you have a UI service definition file

Page 229 - Creating a File Reader

304 Chapter 13: Creating a User Interface ServiceExecuting a User Interface Service iTool Developer’s GuideExecuting a User Interface ServiceOnce you

Page 230

Chapter 13: Creating a User Interface Service 305iTool Developer’s Guide Example: Changing a Property ValueExample: Changing a Property ValueThis exam

Page 231 - Predefined iTool File Readers

306 Chapter 13: Creating a User Interface ServiceExample: Changing a Property Value iTool Developer’s Guide; a new name.newName = wdSrvExample(NAME =

Page 232 - IDLitReadPICT

Chapter 13: Creating a User Interface Service 307iTool Developer’s Guide Example: Changing a Property Value; Create the dialog.wBase = WIDGET_BASE(/CO

Page 233 - IDLitReadWAV

308 Chapter 13: Creating a User Interface ServiceExample: Changing a Property Value iTool Developer’s GuideDiscussionIt is beyond the scope of this ch

Page 234 - Creating a New File Reader

Chapter 13: Creating a User Interface Service 309iTool Developer’s Guide Example: Changing a Property ValueDiscussionWhen the user clicks the OK butto

Page 235

Chapter 2: iTool System Architecture 31iTool Developer’s Guide iTool Object HierarchyiTool Object HierarchyThe iTool system is a collection of object

Page 236

310 Chapter 13: Creating a User Interface ServiceExample: Changing a Property Value iTool Developer’s GuidePRO opName__definestruct = {opName, $inheri

Page 237 - Extensions

iTool Developer’s Guide 311Chapter 14Creating a User Interface PanelThis chapter describes the process of creating a user interface panel.Overview of

Page 238

312 Chapter 14: Creating a User Interface PanelOverview of the iTool UI Panel iTool Developer’s GuideOverview of the iTool UI PanelA UI Panel is a col

Page 239

Chapter 14: Creating a User Interface Panel 313iTool Developer’s Guide Creating a UI Panel InterfaceCreating a UI Panel InterfaceIt is beyond the scop

Page 240

314 Chapter 14: Creating a User Interface PanelCreating a UI Panel Interface iTool Developer’s GuideUse the widget ID of the panel widget to set the t

Page 241

Chapter 14: Creating a User Interface Panel 315iTool Developer’s Guide Creating a UI Panel InterfaceAdding ObserversFor notification messages to be pa

Page 242 - Creating an IsA Method

316 Chapter 14: Creating a User Interface PanelCreating a UI Panel Interface iTool Developer’s Guide|- Base widget|- other widgetsSince the widget ID

Page 243 - Creating a GetData Method

Chapter 14: Creating a User Interface Panel 317iTool Developer’s Guide Creating a UI Panel InterfaceThe following statement retrieves an array of obje

Page 244

318 Chapter 14: Creating a User Interface PanelCreating Callback Routines iTool Developer’s GuideCreating Callback RoutinesUser interface panel callba

Page 245 - Registering a File Reader

Chapter 14: Creating a User Interface Panel 319iTool Developer’s Guide Creating Callback RoutinesFor example, if you have saved a state structure cont

Page 246 - Unregistering a File Reader

32 Chapter 2: iTool System ArchitectureiTool Object Hierarchy iTool Developer’s Guide/TOOLSThis container holds references to all active iTools./CLIPB

Page 247

320 Chapter 14: Creating a User Interface PanelRegistering a UI Panel iTool Developer’s GuideRegistering a UI PanelUser interface panels are registere

Page 248 - Example: TIFF File Reader

Chapter 14: Creating a User Interface Panel 321iTool Developer’s Guide Registering a UI PanelTo set the TYPE property of a visualization, use a statem

Page 249

322 Chapter 14: Creating a User Interface PanelExample: A Simple UI Panel iTool Developer’s GuideExample: A Simple UI PanelThe following example creat

Page 250 - GetData Method

Chapter 14: Creating a User Interface Panel 323iTool Developer’s Guide Example: A Simple UI Paneldistribution. Run the example procedure by entering e

Page 251

324 Chapter 14: Creating a User Interface PanelExample: A Simple UI Panel iTool Developer’s GuideoUI->AddOnNotifyObserver, strObserverIdentifier, i

Page 252

Chapter 14: Creating a User Interface Panel 325iTool Developer’s Guide Example: A Simple UI Panel• The example uses the GetTool method of the IDLitUI

Page 253 - Creating a File Writer

326 Chapter 14: Creating a User Interface PanelExample: A Simple UI Panel iTool Developer’s GuideoTargets = state.oTool->GetSelectedItems(count = n

Page 254

Chapter 14: Creating a User Interface Panel 327iTool Developer’s Guide Example: A Simple UI Panel• Use the DoSetProperty method of the IDLitTool objec

Page 255 - Predefined iTool File Writers

328 Chapter 14: Creating a User Interface PanelExample: A Simple UI Panel iTool Developer’s GuideoSel = state.oTool->GetSelectedItems()oSel = oSel[

Page 256 - IDLitWriteJPEG

Chapter 14: Creating a User Interface Panel 329iTool Developer’s Guide Example: A Simple UI Panel1. The UI panel must be registered, using the ITREGIS

Page 257 - IDLitWriteTIFF

Chapter 2: iTool System Architecture 33iTool Developer’s Guide iTool Object HierarchyiTool ObjectsIndividual iTool tool objects contain all objects th

Page 258 - Creating a New File Writer

330 Chapter 14: Creating a User Interface PanelExample: A Simple UI Panel iTool Developer’s Guide

Page 259

iTool Developer’s Guide 331Chapter 15Creating a Custom iTool Widget InterfaceThis chapter describes the process of creating an iTool user interface us

Page 260

332 Chapter 15: Creating a Custom iTool Widget InterfaceAbout Custom iTool Widget Interfaces iTool Developer’s GuideAbout Custom iTool Widget Interfac

Page 261

Chapter 15: Creating a Custom iTool Widget Interface 333iTool Developer’s Guide About Custom iTool Widget Interfacesthe traditional draw widget with a

Page 262

334 Chapter 15: Creating a Custom iTool Widget InterfaceAbout Custom iTool Widget Interfaces iTool Developer’s Guide• Use of the iTool compound widget

Page 263

Chapter 15: Creating a Custom iTool Widget Interface 335iTool Developer’s Guide Overview of Creating an iTool InterfaceOverview of Creating an iTool I

Page 264

336 Chapter 15: Creating a Custom iTool Widget InterfaceOverview of Creating an iTool Interface iTool Developer’s GuideCreate Event HandlersWhile you

Page 265

Chapter 15: Creating a Custom iTool Widget Interface 337iTool Developer’s Guide Overview of Creating an iTool Interface• Registers your custom user in

Page 266 - Creating a SetData Method

338 Chapter 15: Creating a Custom iTool Widget InterfaceiTool Widget Interface Concepts iTool Developer’s GuideiTool Widget Interface ConceptsIt is be

Page 267 - Example SetData Method

Chapter 15: Creating a Custom iTool Widget Interface 339iTool Developer’s Guide iTool Widget Interface Concepts• require an object reference to an iTo

Page 268

34 Chapter 2: iTool System ArchitectureiTool Object Hierarchy iTool Developer’s GuideiTool. Default properties of file readers can be set interactivel

Page 269 - Registering a File Writer

340 Chapter 15: Creating a Custom iTool Widget InterfaceCreating the Interface Routine iTool Developer’s GuideCreating the Interface RoutineThe IDL pr

Page 270 - Unregistering a File Writer

Chapter 15: Creating a Custom iTool Widget Interface 341iTool Developer’s Guide Creating the Interface RoutineError CheckingSince the successful creat

Page 271

342 Chapter 15: Creating a Custom iTool Widget InterfaceCreating the Interface Routine iTool Developer’s Guidecompound widgets, we include the followi

Page 272 - Example: TIFF File Writer

Chapter 15: Creating a Custom iTool Widget Interface 343iTool Developer’s Guide Creating the Interface RoutineWIDGET_CONTROL, wChild, KILL_NOTIFY = &q

Page 273 - SetData Method

344 Chapter 15: Creating a Custom iTool Widget InterfaceAdding Menus iTool Developer’s GuideAdding MenusiTool menus are created using the CW_ITMENU co

Page 274

Chapter 15: Creating a Custom iTool Widget Interface 345iTool Developer’s Guide Adding Menus1. If you register a new operation in one of the standard

Page 275 - RETURN, 1 ; success

346 Chapter 15: Creating a Custom iTool Widget InterfaceAdding a Toolbar iTool Developer’s GuideAdding a ToolbariTool toolbars are created using the C

Page 276

Chapter 15: Creating a Custom iTool Widget Interface 347iTool Developer’s Guide Adding a Toolbarin the Operations/File container: New, Open, Save, and

Page 277 - Part III: Modifying the

348 Chapter 15: Creating a Custom iTool Widget InterfaceAdding an iTool Window iTool Developer’s GuideAdding an iTool WindowAn iTool drawable area, or

Page 278

Chapter 15: Creating a Custom iTool Widget Interface 349iTool Developer’s Guide Adding an iTool Window• by interactively importing new data and creati

Page 279

Chapter 2: iTool System Architecture 35iTool Developer’s Guide iTool Object Hierarchycontainer, the second specifies that it appears in the Operations

Page 280

350 Chapter 15: Creating a Custom iTool Widget InterfaceAdding a Status Bar iTool Developer’s GuideAdding a Status BariTool status bars are created us

Page 281

Chapter 15: Creating a Custom iTool Widget Interface 351iTool Developer’s Guide Adding a User Interface PanelAdding a User Interface PaneliTool user i

Page 282 - User Interface Objects

352 Chapter 15: Creating a Custom iTool Widget InterfaceHandling Callbacks iTool Developer’s GuideHandling CallbacksUser interface callback routines a

Page 283 - DoAction Method

Chapter 15: Creating a Custom iTool Widget Interface 353iTool Developer’s Guide Handling CallbacksPRO example2_wdtool_callback, wBase, strID, messageI

Page 284

354 Chapter 15: Creating a Custom iTool Widget InterfaceHandling Resize Events iTool Developer’s GuideHandling Resize EventsIt is beyond the scope of

Page 285 - Interface Elements

Chapter 15: Creating a Custom iTool Widget Interface 355iTool Developer’s Guide Handling Resize Eventshandled based on the layout and desired behavior

Page 286 - The iTools Feedback Mechanism

356 Chapter 15: Creating a Custom iTool Widget InterfaceHandling Shutdown Events iTool Developer’s GuideHandling Shutdown EventsBecause your custom in

Page 287 - Status Messages

Chapter 15: Creating a Custom iTool Widget Interface 357iTool Developer’s Guide Handling Shutdown EventsYour code should not assume that the top-level

Page 288

358 Chapter 15: Creating a Custom iTool Widget InterfaceCreating an iTool Launch Routine iTool Developer’s GuideCreating an iTool Launch RoutineOnce y

Page 289 - PromptUserYesNo

Chapter 15: Creating a Custom iTool Widget Interface 359iTool Developer’s Guide Creating an iTool Launch RoutineITREGISTER, 'Example2_UI', &

Page 290 - PromptUserText

36 Chapter 2: iTool System ArchitectureiTool Object Hierarchy iTool Developer’s GuideDATA SPACEA data space is an iTool component that manages the dat

Page 291 - Informational Messages

360 Chapter 15: Creating a Custom iTool Widget InterfaceExample: a Custom iTool Interface iTool Developer’s GuideExample: a Custom iTool InterfaceThis

Page 292

Chapter 15: Creating a Custom iTool Widget Interface 361iTool Developer’s Guide Example: a Custom iTool InterfaceNoteThe code for this example is prov

Page 293 - Interface Service

362 Chapter 15: Creating a Custom iTool Widget InterfaceExample: a Custom iTool Interface iTool Developer’s Guideyou are not familiar with this concep

Page 294

Chapter 15: Creating a Custom iTool Widget Interface 363iTool Developer’s Guide Example: a Custom iTool InterfaceDiscussionThe FILENAME message and th

Page 295 - Predefined iTool UI Services

364 Chapter 15: Creating a Custom iTool Widget InterfaceExample: a Custom iTool Interface iTool Developer’s GuideTHEN BEGINCW_ITWINDOW_RESIZE, (*pStat

Page 296 - Operation Preview Service

Chapter 15: Creating a Custom iTool Widget Interface 365iTool Developer’s Guide Example: a Custom iTool Interfaceexample2_wdtool_cleanupThe cleanup ro

Page 297 - Creating a New UI Service

366 Chapter 15: Creating a Custom iTool Widget InterfaceExample: a Custom iTool Interface iTool Developer’s Guide; Destroy the widget.'WIDGET_KIL

Page 298 - and yoffset values when

Chapter 15: Creating a Custom iTool Widget Interface 367iTool Developer’s Guide Example: a Custom iTool InterfaceThe WIDGET_KBRD_FOCUS event arrives w

Page 299 - YOFFSET = yoffset)

368 Chapter 15: Creating a Custom iTool Widget InterfaceExample: a Custom iTool Interface iTool Developer’s Guide; Call IPLOT to create a plot of rand

Page 300 - ScaleFactor user

Chapter 15: Creating a Custom iTool Widget Interface 369iTool Developer’s Guide Example: a Custom iTool Interface; Set the THICK property on the plot

Page 301

Chapter 2: iTool System Architecture 37iTool Developer’s Guide iTool Object HierarchyNoteAnnotation numbering is zero-based — that is, the first annot

Page 302 - Registering a UI Service

370 Chapter 15: Creating a Custom iTool Widget InterfaceExample: a Custom iTool Interface iTool Developer’s Guide; Set the COLOR property on the plot

Page 303

Chapter 15: Creating a Custom iTool Widget Interface 371iTool Developer’s Guide Example: a Custom iTool InterfaceENDDiscussionThis routine uses the sa

Page 304 - ScaleFactor user interface

372 Chapter 15: Creating a Custom iTool Widget InterfaceExample: a Custom iTool Interface iTool Developer’s Guide; iTool menubars are created using th

Page 305

Chapter 15: Creating a Custom iTool Widget Interface 373iTool Developer’s Guide Example: a Custom iTool Interface; interface. We create the widget lay

Page 306 - Widget Creation Function

374 Chapter 15: Creating a Custom iTool Widget InterfaceExample: a Custom iTool Interface iTool Developer’s Guidelocation = [(screen[0] - baseGeom.xsi

Page 307

Chapter 15: Creating a Custom iTool Widget Interface 375iTool Developer’s Guide Example: a Custom iTool InterfaceoUI->AddOnNotifyObserver, myID, oT

Page 308 - Event-handling Routines

376 Chapter 15: Creating a Custom iTool Widget InterfaceExample: a Custom iTool Interface iTool Developer’s Guideview the file in an IDL Editor window

Page 309

Chapter 15: Creating a Custom iTool Widget Interface 377iTool Developer’s Guide Example: a Custom iTool InterfaceiTool Launch Routine DiscussionOur iT

Page 310 - Invoking the opName Operation

378 Chapter 15: Creating a Custom iTool Widget InterfaceExample: a Custom iTool Interface iTool Developer’s Guide

Page 311 - Interface Panel

iTool Developer’s Guide 379Appendix AControlling iTools from the IDL Command LineThis appendix describes mechanisms that allow you to control an exist

Page 312 - Creating and Using a UI Panel

38 Chapter 2: iTool System ArchitectureRegistering Components iTool Developer’s GuideRegistering ComponentsRegistering an object class links the file

Page 313 - Creating a UI Panel Interface

380 Appendix A: Controlling iTools from the IDL Command LineOverview of iTool Programmatic Control iTool Developer’s GuideOverview of iTool Programmat

Page 314

Appendix A: Controlling iTools from the IDL Command Line 381iTool Developer’s Guide Retrieving an iTool Object ReferenceRetrieving an iTool Object Ref

Page 315 - Create the Widget Hierarchy

382 Appendix A: Controlling iTools from the IDL Command LineRetrieving Component Identifiers iTool Developer’s GuideRetrieving Component IdentifiersIn

Page 316 - Create Event Handlers

Appendix A: Controlling iTools from the IDL Command Line 383iTool Developer’s Guide Retrieving Component IdentifiersISURFACE, DIST(40)The full object

Page 317

384 Appendix A: Controlling iTools from the IDL Command LineRetrieving Component Identifiers iTool Developer’s Guidewhich is the identifier for the pl

Page 318 - Creating Callback Routines

Appendix A: Controlling iTools from the IDL Command Line 385iTool Developer’s Guide Retrieving Property InformationRetrieving Property InformationWhil

Page 319 - Simple UI Panel” on page 322

386 Appendix A: Controlling iTools from the IDL Command LineRetrieving Property Information iTool Developer’s GuideProperty Attribute InformationKnowi

Page 320 - Registering a UI Panel

Appendix A: Controlling iTools from the IDL Command Line 387iTool Developer’s Guide Retrieving Property InformationIF success THEN PRINT, 'Width

Page 321

388 Appendix A: Controlling iTools from the IDL Command LineRetrieving Property Information iTool Developer’s GuideSHOW_EXECUTION_UI Show dialo

Page 322 - Example: A Simple UI Panel

Appendix A: Controlling iTools from the IDL Command Line 389iTool Developer’s Guide Changing Property ValuesChanging Property ValuesGiven the object i

Page 323 - Panel Creation Routine

Chapter 2: iTool System Architecture 39iTool Developer’s Guide Registering ComponentsiTool except for visualization types, which may have been registe

Page 324

390 Appendix A: Controlling iTools from the IDL Command LineChanging Property Values iTool Developer’s GuideVisualization Browser property sheet. Meth

Page 325 - Panel Event Handler Routine

Appendix A: Controlling iTools from the IDL Command Line 391iTool Developer’s Guide Running OperationsRunning OperationsUse the DoAction method of the

Page 326

392 Appendix A: Controlling iTools from the IDL Command LineRunning Operations iTool Developer’s GuideWhen executing operations using the mechanisms d

Page 327 - Panel Callback Routine

Appendix A: Controlling iTools from the IDL Command Line 393iTool Developer’s Guide Selecting Items in the iToolSelecting Items in the iToolWhen you e

Page 328 - Panel Type Specification

394 Appendix A: Controlling iTools from the IDL Command LineReplacing Data in an iTool iTool Developer’s GuideReplacing Data in an iToolYou can replac

Page 329

Appendix A: Controlling iTools from the IDL Command Line 395iTool Developer’s Guide Replacing Data in an iToolNoteIf the currently-active iTool contai

Page 330

396 Appendix A: Controlling iTools from the IDL Command LineReplacing Data in an iTool iTool Developer’s Guideclass to insert new data into the parame

Page 331 - Creating a Custom

iTool Developer’s Guide 397Appendix BiTool Compound WidgetsThis appendix contains reference documentation for IDL compound widgets used by the iTools.

Page 332

398 Appendix B: iTool Compound WidgetsOverview of iTools Compound Widgets iTool Developer’s GuideOverview of iTools Compound WidgetsThe compound widge

Page 333 - What About Using a UI Panel?

Appendix B: iTool Compound Widgets 399iTool Developer’s Guide CW_ITMENUCW_ITMENUThe CW_ITMENU function creates a top-level pulldown menu compound widg

Page 334 - What You Will Need to Create

4Contents iTool Developer’s GuideRegistering Components ...

Page 335 - Create the Widget Interface

40 Chapter 2: iTool System ArchitectureRegistering Components iTool Developer’s Guidehierarchy in the specified place, but actually calls the original

Page 336 - Create a Cleanup Routine

400 Appendix B: iTool Compound WidgetsCW_ITMENU iTool Developer’s Guideautomatically update itself. The CW_ITMENU widget listens for the following mes

Page 337

Appendix B: iTool Compound Widgets 401iTool Developer’s Guide CW_ITMENUArgumentsParentThe widget ID of the parent for the new menu. The parent must be

Page 338

402 Appendix B: iTool Compound WidgetsCW_ITMENU iTool Developer’s GuideUNAMESet this keyword to a string that can be used to identify the widget in yo

Page 339

Appendix B: iTool Compound Widgets 403iTool Developer’s Guide CW_ITMENUSee AlsoChapter 15, “Creating a Custom iTool Widget Interface”, CW_ITPANEL, CW_

Page 340 - Routine Signature

404 Appendix B: iTool Compound WidgetsCW_ITPANEL iTool Developer’s GuideCW_ITPANELThe CW_ITPANEL function creates an iTool base compound widget that w

Page 341 - User Interface Object

Appendix B: iTool Compound Widgets 405iTool Developer’s Guide CW_ITPANELcall the CW_ITPANEL_RESIZE procedure to specify the new size. The CW_ITPANEL_R

Page 342 - Handling Widget Destruction

406 Appendix B: iTool Compound WidgetsCW_ITPANEL iTool Developer’s GuideNoteThe ORIENTATION keyword does not affect where the panel widget is placed;

Page 343

Appendix B: iTool Compound Widgets 407iTool Developer’s Guide CW_ITPANELWidget Events Returned by the CW_ITPANEL WidgetCW_IT* compound widgets do not

Page 344 - Adding Menus

408 Appendix B: iTool Compound WidgetsCW_ITSTATUSBAR iTool Developer’s GuideCW_ITSTATUSBARThe CW_ITSTATUSBAR function creates an iTool status bar comp

Page 345 - Resizing Menus

Appendix B: iTool Compound Widgets 409iTool Developer’s Guide CW_ITSTATUSBARwhere Widget_ID is the CW_ITSTATUSBAR widget ID, and Xsize is the new widt

Page 346 - Adding a Toolbar

Chapter 2: iTool System Architecture 41iTool Developer’s Guide iTool Messaging SystemiTool Messaging SystemNotifications are messages sent from one iT

Page 347 - Resizing Toolbars

410 Appendix B: iTool Compound WidgetsCW_ITSTATUSBAR iTool Developer’s GuideThe user value for a widget can be accessed and modified at any time by us

Page 348 - Adding an iTool Window

Appendix B: iTool Compound Widgets 411iTool Developer’s Guide CW_ITTOOLBARCW_ITTOOLBARThe CW_ITTOOLBAR function creates a toolbar base compound widget

Page 349 - Resizing iTool Windows

412 Appendix B: iTool Compound WidgetsCW_ITTOOLBAR iTool Developer’s Guideautomatically update itself. The CW_ITTOOLBAR widget listens for the followi

Page 350 - Adding a Status Bar

Appendix B: iTool Compound Widgets 413iTool Developer’s Guide CW_ITTOOLBARSyntaxResult = CW_ITTOOLBAR(Parent, UI, Target [, /EXCLUSIVE] [, ROW=integer

Page 351 - Adding a User Interface Panel

414 Appendix B: iTool Compound WidgetsCW_ITTOOLBAR iTool Developer’s GuideROWSet this keyword equal to an integer specifying the number of rows used f

Page 352 - Handling Callbacks

Appendix B: iTool Compound Widgets 415iTool Developer’s Guide CW_ITTOOLBARWidgetCW_IT* compound widgets do not return widget events. All interaction w

Page 353

416 Appendix B: iTool Compound WidgetsCW_ITWINDOW iTool Developer’s GuideCW_ITWINDOWThe CW_ITWINDOW function creates an iTool draw widget that contain

Page 354 - Handling Resize Events

Appendix B: iTool Compound Widgets 417iTool Developer’s Guide CW_ITWINDOWReturn ValueThis function returns the widget ID of the newly-created iTool dr

Page 355

418 Appendix B: iTool Compound WidgetsCW_ITWINDOW iTool Developer’s GuideVIRTUAL_DIMENSIONSSet this keyword to a two-element vector containing the wid

Page 356 - Handling Shutdown Events

iTool Developer’s Guide 419IndexSymbols_EXTRA keyword, 104AAdd method, 81AddByIdentifier method, 53addingdata to data manager, 53AddOnNotifyObserver m

Page 357 - Calling the Cleanup Routine

42 Chapter 2: iTool System ArchitectureiTool Messaging System iTool Developer’s GuideThe IdOriginator argument is generally the object identifier of a

Page 358 - Use Your User Interface

420Index iTool Developer’s GuideButtonPress, 204Ccallback routinescreating, 318, 352for user interface panel, 312observers, 315registering, 318, 352Cl

Page 359

421iTool Developer’s Guide IndexDESCRIPTION property, 223DESCRIPTION property attribute, 79DoAction methodgeneralized operation, 172running operations

Page 360

422Index iTool Developer’s GuideIDLitReadTIFF, 233IDLitReadWAV, 233predefined, 231preferences, 85registering, 98, 245standard base class, 237unregiste

Page 361

423iTool Developer’s Guide IndexIDLitDataIDLPolyvertex data object, 59IDLitDataIDLVector data object, 60IDLitDataOperationcreating object, 152subclass

Page 362

424Index iTool Developer’s GuideIDLitWriteJPEG file writer, 256IDLitWriteJPEG2000 file writer, 257IDLitWritePICT file writer, 257IDLitWritePNG file wr

Page 363

425iTool Developer’s Guide IndexLlegalities, 2LINESTYLE property data type, 72locatingiTool bitmap resources, 44MmacrosiToolsupport in custom operatio

Page 364

426Index iTool Developer’s GuidePpanel widget, 313parametersdata types, 52, 61defined, 61names, 61registered, 61registering, 125preferencesfile reader

Page 365

427iTool Developer’s Guide Indexreference documentation for iTool classes, 12REGISTER_PROPERTIES keyword, 75registered parameter, 61RegisterFileReader

Page 366 - Discussion

428Index iTool Developer’s GuideTHICKNESS property data type, 73toolbarsiTool, 346trademarks, 2TYPEproperty, 320property attribute, 79TYPES property,

Page 367

429iTool Developer’s Guide IndexIDLitVisPlot, 118IDLitVisPlot3D, 118IDLitVisPlotProfile, 118IDLitVisPolygon, 118IDLitVisPolyline, 119IDLitVisRoi, 119I

Page 368

Chapter 2: iTool System Architecture 43iTool Developer’s Guide iTool Messaging SystemObserversTo watch for notifications from an iTool component, an i

Page 369

430Index iTool Developer’s Guide

Page 370

44 Chapter 2: iTool System ArchitectureSystem Resources iTool Developer’s GuideSystem ResourcesThis section contains information on resources used by

Page 371

Chapter 2: iTool System Architecture 45iTool Developer’s Guide System ResourcesiconPath = path + iconNameThis code uses the ROUTINE_INFO function to r

Page 372

46 Chapter 2: iTool System ArchitectureSystem Resources iTool Developer’s GuideNoteYou must also copy the file <IDL_DIR>/help/itools.xsd into yo

Page 373

Chapter 2: iTool System Architecture 47iTool Developer’s Guide System ResourcesThe book attribute of the <Link> element defines the location of

Page 374

48 Chapter 2: iTool System ArchitectureSystem Resources iTool Developer’s GuideThe value of the <Link> element specifies the specific content to

Page 375

Chapter 2: iTool System Architecture 49iTool Developer’s Guide System ResourcesMyVisType.html to describe it. In order to display your HTML file when

Page 376

5iTool Developer’s Guide ContentsChapter 6Creating a Visualization ... 113Overview

Page 377

50 Chapter 2: iTool System ArchitectureSystem Resources iTool Developer’s Guide

Page 378

iTool Developer’s Guide 51Chapter 3Data ManagementThis chapter describes the iTool data management system.Overview of iTool Data Management . . . . .

Page 379 - Controlling iTools from

52 Chapter 3: Data ManagementOverview of iTool Data Management iTool Developer’s GuideOverview of iTool Data ManagementThe iTools system is designed t

Page 380 - How to Control an iTool

Chapter 3: Data Management 53iTool Developer’s Guide iTool Data ManageriTool Data ManagerData imported into the iTool system is stored in a separate d

Page 381

54 Chapter 3: Data ManagementiTool Data Types iTool Developer’s GuideiTool Data TypesEvery iTool data item (IDLitData object or IDLitDataContainer obj

Page 382 - FindIdentifier Examples

Chapter 3: Data Management 55iTool Developer’s Guide iTool Data TypesTable 3-1 lists the iTool data types defined by the standard iTools included with

Page 383

56 Chapter 3: Data ManagementiTool Data Objects iTool Developer’s GuideiTool Data ObjectsEach item of data used by an iTool must be encapsulated in an

Page 384

Chapter 3: Data Management 57iTool Developer’s Guide iTool Data ObjectsIn this example we do not specify an iTool data type for the data container obj

Page 385

58 Chapter 3: Data ManagementPredefined iTool Data Classes iTool Developer’s GuidePredefined iTool Data ClassesThe iTool system distributed with IDL i

Page 386 - Property Value Information

Chapter 3: Data Management 59iTool Developer’s Guide Predefined iTool Data ClassesIDLitDataIDLImageCreates an IDLitData object of whose TYPE property

Page 387

6Contents iTool Developer’s GuideCreating a New File Reader ...

Page 388

60 Chapter 3: Data ManagementPredefined iTool Data Classes iTool Developer’s GuideRegistered Properties•NoneData Sub-containers• An IDLitData object n

Page 389 - Changing Property Values

Chapter 3: Data Management 61iTool Developer’s Guide ParametersParametersParameters represent data items used in a well-defined way by an algorithm th

Page 390 - Using the SetProperty Method

62 Chapter 3: Data ManagementParameters iTool Developer’s Guidemethod of the IDLitParameter class (of which iTool visualization classes are a subclass

Page 391 - Running Operations

Chapter 3: Data Management 63iTool Developer’s Guide Data Type MatchingData Type MatchingTo understand how the iTool data type matching system works,

Page 392

64 Chapter 3: Data ManagementData Type Matching iTool Developer’s GuideThe Figure 3-1 illustrates this process as a flow diagram.Figure 3-1: Data type

Page 393 - Selecting Items in the iTool

Chapter 3: Data Management 65iTool Developer’s Guide Data Update MechanismData Update MechanismWhen the data contained in a data item changes (usually

Page 394 - Replacing Data in an iTool

66 Chapter 3: Data ManagementData Update Mechanism iTool Developer’s Guide

Page 395 - Using the SetData Method

iTool Developer’s Guide 67Chapter 4Property ManagementThis chapter describes the iTool property interface.About the Properties Interface . . . . . . .

Page 396

68 Chapter 4: Property ManagementAbout the Properties Interface iTool Developer’s GuideAbout the Properties InterfaceObject properties are used to sto

Page 397 - Appendix B

Chapter 4: Property Management 69iTool Developer’s Guide About the Properties Interfaceof visual objects (default line style, colors, etc.), and defau

Page 398

7iTool Developer’s Guide ContentsChapter 14Creating a User Interface Panel ... 311Overview of th

Page 399 - CW_ITMENU

70 Chapter 4: Property ManagementAbout the Properties Interface iTool Developer’s GuideProperty RegistrationIn order for an object property to be disp

Page 400

Chapter 4: Property Management 71iTool Developer’s Guide Property Data TypesProperty Data TypesRegistered properties must be of one of the data types

Page 401

72 Chapter 4: Property ManagementProperty Data Types iTool Developer’s Guide6 LINESTYLE Linestyle properties contain an integer value between 0 and 6,

Page 402 - Version History

Chapter 4: Property Management 73iTool Developer’s Guide Property Data TypesUser Defined Property TypesThe User Defined property type lets you create

Page 403 - See Also

74 Chapter 4: Property ManagementRegistering Properties iTool Developer’s GuideRegistering PropertiesIn order for a property associated with an iTool

Page 404 - CW_ITPANEL

Chapter 4: Property Management 75iTool Developer’s Guide Registering Propertiesself->RegisterProperty, 'FONT_STYLE', $ENUMLIST = ['N

Page 405

76 Chapter 4: Property ManagementRegistering Properties iTool Developer’s Guide2. Use the REGISTER_PROPERTIES keyword when instantiating the graphics

Page 406

Chapter 4: Property Management 77iTool Developer’s Guide Property IdentifiersProperty IdentifiersProperty identifiers are scalar string values that id

Page 407

78 Chapter 4: Property ManagementProperty Attributes iTool Developer’s GuideProperty AttributesProperty attributes are values associated with a proper

Page 408 - CW_ITSTATUSBAR

Chapter 4: Property Management 79iTool Developer’s Guide Property AttributesDESCRIPTION (Get, Set)A string value containing a text description of the

Page 409

8Contents iTool Developer’s GuideAppendix BiTool Compound Widgets ... 397Overview of i

Page 410

80 Chapter 4: Property ManagementProperty Attributes iTool Developer’s Guideof multiple objects are displayed in the property sheet (either because mu

Page 411 - CW_ITTOOLBAR

Chapter 4: Property Management 81iTool Developer’s Guide Property AggregationProperty AggregationThe iTools property aggregation mechanism allows the

Page 412

82 Chapter 4: Property ManagementProperty Aggregation iTool Developer’s Guidemust manually register only the unambiguous property names with each obje

Page 413

Chapter 4: Property Management 83iTool Developer’s Guide Property Aggregationthe property will not be displayed). Selecting an individual aggregated o

Page 414

84 Chapter 4: Property ManagementProperty Update Mechanism iTool Developer’s GuideProperty Update MechanismWhen a user changes the value of a property

Page 415

Chapter 4: Property Management 85iTool Developer’s Guide Properties of the iTools SystemProperties of the iTools SystemiTools system preferences are d

Page 416 - CW_ITWINDOW

86 Chapter 4: Property ManagementProperties of the iTools System iTool Developer’s Guide

Page 417

Part II: Using theiTools ComponentFramework

Page 419

iTool Developer’s Guide 89Chapter 5Creating an iToolThis chapter describes the process of creating an new iTool definition and command-line launch rou

Page 420 - Index iTool Developer’s Guide

iTool Developer’s Guide 9Chapter 1Overview of iToolsThis chapter provides an overview of the IDL iTool Component Framework.What are iTools? . . . . .

Page 421

90 Chapter 5: Creating an iToolOverview of iTool Creation iTool Developer’s GuideOverview of iTool CreationCreating a new iTool using the iTools compo

Page 422

Chapter 5: Creating an iTool 91iTool Developer’s Guide Creating a New iTool ClassCreating a New iTool ClassAn iTool object class definition file must

Page 423

92 Chapter 5: Creating an iToolCreating a New iTool Class iTool Developer’s GuideNoteTo create an iTool that does not include the standard iTool funct

Page 424

Chapter 5: Creating an iTool 93iTool Developer’s Guide Creating a New iTool Classname should be the same as the iTool’s class name — in this case, Fir

Page 425

94 Chapter 5: Creating an iToolCreating a New iTool Class iTool Developer’s GuideNoteAlways use keyword inheritance (the _REF_EXTRA keyword) to pass k

Page 426

Chapter 5: Creating an iTool 95iTool Developer’s Guide Creating a New iTool ClassNoteAlways use keyword inheritance (the _EXTRA keyword) to pass keywo

Page 427

96 Chapter 5: Creating an iToolCreating a New iTool Class iTool Developer’s Guideself->RegisterVisualization, Visualization_Type, $VisType_Class_Na

Page 428

Chapter 5: Creating an iTool 97iTool Developer’s Guide Creating a New iTool Classmenu selection Change My Data in the Filters folder of the iTool Oper

Page 429

98 Chapter 5: Creating an iToolCreating a New iTool Class iTool Developer’s GuideRegistering File Readers and WritersRegistering a file reader or file

Page 430

Chapter 5: Creating an iTool 99iTool Developer’s Guide Creating a New iTool Classspecifies the file writer.bmp located in the home/mydir directory as

Comments to this Manuals

No comments