ITT Rule IDL Version 7.0 Manual do Utilizador

Consulte online ou descarregue Manual do Utilizador para Manuais de software ITT Rule IDL Version 7.0. ITT Rule IDL Version 7.0 User's Manual Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 430
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes

Resumo do Conteúdo

Página 1 - Programming

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

Página 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

Página 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

Página 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

Página 5

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

Página 6

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

Página 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

Página 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

Página 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

Página 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

Página 11

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

Página 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

Página 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

Página 14

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

Página 15 - Framework

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

Página 16

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

Página 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

Página 18

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

Página 19 - Architecture

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

Página 20

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

Página 21

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

Página 22

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

Página 23 - IDLitTool Classes

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

Página 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

Página 25 - IDLitOperation Classes

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

Página 26 - Atomic Graphic Objects

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

Página 27 - • IDLgrPolygon • IDLgrVolume

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

Página 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

Página 29 - Retrieving Identifiers

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

Página 30 - Object Descriptors

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

Página 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

Página 32

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

Página 33

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

Página 34 - OPERATIONS/FILE/OPEN

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

Página 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

Página 36

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

Página 37

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

Página 38 - Registering Components

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

Página 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

Página 40 - TOOLBAR/EDIT/UNDO:

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

Página 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

Página 42 - Notification Messages

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

Página 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

Página 44 - System Resources

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

Página 45 - Help System

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

Página 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

Página 47

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

Página 48

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

Página 49

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

Página 50

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

Página 51 - Data Management

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

Página 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

Página 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

Página 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

Página 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

Página 56 - Data Containers

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

Página 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

Página 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

Página 59 - IDLitDataIDLPolyvertex

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

Página 60 - IDLitDataIDLVector

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

Página 61 - Parameters

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

Página 62 - DataTypeN

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 68 - Properties vs. Preferences

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

Página 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

Página 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,

Página 71

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

Página 72

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

Página 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

Página 74

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

Página 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

Página 76

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

Página 77

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

Página 78

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

Página 79

Part I: Understandingthe iTools ComponentFramework

Página 80 - VALID_RANGE (Get, Set)

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

Página 81

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

Página 82 - Intersection

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

Página 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

Página 84 - Property Update Mechanism

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

Página 85

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

Página 86

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

Página 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

Página 88

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

Página 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

Página 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

Página 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

Página 93

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

Página 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

Página 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

Página 96 - Registering Operations

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

Página 97 - Registering Manipulators

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

Página 98 - WriterType_Class_Name

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

Página 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

Página 100 - Unregistering Components

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

Página 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

Página 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

Página 103 - Keywords

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

Página 104 - Creating Data Objects

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

Página 105 - Handling Errors

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

Página 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

Página 107

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

Página 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

Página 109

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

Página 110 - Launch Routine

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

Página 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

Página 112 - "Example 1 Tool"

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

Página 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

Página 114

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

Página 115 - IDLitVisHistogram

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

Página 116 - IDLitVisIsosurface

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

Página 117 - IDLitVisMapGrid

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

Página 118 - IDLitVisPolygon

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

Página 119 - IDLitVisShapePolyline

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

Página 120 - IDLitVisVolume

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

Página 121 - ObjectClass

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

Página 122

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

Página 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

Página 124 - Superclass Initialization

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

Página 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

Página 126 - Object_Reference

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

Página 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

Página 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

Página 129

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

Página 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

Página 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

Página 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

Página 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

Página 134

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

Página 135 - ExampleVis

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

Página 136 - Specifying Useful Properties

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

Página 137

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

Página 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

Página 139

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

Página 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

Página 141 - Init Method

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

Página 142 - OnDataChangeUpdate Method

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

Página 143

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

Página 144 - OnDataDisconnect Method

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

Página 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

Página 146

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

Página 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

Página 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

Página 149

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

Página 150 - Data-Centric Operations

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

Página 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

Página 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

Página 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

Página 154

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

Página 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

Página 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

Página 157

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

Página 158

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

Página 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

Página 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

Página 161

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 167

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

Página 168

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

Página 169

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

Página 170

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

Página 171

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

Página 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

Página 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

Página 174

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

Página 175

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

Página 176

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

Página 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

Página 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

Página 179 - Example RedoOperation Method

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

Página 180

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

Página 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

Página 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

Página 183

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

Página 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

Página 185

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

Página 186

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

Página 187

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

Página 188 - Execute Method

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

Página 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

Página 190 - SetProperty Method

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

Página 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

Página 192

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

Página 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

Página 194

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

Página 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

Página 196

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

Página 197

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

Página 198 - Predefined iTool Manipulators

Part III: Modifying theiTool User Interface

Página 200 - Surface Manipulators

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

Página 201 - Volume Manipulators

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

Página 202

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

Página 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

Página 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

Página 205

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

Página 206 - Creating a New Manipulator

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

Página 207

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

Página 208 - The Manipulator Init Function

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

Página 209

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

Página 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

Página 211

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

Página 212

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

Página 213 - Creating Mouse Event Methods

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

Página 214

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

Página 215

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

Página 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

Página 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

Página 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

Página 219

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

Página 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

Página 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

Página 222

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

Página 223 - Registering a Manipulator

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

Página 224

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

Página 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

Página 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

Página 227

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

Página 228

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

Página 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

Página 230

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

Página 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 =

Página 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

Página 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

Página 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

Página 235

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

Página 236

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

Página 237 - Extensions

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

Página 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

Página 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

Página 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

Página 241

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

Página 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

Página 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

Página 244

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

Página 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

Página 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

Página 247

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

Página 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

Página 249

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

Página 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

Página 251

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

Página 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

Página 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

Página 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

Página 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[

Página 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

Página 257 - IDLitWriteTIFF

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

Página 258 - Creating a New File Writer

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

Página 259

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

Página 260

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

Página 261

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

Página 262

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

Página 263

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

Página 264

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

Página 265

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

Página 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

Página 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

Página 268

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

Página 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

Página 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

Página 271

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

Página 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

Página 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

Página 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

Página 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

Página 276

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

Página 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

Página 278

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

Página 279

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

Página 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

Página 281

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

Página 282 - User Interface Objects

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

Página 283 - DoAction Method

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

Página 284

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

Página 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

Página 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

Página 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

Página 288

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

Página 289 - PromptUserYesNo

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

Página 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

Página 291 - Informational Messages

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

Página 292

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

Página 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

Página 294

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 301

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

Página 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

Página 303

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

Página 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

Página 305

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

Página 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

Página 307

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

Página 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

Página 309

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

Página 310 - Invoking the opName Operation

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

Página 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

Página 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

Página 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

Página 314

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

Página 315 - Create the Widget Hierarchy

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

Página 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

Página 317

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

Página 318 - Creating Callback Routines

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

Página 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

Página 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

Página 321

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

Página 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

Página 323 - Panel Creation Routine

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

Página 324

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

Página 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

Página 326

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

Página 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

Página 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

Página 329

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

Página 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

Página 331 - Creating a Custom

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

Página 332

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

Página 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

Página 334 - What You Will Need to Create

4Contents iTool Developer’s GuideRegistering Components ...

Página 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

Página 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

Página 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

Página 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

Página 339

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

Página 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

Página 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

Página 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;

Página 343

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

Página 344 - Adding Menus

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

Página 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

Página 346 - Adding a Toolbar

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

Página 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

Página 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

Página 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

Página 350 - Adding a Status Bar

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

Página 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

Página 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

Página 353

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

Página 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

Página 355

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

Página 356 - Handling Shutdown Events

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

Página 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

Página 358 - Use Your User Interface

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

Página 359

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

Página 360

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

Página 361

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

Página 362

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

Página 363

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

Página 364

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

Página 365

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

Página 366 - Discussion

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

Página 367

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

Página 368

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

Página 369

430Index iTool Developer’s Guide

Página 370

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

Página 371

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

Página 372

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

Página 373

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

Página 374

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

Página 375

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

Página 376

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

Página 377

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

Página 378

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

Página 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

Página 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

Página 381

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

Página 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

Página 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

Página 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

Página 385

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

Página 386 - Property Value Information

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

Página 387

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

Página 388

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

Página 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

Página 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

Página 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,

Página 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

Página 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

Página 394 - Replacing Data in an iTool

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

Página 395 - Using the SetData Method

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

Página 396

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

Página 397 - Appendix B

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

Página 398

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

Página 399 - CW_ITMENU

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

Página 400

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

Página 401

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

Página 402 - Version History

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

Página 403 - See Also

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

Página 404 - CW_ITPANEL

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

Página 405

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

Página 406

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

Página 407

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

Página 408 - CW_ITSTATUSBAR

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

Página 409

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

Página 410

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

Página 411 - CW_ITTOOLBAR

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

Página 412

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

Página 413

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

Página 414

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

Página 415

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

Página 416 - CW_ITWINDOW

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

Página 417

Part II: Using theiTools ComponentFramework

Página 419

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

Página 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? . . . . .

Página 421

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

Página 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

Página 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

Página 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

Página 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

Página 426

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

Página 427

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

Página 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

Página 429

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

Página 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

Comentários a estes Manuais

Sem comentários