Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / July 2004

Tip: Looking for answers? Try searching our database.

Display 2D Lines for mathematic application

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Gill - 22 Jul 2004 10:22 GMT
Hi There,

Does anyone can give me advices to choose a graphical
library/control/ocx/other to developp an application displaying 2d
lines from large data set (around 30 000 points).
I have to developp this app using Visual C++(6 or .NET). These data
are coming
right from an electronic device, and I need to display and print
result as graphs in a short amount of time (less than 8 hours :o) )
Of course, it's a common subject, but I'm not aware of last
improvement about graphical resources, so I'm stumped !!
I'm reading doc about GDI, but it seems to be too slow for this kind
of
datasize.
I'm thinking about using library from LabViews or Matlab, but perhaps
it's like using
atomic bomb vs a mosquito :o)

Thanks for any advice
Gill
Steve McLellan - 22 Jul 2004 13:45 GMT
The fastest display stuff around if you want to do it yourself is DirectX,
which is typically used commercially for games. I would imagine any 3rd
party libraries you use would need licensing, so if you're on a budget, and
don't think GDI (or GDI+) is going to be fast enough, then DirectX is a good
choice. GDI+ (the successor to GDI) is far easier to use, though GDI has the
advantage of hardware acceleration. You can probably knock something up
really quickly in GDI+ either using .NET or vanilla C++, and see if that's
going to be fast enough. If it's not, look at something else. You might be
surprised at GDI though - 30,000 points isn't a massive number.

That's my two, good luck with it!

Oh, and you might want to post this on the framework.drawing newsgroup -
there'll be people there who will be able to tell you what kind of speeds to
expect.

Steve

> Hi There,
>
[quoted text clipped - 16 lines]
> Thanks for any advice
> Gill
Fireangel - 23 Jul 2004 00:00 GMT
I've created a Galaxy Creation Program that has 150,000 Stars.  To draw them all (If I'm storing them in a class) takes about 15 seconds (1.6 Ghz Pentium, 64 Meg Vid Card, 512 Megs of RAM).  If I don't store them in a class (IE, generate the point and draw it immediatly), it takes about 9 seconds.  Most of the time is spent translating the points from "Map" points to "Screen" points, which you'll probably need to do.

If you need any help, write me at Fireangel__NO__SPAM__@__NO__SPAM__comcast.net (I HATE spam)

GE

> The fastest display stuff around if you want to do it yourself is DirectX,
> which is typically used commercially for games. I would imagine any 3rd
[quoted text clipped - 34 lines]
> > Thanks for any advice
> > Gill
Gill - 23 Jul 2004 15:33 GMT
Hi there,

> I've created a Galaxy Creation Program that has 150,000 Stars.  To draw them all (If I'm storing them in a class) takes about 15 seconds
(1.6 Ghz Pentium, 64 Meg Vid Card, 512 Megs of RAM).  If I don't store
them in a class (IE, generate the point and draw it immediatly), it
takes about 9 seconds.  Most of the time is spent translating the
points from "Map" points to "Screen" points, which you'll probably
need to do.

> If you need any help, write me at Fireangel__NO__SPAM__@__NO__SPAM__comcast.net (I HATE spam)

OK, FireAngel ..thanks for your help. Could you give me some precision
on the technology you used ?? GDI+/ActiveX ??
Gill - 23 Jul 2004 15:37 GMT
Hi,
> The fastest display stuff around if you want to do it yourself is DirectX,
> which is typically used commercially for games. I would imagine any 3rd
[quoted text clipped - 7 lines]
>
> That's my two, good luck with it!

thx for both of them.
So I will investigate both of them for some ploting and graphic samples ...

> Oh, and you might want to post this on the framework.drawing newsgroup -
> there'll be people there who will be able to tell you what kind of speeds to
> expect.

Yes, good idea Steve.

Thanks
Gill
Jeff Bennett - 24 Jul 2004 02:09 GMT
> Hi There,
>
[quoted text clipped - 16 lines]
> Thanks for any advice
> Gill

Take a look at our MetaDraw control.
MetaDraw is a drawing / image creation tool
available as either an OCX or a .NET Winforms component
( the OCX is faster )  
30,000 points is no trouble at all.   We can build up such
an image in under 2 seconds with no problem at all..

You have full control over colors, line styles, line thickness
and you can scroll, zoom, save, print or copy the image to
the clipboard.    

If for some reason the different lines will represent different types
of data you can even assign lines to categories and hide and
then use that to hide or show different categories or change
the colors dynamically.

MetaDraw is EASY to use.

-----

    Jeff Bennett
    Jeff@Bennet-Tec.Com

    *    Bennet-Tec Information Systems, Inc  
    *    50 Jericho Tpk, Jericho, NY 11753
    *    Phone 516 997 5596,  Fax - 5597
    *    RELIABLE Components Make You Look Sharp!  
    *    TList/Pro    *    ALLText HT/Pro    *    MetaDraw    *  
    *    Custom Software Development Services Too.
    *    WWW.Bennet-Tec.Com  
   
===================     ===================

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.