OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

cgmo-webcgm message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [cgmo-webcgm] ISSUE: more DOM/XCF style properties


Lofton,

I see, but I am not sure that your way is actually simpler, because you
can do:

getObjectExtents;
zoomRect (extents*2)

without navigation to the object.

zoom(2x) would limit this functionality to zooming to a particular
object only, so it would not cover
- zooming to several objects at the same time
- zooming to a specific area of interest, possibly without any grobjects
in it

In addition, the zoom factor in combination with a navigation is a bit
tricky. Depending on the size of the object this may result in something
desirable or not. But that may be the case with any zoom operation, of
course.

Dieter

-----Original Message-----
From: Lofton Henderson [mailto:lofton@rockynet.com] 
Sent: Samstag, 19. Januar 2008 23:03
To: Weidenbrueck, Dieter; CGM Open WebCGM TC
Subject: RE: [cgmo-webcgm] ISSUE: more DOM/XCF style properties

Dieter,

I agree that destination rectangle is a good choice.

On the other hand, one can see the utility of just a simple factor
(optionally perhaps).  It would allow you to:
link/navigate to object XYZ;
zoom (2x);

Otherwise, you would do this:
link/navigate to object XYZ;
getObjectExtents;
zoom to ( Extents/2 );

Where "Extents/2" is shorthand for the obvious half-size zoom box.

I don't care strongly whether we parameterize with just "destination
rectangle", or also allow convenience shorthand parameterization(s),
or...  I am just pointing out that we haven't made the explicit decision
yet, AFAIK.

-Lofton.

At 04:51 PM 1/19/2008 -0500, Weidenbrueck, Dieter wrote:
>Lofton,
>
>both zoom and pan might result in one simple solution:
>Specification of a destination rectangle.
>
>We have precise rules for showing a certain rectangular area inside the

>viewer defined in the area of object navigation. So if we consider the 
>desired view after a zoom and/or pan operation as a rectangle, we would

>basically treat this operation as a grobject with view context, but 
>sans grobject.
>
>If we make this both read/writable a script writer could do whatever he

>wants. All in NVDC coordinates, of course.
>
>Regards,
>Dieter
>
>-----Original Message-----
>From: Lofton Henderson [mailto:lofton@rockynet.com]
>Sent: Samstag, 19. Januar 2008 22:14
>To: Cruikshank, David W; CGM Open WebCGM TC
>Subject: RE: [cgmo-webcgm] ISSUE: more DOM/XCF style properties
>
>At 11:52 AM 1/18/2008 -0800, Cruikshank, David W wrote:
> >This constitutes a proposal to encode units for elements Line and 
> >Edge Type Definition, Hatch Style Definition, Fill Reference Point, 
> >pan coordinates, and zoom coordinates for DOM/XCF styling properties 
> >in NVCD.
>
>ZOOM COORDINATES:  What do you mean by "zoom coordinates"?  I.e., how 
>are we going to parameterize zoom?
>
>Is there some implicit zoom reference point -- e.g., the center of the 
>current view -- and then just a zoom factor (no coordinate parameters)?
>
>Or is there an explicit zoom reference point as a parameter of the 
>zoom, plus a zoom factor (so the zoom might do some panning in the
process)?
>
>Or is there an explicit zoom box to which the view is zoomed, and no 
>zoom factor (again, the zoom might do some panning in the process)?
>
>PAN COORDINATES:  same sorts of questions.  How to parameterize pan?
>
>While it isn't necessary to answer these questions before resolving 
>that all coordinate-type information is NVDC, on the other hand it 
>seems reasonable to decide about the parameterizations of the functions

>before or at least concurrently with deciding the units of expression 
>those parameters.
>
>(Possibly I missed issue discussion and resolution about pan/zoom 
>parameterizations in a missed telecon.)
>
>-Lofton.
>
>
> >According to our issue-closure procedure, we will confirm this at the

> >next telecon, unless anyone argues otherwise before then.
> >
> >Dave Cruikshank
> >
> >
> >Technical Fellow - Graphics/Digital Data Interchange Boeing 
> >Commercial Airplane 206.544.3560, fax 206.662.3734 
> >david.w.cruikshank@boeing.com
> >
> >-----Original Message-----
> >From: Cruikshank, David W
> >Sent: Sunday, January 06, 2008 3:39 PM
> >To: CGM Open WebCGM TC
> >Subject: [cgmo-webcgm] ISSUE: more DOM/XCF style properties
> >
> >The current list of proposed additions to styling interface:
> >
> >Line Type
> >Line Type Initial Offset
> >Edge Type
> >Edge Type Initial Offset
> >Edge Visibility
> >Interior Style
> >Hatch Index
> >Pattern Index
> >Fill Reference Point
> >Line and Edge Type Definition
> >Hatch Style Definition
> >Pan
> >Zoom
> >
> >Open issues are:
> >Value units for Fill Reference Point, Line and Edge Type Definition 
> >and
>
> >Hatch Style Definition How do we spectify Pan and Zoom?
> >
> >NVDC?
> >
> >dave
> >
> >Technical Fellow - Graphics/Digital Data Interchange Boeing 
> >Commercial Airplane 206.544.3560, fax 206.662.3734 
> >david.w.cruikshank@boeing.com
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe from this mail list, you must leave the OASIS TC that 
> >generates this mail.  You may a link to this group and all your TCs 
> >in OASIS
> >at:
> >https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.ph
> >p
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe from this mail list, you must leave the OASIS TC that 
> >generates this mail.  You may a link to this group and all your TCs 
> >in OASIS
> >at:
> >https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.ph
> >p
>
>
>
>---------------------------------------------------------------------
>To unsubscribe from this mail list, you must leave the OASIS TC that 
>generates this mail.  You may a link to this group and all your TCs in 
>OASIS
>at:
>https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php
>
>
>---------------------------------------------------------------------
>To unsubscribe from this mail list, you must leave the OASIS TC that 
>generates this mail.  You may a link to this group and all your TCs in 
>OASIS
>at:
>https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php



---------------------------------------------------------------------
To unsubscribe from this mail list, you must leave the OASIS TC that
generates this mail.  You may a link to this group and all your TCs in
OASIS
at:
https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php 



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]