Click here to Skip to main content
15,900,724 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to Undo/Redo drawing operation in a dialog based application.? Pin
CPallini9-Jul-12 2:20
mveCPallini9-Jul-12 2:20 
GeneralRe: How to Undo/Redo drawing operation in a dialog based application.? Pin
mbatra319-Jul-12 2:33
mbatra319-Jul-12 2:33 
AnswerRe: How to Undo/Redo drawing operation in a dialog based application.? Pin
Sunil P V10-Jul-12 0:01
Sunil P V10-Jul-12 0:01 
Generalneed help Opencv with MFC (Solved) Pin
jawadali4779-Jul-12 0:44
jawadali4779-Jul-12 0:44 
GeneralRe: need help Opencv with MFC Pin
CPallini9-Jul-12 0:57
mveCPallini9-Jul-12 0:57 
GeneralRe: need help Opencv with MFC Pin
jawadali4779-Jul-12 1:17
jawadali4779-Jul-12 1:17 
GeneralRe: need help Opencv with MFC Pin
Richard MacCutchan9-Jul-12 1:30
mveRichard MacCutchan9-Jul-12 1:30 
GeneralRe: need help Opencv with MFC Pin
jawadali4779-Jul-12 1:59
jawadali4779-Jul-12 1:59 
GeneralRe: need help Opencv with MFC Pin
Jochen Arndt9-Jul-12 1:03
professionalJochen Arndt9-Jul-12 1:03 
GeneralGeneral driver help Pin
Brandon-X120009-Jul-12 0:28
Brandon-X120009-Jul-12 0:28 
GeneralRe: General driver help Pin
Richard MacCutchan9-Jul-12 1:23
mveRichard MacCutchan9-Jul-12 1:23 
GeneralRe: General driver help Pin
Brandon-X1200010-Jul-12 6:55
Brandon-X1200010-Jul-12 6:55 
GeneralRe: General driver help Pin
Richard MacCutchan10-Jul-12 9:04
mveRichard MacCutchan10-Jul-12 9:04 
GeneralRe: General driver help Pin
WebMaster9-Jul-12 3:04
WebMaster9-Jul-12 3:04 
GeneralRe: General driver help Pin
Brandon-X1200010-Jul-12 9:14
Brandon-X1200010-Jul-12 9:14 
GeneralRe: General driver help Pin
WebMaster10-Jul-12 9:08
WebMaster10-Jul-12 9:08 
GeneralRe: General driver help Pin
Brandon-X1200010-Jul-12 9:13
Brandon-X1200010-Jul-12 9:13 
GeneralDifference Between 'Software Architecture' and 'Software Design' Pin
AmbiguousName9-Jul-12 0:06
AmbiguousName9-Jul-12 0:06 
GeneralRe: Difference Between 'Software Architecture' and 'Software Design' Pin
CPallini9-Jul-12 0:59
mveCPallini9-Jul-12 0:59 
GeneralRe: Difference Between 'Software Architecture' and 'Software Design' Pin
Stefan_Lang10-Jul-12 22:47
Stefan_Lang10-Jul-12 22:47 
GeneralRe: Difference Between 'Software Architecture' and 'Software Design' Pin
jschell9-Jul-12 11:49
jschell9-Jul-12 11:49 
GeneralRe: Difference Between 'Software Architecture' and 'Software Design' Pin
Stefan_Lang10-Jul-12 22:23
Stefan_Lang10-Jul-12 22:23 
QuestionWhat design to use? Pin
gourishsio8-Jul-12 20:40
gourishsio8-Jul-12 20:40 
Hello,

I am developing an application which can be used for digitize a geographical map through GUI and mouse interaction. I am using C++ with wxWidgets and OpenGL Well, here are the list of objects that need to be created using mouse clicks.

1) Points
2) Polyline
3) Polygon
4) Rectangle/Square
5) Ellipse/Circle
6) Text

Can any one guide me what will be the best design which can be used to store the data(objects) more efficiently? So that both accessing objects and rendering them will be easier and faster? I have started with Composite Design pattern to store the objects and Visitor Design pattern to render these objects.

http://en.wikipedia.org/wiki/Composite_pattern
http://en.wikipedia.org/wiki/Visitor_pattern

But everytime rendering is done sequentially. Will not this take more time if the number of objects increases? Can anyone suggest me any other technique better and more efficient technique?

Thanks in advance

Regards
AnswerRe: What design to use? Pin
Madhan Mohan Reddy P8-Jul-12 23:06
professionalMadhan Mohan Reddy P8-Jul-12 23:06 
GeneralRe: What design to use? Pin
gourishsio9-Jul-12 18:09
gourishsio9-Jul-12 18:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.