Click here to Skip to main content
15,885,782 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
AnswerRe: What design to use? Pin
_Flaviu9-Jul-12 2:46
_Flaviu9-Jul-12 2:46 
GeneralRe: What design to use? Pin
gourishsio9-Jul-12 18:10
gourishsio9-Jul-12 18:10 
GeneralRe: What design to use? Pin
gourishsio10-Jul-12 18:14
gourishsio10-Jul-12 18:14 
QuestionC programming question Pin
Kotiexalter8-Jul-12 17:50
Kotiexalter8-Jul-12 17:50 
AnswerRe: C programming question Pin
«_Superman_»8-Jul-12 18:02
professional«_Superman_»8-Jul-12 18:02 
AnswerRe: C programming question Pin
Madhan Mohan Reddy P8-Jul-12 22:55
professionalMadhan Mohan Reddy P8-Jul-12 22:55 
QuestionHow to Get Event from Controls in Docking Dialog Pin
Member 21198448-Jul-12 1:27
Member 21198448-Jul-12 1:27 
AnswerRe: How to Get Event from Controls in Docking Dialog Pin
Sunil P V10-Jul-12 0:05
Sunil P V10-Jul-12 0:05 
QuestionWhy is pointer a compound type, not a fundamental type? Pin
sawerr7-Jul-12 22:06
sawerr7-Jul-12 22:06 
AnswerRe: Why is pointer a compound type, not a fundamental type? Pin
Richard MacCutchan7-Jul-12 23:20
mveRichard MacCutchan7-Jul-12 23:20 
AnswerRe: Why is pointer a compound type, not a fundamental type? Pin
«_Superman_»8-Jul-12 3:20
professional«_Superman_»8-Jul-12 3:20 
AnswerRe: Why is pointer a compound type, not a fundamental type? Pin
fat_boy8-Jul-12 4:03
fat_boy8-Jul-12 4:03 
QuestionHow to receive data using dynamic array in recv api()? Pin
vanithavadivel7-Jul-12 0:13
vanithavadivel7-Jul-12 0:13 
AnswerRe: How to receive data using dynamic array in recv api()? Pin
Richard MacCutchan7-Jul-12 0:55
mveRichard MacCutchan7-Jul-12 0:55 
AnswerRe: How to receive data using dynamic array in recv()? Pin
Software_Developer7-Jul-12 23:28
Software_Developer7-Jul-12 23:28 

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.