Chapter 11 Navigating Object Model Diagrams Week 6, 2008 Spring.

Slides:



Advertisements
Similar presentations
Floyd, Digital Fundamentals, 10 th ed EET 2259 Unit 2 Virtual Instruments Read Bishop, Chapter 2. Lab #2 and Homework #2 due next week. Quiz #1 next week.
Advertisements

Most-to-Least Legible Color Combinations for Viewing on Slide Shows Color and contrast are very important tools in communication. They can be used to enhance.
Week 8 Recap CSE 115 Spring Composite Revisited Once we create a composite object, it can itself refer to composites. Once we create a composite.
CGA 115 Professor Mary A. Malinconico. Questions from Last Week ????????
© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 1 Architectural Modeling Notations.
UML Class and Sequence Diagrams Violet Slides adapted from Marty Stepp, CSE 403, Winter 2012 CSE 403 Spring 2012 Anton Osobov.
Fundamentals of Digital Imaging
Color Mixing There are two ways to control how much red, green, and blue light reaches the eye: “Additive Mixing” Starting with black, the right amount.
Design Patterns in Java Appendix D UML at a Glance Summary prepared by Kirk Scott 1.
1 ArcGIS 软件体系  ArcGIS Desktop :一个专业 GIS 应用的完整套件  ArcGIS Engine :开发 GIS 应用的嵌入式开发组件  服务器 GIS : ArcSDE , ArcIMS 和 ArcGIS Server  移动 GIS : ArcPad 桌面 GIS.
Image Representation.
Contains 16,777,216 Colors. My Car is red My Car is red How do I add colors to my web page? Notepad Browser Works with the “Standard” colors: Red, Green,
Dye Sublimation Color Management
Object-Oriented Analysis and Design
How to Work with Color in Graphic Communications.
Guilford County SciVis V104.02
ENG College of Engineering Engineering Education Innovation Center 1 2D Plots 1 in MATLAB Topics Covered: 1.Plotting basic 2-D plots The plot()
Adv_GISArcObjects - 11 VBA and ArcObjects Fall 2003 Advanced GIS.
Adv_GISArcObjects - 11 VBA and ArcObjects Programming Week 1 Spring 2008 Advanced GIS.
Robinson_CIS_285_2005 HTML FORMS CIS 285 Winter_2005 Instructor: Mary Robinson.
Colours and Computer Jimmy Lam The Hong Kong Polytechnic University.
 This presentation introduces the following: › 3 types of CSS › CSS syntax › CSS comments › CSS and color › The box model.
What are the five colors in the legend? Enter the information below (5 points) 0000FF = = FFFFFF = 00FF00 = FF0000 = Color Theory Legend: income.
_______________________________________________________________________________________________________________ PHP Bible, 2 nd Edition1  Wiley and the.
Color Theory The art and science of color interaction and effects. SYSTEMS.
Chapter 12 Making Tools Week 7 Fall Tools (events) besides Click MouseDown, MouseUp, MouseMove CursorID defines mouse appearance Eabled to disable.
Do Now: Do Not Log In. Take out your notebook and a pen. Good morning! Do Now: Do Not Log In. Take out your notebook and a pen. Good morning! Aim: Review.
Adding shapefiles as feature layers Adding coverages as feature layers Adding grids as raster layers Adding tables as table windows Adding text files as.
© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 1 Advanced UML Class Diagrams.
UML Class Diagrams 1 These lecture slides are copyright (C) Marty Stepp, They may not be rehosted, sold, or modified without expressed permission.
Homework Assignment You are going to research any artist of your choosing from any time period or genre. You are going to complete a one page double- spaced.
Lesson 6 Painting and Retouching Load the pslessons into your folder.
2007ACS-3913 Ron McFadyen1 Class Diagram See Schaum’s UML Outline, especially chapters 4, 5, 6, 7.
Class Diagram Classes are the most important building block of any object-oriented system. A class is a description of a set of objects that share the.
Appendix D UML at a Glance Summary prepared by Kirk Scott 1.
Slide 1 CMPS 211 Internet Programming Spring 2008 Style Sheet Building Blocks Chapter 7 & 8 4/8/08.
ADV_GISVB - IV1 Advanced GIS Objects/Interfaces Week Spring.
By: Ashley. Spot Color Spot color refers to the process of selecting text or a graphic object such as a circle and then adding a spot of color to it.
Beam Penetration & Shadow Mask Method
Project 5 : programming ArcObject with VBA Part I Vector data Sherry Fu CE 697V Nov. 30, 2006.
Data Display and Cartography Chapter 8 – Chang Week 5.
Interfaces Chapter 9. 9 Creating Interfaces An interface is a contract. Every class that implements the interface must provide the interface’s defined.
Elements of Design 1.02 Investigate Design Principles and Elements.
©GoldSim Technology Group LLC., 2012 Dashboards August 2012 Webinar By Jason Lillywhite.
FRACTIONS & SHAPES BY:. How many of these are colored red? * out of *.
Chapter 16 UML Class Diagrams 1CS6359 Fall 2012 John Cole.
Adobe Ch 17 Notes Having Fun with Color. Add Spot Color to an Image Used to add or colorize an area on a grayscale image Used to add spot color to any.
INFSY 535.  Small systems  Larger systems 1.Understand the program requirement- what 3. Write and test each part (unit testing) 4. Maintenance 2. Specify.
CSS Hadas Kahsay. Overview  What is CSS  Basic syntax of CSS Rules  How to link CSS style to html documents  Browsers and CSS  Advantages of CSS.
© 2007 Lawrenceville Press Slide 1 Chapter 9 Inheritance  One class is an extension of another.  Allows a class to define a specialized type of an existing.
Programming for Geographical Information Analysis: Advanced Skills Lecture 3: Arc Data Framework Dr Andy Evans.
4. Value & Color Motion is a kind of change, and change takes place in time. Motion can be implied, as well as literal.
THIS IS NOT YELLOW Philosophy.
Development of Linear Measure Tool using Application Framework
One class is an extension of another.
Make your map 3D 1. Trace Contour Map of Mt. Capulin onto White Paper
Lecture 3 Introducing ArcObjects
Lecture 4 An example for changing a layer’s Name
Compositions of Light – the development of a concept
Name: _______________________________
Average Number of Photons
Interfaces.
Colors Computers build colors from Red, Green, and Blue; not Red, Blue, and Yellow. RGB = Red Green Blue Creating Colors Red + Blue = Purple No Red, No.
Arc: Getting Layers Dr Andy Evans.
What Color is it?.
Sylnovie Merchant, Ph.D. MIS 161 Spring 2005
Color Box Button - Gray Type : object Type : object Type : object
EET 2259 Unit 2 Virtual Instruments
Let’s Learn the Basic Colors
Presentation transcript:

Chapter 11 Navigating Object Model Diagrams Week 6, 2008 Spring

Getting Layers/Assigning Colors Which layer/dataframe change will be made? Start from MxDocument class (currently opened.mxd file) Map class (refers to a data frame) FeatureLayer class Renderer class (layer’s legend) Symbol class Color class MxDocument is associated with the Map class, but not with Color class. Associated – means that MxDocument’s object has objects in the connected class. Each map document have data frames. Symbols class is connected to Color class, -> symbols have colors.

Association (Class to Class) * Asterisk means multiplicity – many maps in one map documents (*asterisk not in Mxd to Application) Properties of Classes –In ILayer, Name returns string and Visible returns boolean values –Some return interfaces, such as FocusMap in IMxDocument returns IMap. FocusMap tells you which dataframe is active. If you want to hop from the MxDocument class to the Map class, you get the FocusMap property. –ThisDocument (predefined object of MxDocument) is an object from IDocument (not IMxDocument), but FocusMap property is with IMxDocument, so that we have to use QI to get to IMxDocument –See next slide for code

From Map to Layer Dim pMxDoc As IMxDocument Set pMxDoc = ThisDocument ‘ QI Dim pMap As IMap Set pMap = pMxDoc.FocusMap ‘hop from MxDocument class to Map class ‘To access Layer ‘Layer class is associated with Map Dim pLayer As ILayer Set pLayer = pMap.Layer(1)

Instantiation (class to class) Also called “Creates” relationship Where method in class creates object from another class. Dashed line with an arrow that points to the created object.

Inheritance (class to class) When a particular class uses an interface (“Implement”) from a more general class. Abstract class (Such as Layer) – no objects, once interface is implemented, then objects can be created, (page 176) Solid lines with triangle:e.g. Layer with ILayer and other connected classes inherit all of layer’s interfaces To create a new FeatureLayer and set its Name property: Dim pLayer As ILayer Set pLayer = New FeatureLayer pLayer.Name = “USA”

Three different Class Types Abstract Classes: 2-D gray boxes, no object, parking spots for common interfaces, you need to implement them. Classes (regular classes): 3-D white boxes. You can’t create from the New keyword, need to use methods/property of other class to get this. Coclasses: 3-D gray boxes. You can create object with New keyword or from other class’s property or methods.

This only updates TOC, not map. Dim pActiveView As IActiveView Set pActiveView = pMxDoc.ActiveView pActiveView.Refresh

Color Objects Each color is an object, following diagram show Color abstract and five coclasses: ICmykColor, IRgbColor, IHIsColor, IGrayColor, IHsvColor Monitor use RGB and printer use CMYK IRgbColor RgbColor Blue: Long Green: Long Red: Long To make a sandy yellow: pRgbColor.Red = 255 pRgbColor.Green= 255 pRgbColor.Blue = 190

Access Color (p. 189) Application  -- MxDocument  -- PageLayout  -- Page ---- Color on the Display diagram

RgbColor in Color