CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: dchaacke

Search: Search took 0.02 seconds.

  1. Replies
    13
    Views
    1,365

    Re: Calculating points within a boundary

    below the if statement is a j++, and the code within the if statement only gets executed once "i" has reached the end of a region, usually over 65 points or so
  2. Replies
    13
    Views
    1,365

    Re: Calculating points within a boundary

    Ok, well, I may be doing this wrong, but I try to create different regions based on the different boundaries that may be present, and then I check each region to see if the brushPoint (mouse) is...
  3. Replies
    13
    Views
    1,365

    Re: Calculating points within a boundary

    If this requires reworking the code on how the boundary is initially created, I am unfortunately not allowed to mess with that, because its used for a variety of other purposes within the...
  4. Replies
    13
    Views
    1,365

    Re: Calculating points within a boundary

    Its a user defined boundary comprised of CPoints
  5. Replies
    13
    Views
    1,365

    Re: Calculating points within a boundary

    a shape which is not a circle or anything mathematically friendly, such as the shape of a kidney
  6. Replies
    13
    Views
    1,365

    Calculating points within a boundary

    If I have an organically shaped boundary, and I want to comprise a list of all the points within such a boundary, how would I go about doing this?
  7. Re: Separating list of points into different groups

    Well, this boundary drawing is done by "region growing" and just takes one mouse click, but thank you for saying what you did because I think I understand where you are going with that.

    The object...
  8. [RESOLVED] Separating list of points into different groups

    In the program I am working on, we analyze the data of MRI scans. Sometimes, we want to draw boundaries around certain vessels in the brain.

    When creating an object boundary around two different...
  9. Replies
    4
    Views
    1,607

    Re: Using Button control to toggle checkbox

    Ya, you are right. Just started a new programming job so I guess I should make friends with MSDN ;P I'll try to limit my posts here to more complicated syntax related questions. Thanks for your advice
  10. Replies
    4
    Views
    1,607

    Re: Using Button control to toggle checkbox

    I'm usually terrible at navigating MSDN but you are right I wasn't patient enough with myself to see the obvious.

    Thanks for the post and my apologies for a wasted thread
  11. Replies
    4
    Views
    1,607

    Using Button control to toggle checkbox

    I have a checkbox button I created with Visual Studio and I assigned it a contol variable called Movie1Control.

    I know that I can activate/deactivate it by the function...
  12. Replies
    10
    Views
    1,621

    Re: heap error when deleting pointer variable

    Interesting. I've never really had any experience using <vector>. In what ways does this simplify memory allocation? I guess not having to use the "delete[]" statement is an improvement, but it seems...
  13. Replies
    10
    Views
    1,621

    Re: heap error when deleting pointer variable

    thanks guys, problem resolved
  14. Replies
    5
    Views
    898

    Re: pointer confusion ~.~

    my mistake, i have edited my post.
  15. Replies
    5
    Views
    898

    Re: pointer confusion ~.~

    the double star implies that its a double pointer, and further allocation may be done

    int variable = 3;
    int variable2 = 5;



    int **pointer = new int * [variable];
    for (int i=0; i<variable;...
  16. Replies
    10
    Views
    1,621

    Re: heap error when deleting pointer variable

    but tempSignal is just a simple integer that is only created within the forloop...

    also, when I first wrote the code, i did not impliment the use of tempSignal.

    I simply had the following:
    ...
  17. Replies
    10
    Views
    1,621

    heap error when deleting pointer variable

    ok, so I have a small function that creates a variable called "occurance", which is an integer pointer array, and then deletes it at the end.

    Within this function, the usermade class "Voxel" is...
  18. Re: fatal error C1014: too many include files : depth = 1024

    however, when I do that, the program no longer recognizes some of the data types, almost as if it isn't letting them be included... eg:



    #ifndef DECK_H
    #define DECK_H

    #include "Card.h"...
  19. fatal error C1014: too many include files : depth = 1024

    player.h(1) : fatal error C1014: too many include files : depth = 1024
    deck.h(1) : fatal error C1014: too many include files : depth = 1024

    this makes no sense to me, because I have inclusion...
Results 1 to 19 of 19





Click Here to Expand Forum to Full Width

Featured