Rendering CAD/GIS Data on a Map Canvas



I am working through the design of a disp[lay for a CAD/GIS program
written
in Java. I haven't decided for sure if I will use Swing or SWT for the
GUI yet.

This program I am working on will have to display a large number of 2D
geometric shapes. I'm want to make the rendering process as quick and
efficient as possible. I had a couple of questions about how I can do
this:

Let's say for the sake of this discussion that the area I will use to
display my map, or the canvas, will be 600 by 300 pixels. Would it be
possible to render the shapes that would fall within an area 20% larger
than
this to allow for quicker panning and zooming?

I'm trying to avoid a situation where everytime the user pans the
display a
minor amount that the whole screen needs to be rendered. In the above
situation I would have that 20% buffer to allow some limited space for
panning.

Is this method possible? Any ideas or suggestions on how I can learn
the
techniques I need to implement it?

Also, my program will allow the user to select shapes on the display
using
various interactions with the mouse, and will subsequently allow them
to
move or modify those geometries. Is it possible to only render the
portion
of the canvas that needs to be repainted, instead of repainting the
entire
canvas everytime a single shape is modified? Would I do this by
splitting my
display into a grid of different images, or can I just pass the
rectangular
bounds of the new area that needs to be rendered?

Is this method of partial rendering possible? Any ideas or suggestions
on
how I can learn the techniques I need to implement it?

I am interested in learning how this might be done in both Swing and
SWT. The way each widget toolkit handles this area of graphics display
may be the diciding factor in which is chosen for the program.

Thanks for the help.

Scott Huey

.



Relevant Pages

  • Re: Issue with Video rendering capabilities.
    ... > BLTs to the display) with HW. ... and/or SW decode and the emul BLT routines. ... >> processor is taking almost 100% of processing time during this video ... >> during testing this video rendering. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: making fonts look same in Ghostscript and X11
    ... look *exactly* like it does in my X11 app. ... This is unlikely on a single computer, and a practical impossibility if you want to use a remote display. ... On my fc4 system the xmessage rendering is terrible. ... This seems to be a problem for many proportional fonts and few fixed-width fonts. ...
    (comp.lang.postscript)
  • Re: The Nod troll Challenge - Which He Failed Miserably.
    ... quality of James Cameron's effects in less time than it to Cameron to ... rendering system, which the article and demo clearly shows is viable. ... resolution of 1,920 x 1,080 running at 30fps. ... All modern graphics cards can render at at least 4x display ...
    (rec.arts.drwho)
  • Re: Model View Controller - please clarify
    ... Integrating the rendering code into the model still lets me have ... It seems to me that MVC depends how much is likely to change. ... and new Shapes appear and require different ... access functions, requiring constant updates to the view, then ...
    (comp.lang.cpp)
  • Re: Programmatically Get/Set Shape properties (Label 1, 2, 3, 4)
    ... the display of name, use, ... a supplementary condition that can be modify by your program. ... The problem is that by default, the shapes I am using from ... What I would like to do is remove the content of any labels that the shape ...
    (microsoft.public.visio.developer)