| 00:46.44 | hcurtis | I am converting some of the elements of BRL-CAD's fast4-g.c from stack allocated to dynamically allocated. Here is the latest version of my code: http://paste.lisp.org/+32BI |
| 00:47.14 | hcurtis | Any feedback is welcome. I can show you my entire revised version of fast4-g.c if you'd like. |
| 00:50.34 | hcurtis | While I wait for feedback, I'll do some reading to refresh my memory on how to make patches. |
| 00:57.13 | hcurtis | By the way, all occurrences of the variable called numberOfRegions in the code I've just posted should say numberOfGroups instead. |
| 01:21.21 | *** join/#brlcad FreezingCold (~FreezingC@135.0.41.14) | |
| 01:26.02 | hcurtis | brlcad: Good news. I might be close to a usable patch. http://paste.lisp.org/+32BJ |
| 02:17.12 | hcurtis | I have made a fast4-g.c patch. It might not be usable because I used commit 56495 as my corrections base and will probably need to use commit 60592 instead. At least I know that I am able to do it. My best guess is that I will need to comment out the other person's corrections that Sean disliked, but I will need to confirm this. |
| 05:06.26 | *** join/#brlcad abc (caa43575@gateway/web/freenode/ip.202.164.53.117) | |
| 05:07.54 | abc | i have problem, i have changed the path of brlcad as PATH=/usr/brlcad/*/bin:$PATH, export PATH mged |
| 05:08.28 | abc | but when i reboot i stuk on tty1 nio gui is there |
| 05:17.57 | *** join/#brlcad deepak_ (~chatzilla@202.164.53.117) | |
| 06:02.02 | Notify | 03BRL-CAD Wiki:Hcurtis0010 * 7348 /wiki/User:Hcurtis0010/GSoC2014/logs: /* Week 5 */ |
| 06:42.14 | *** join/#brlcad albertcoder (~albertcod@202.164.53.117) | |
| 07:09.36 | *** join/#brlcad d_rossberg (~rossberg@66-118-151-70.static.sagonet.net) | |
| 07:22.17 | *** join/#brlcad pandrei (~pandrei@188.25.27.146) | |
| 07:45.16 | *** join/#brlcad teepee (~teepee@gateway/tor-sasl/teepee) | |
| 08:05.26 | *** join/#brlcad albertcoder (~albertcod@202.164.53.117) | |
| 09:01.40 | pandrei | hello! |
| 09:02.02 | andrei_ | I was working on the Sketch "Get" implementation |
| 09:02.25 | andrei_ | and I don't understand this |
| 09:02.43 | andrei_ | the Get function is supposed to return a Segment pointer(which I create) |
| 09:03.00 | andrei_ | and gets that from rt_sketch_internal->rt_curve->segments |
| 09:03.03 | andrei_ | which is a void* array |
| 09:04.08 | andrei_ | from what I know, you can't find a variable type in C(and this is not an object) |
| 09:04.48 | andrei_ | how am I supposed to find out what type of segment m_internalp->curve.segment[index] this is |
| 09:08.04 | *** join/#brlcad teepee- (bc5c2133@gateway/web/freenode/ip.188.92.33.51) | |
| 09:08.24 | d_rossberg | test the magic and cast the void* to the coresponding structure; there are many examples for this in the sketch code, even in my Sketch.cpp sample |
| 09:08.58 | d_rossberg | use this structure to create the right Line/Arc/etc. class |
| 09:10.30 | andrei_ | oh, I missed the line. thanks |
| 09:12.08 | andrei_ | in the sketch.h you've mentioned I should call Destroy() "after I'm done with it" |
| 09:12.18 | andrei_ | shouldn't I call the constructor in Get and return the objet? |
| 09:12.21 | andrei_ | object* |
| 09:14.28 | andrei_ | ah, nevermind, I think I figured it out. destroy shouldn't be called in get, but after it's no longer needed, and that's not something I need to do |
| 09:19.22 | d_rossberg | you can look at ConstDatabase: there is the same situation with the two Gets (one with a call-back and one returning an object) |
| 09:20.23 | andrei_ | yeah, found it, thanks |
| 09:36.51 | *** join/#brlcad vladbogo (~vlad@195.216.218.10) | |
| 09:41.21 | andrei_ | Daniel: when you've got time, can you look at this snippet http://paste.lisp.org/display/142977 |
| 09:41.36 | andrei_ | I can't seem to get that Get right |
| 09:45.21 | *** join/#brlcad teepee- (bc5c2133@gateway/web/freenode/ip.188.92.33.51) | |
| 09:59.16 | andrei_ | error: 'line' has a previous declaration as 'line_seg* line' this is the compiler error, it doesn't "see" the line as parameter |
| 10:35.57 | *** join/#brlcad teepee- (bc5c2133@gateway/web/freenode/ip.188.92.33.51) | |
| 10:39.04 | d_rossberg | i made an annotation to your paste |
| 10:50.54 | *** join/#brlcad piyushparkash (~piyushpar@117.214.221.18) | |
| 11:53.23 | andrei_ | thanks, Daniel |
| 11:58.55 | *** join/#brlcad Zhao_Anqing (~clouddrif@183.157.160.22) | |
| 12:07.48 | *** join/#brlcad teepee- (bc5c2133@gateway/web/freenode/ip.188.92.33.51) | |
| 12:32.06 | *** join/#brlcad Zhao_Anqing (~clouddrif@183.157.160.13) | |
| 12:48.33 | Notify | 03BRL-CAD:ejno * 61358 brlcad/trunk/src/conv/3dm/3dm-g.cpp: fix missing include file if breps are not available |
| 12:49.38 | *** join/#brlcad teepee- (bc5c2133@gateway/web/freenode/ip.188.92.33.51) | |
| 12:49.42 | andrei_ | daniel: I understood the Get mechanism and I've defined an InternalSegmentCallback of my own |
| 12:49.51 | andrei_ | with an internal Segment pointer |
| 12:50.17 | andrei_ | problem is, I can't write the =operator because I can't instantiate Segment |
| 12:50.20 | andrei_ | does that make any sense ? |
| 12:51.29 | andrei_ | it looks like this : http://paste.lisp.org/display/142978 |
| 13:01.35 | d_rossberg | same as in ConstDatabase? m_segment = seg.Clone()? ... ah, there is no Clone() ... you should add one |
| 13:02.15 | d_rossberg | declared in Segment but = 0 there and implemented in the derived classes |
| 13:23.52 | *** join/#brlcad alisha (~alisha@101.58.181.158) | |
| 13:51.53 | *** join/#brlcad albertcoder (~albertcod@202.164.53.117) | |
| 14:16.21 | *** join/#brlcad vladbogo (~vlad@195.216.218.10) | |
| 14:17.56 | *** join/#brlcad alisha (~alisha@101.57.82.34) | |
| 14:47.00 | *** join/#brlcad ishwerdas (~ishwerdas@59.91.238.3) | |
| 15:02.40 | *** join/#brlcad kintel (~kintel@unaffiliated/kintel) | |
| 15:08.38 | Notify | 03BRL-CAD:carlmoore * 61359 (brlcad/trunk/misc/tools/dom2dox/Doxyfile brlcad/trunk/misc/tools/dom2dox/dom2dox_scanner.perplex and 2 others): remove trailing blanks/tabs; fix spellings (did further checking by searching for 'FORMULA_TRAN' |
| 15:10.43 | *** join/#brlcad hsrai (~hsrai@202.164.53.116) | |
| 15:18.04 | *** join/#brlcad hcurtis (b82d188d@gateway/web/freenode/ip.184.45.24.141) | |
| 15:21.44 | hcurtis | I am converting some of the elements of BRL-CAD's fast4-g.c from stack allocated to dynamically allocated. Here is the latest version of my code: http://paste.lisp.org/+32BJ |
| 15:22.15 | hcurtis | Any feedback is welcome. I can show you my entire revised version of fast4-g.c if you'd like. |
| 15:43.44 | *** join/#brlcad clock (~clock@77-58-143-135.dclient.hispeed.ch) | |
| 15:56.53 | *** join/#brlcad mihaineacsu (~mihaineac@92.85.193.175) | |
| 16:02.56 | *** join/#brlcad hcurtis (b82d188d@gateway/web/freenode/ip.184.45.24.141) | |
| 16:04.43 | *** join/#brlcad cwstirk (~charlie@c-24-9-78-79.hsd1.co.comcast.net) | |
| 16:43.42 | *** join/#brlcad alisha (~alisha@115.244.62.94) | |
| 16:54.26 | hcurtis | The comments for the BRL-CAD macro BU_LIST_INSERT say, "To put [a] new item at the tail of [a] list, insert [it] before the head." This doesn't make sense to me. I thought that in order to put something at the tail of a list, you would put it AFTER its head. I tried to find information that would clarify this, but I could not. Would anyone here be willing to offer an explanation? |
| 17:08.16 | *** join/#brlcad albertcoder (~albertcod@202.164.53.117) | |
| 17:19.39 | Notify | 03BRL-CAD:zhaoanqing * 61360 (brlcad/branches/nmgreorg/src/libged/facetize.c brlcad/branches/nmgreorg/src/librt/primitives/nmg/nmg_bool.c brlcad/branches/nmgreorg/src/librt/primitives/nmg/nmg_inter.c): this is just a intermediate state for discuss about the change of nmg_bool routine. |
| 17:19.52 | *** join/#brlcad sofat (~sofat@202.164.53.117) | |
| 17:37.35 | albertcoder | hsrai, I have made this extension http://202.164.53.122/~albertcoder/mediawiki-1.22.6/index.php/Special:Mat_ext |
| 17:38.15 | albertcoder | Please check it, this might require a lot of improvements. |
| 17:39.03 | albertcoder | I have also displayed all the materials and values of their traits. |
| 17:40.26 | mihaineacsu | hcurtis: If you read the comment block at the beginning of the file you'll notice it mentions this at some point: "...This results in a doubly-linked circular..." |
| 17:42.43 | hcurtis | mihaineacsu: Hi, mihaineacsu. Thank you for responding. I'll re-read that comment block. |
| 17:43.12 | mihaineacsu | hcurtis: http://pages.cs.wisc.edu/~hasti/cs367-1/readings/Linked-Lists/index.html#circular the picture there might help you get a better idea |
| 17:44.32 | hcurtis | Very cool. Thank you, mihaineacsu. |
| 17:44.52 | mihaineacsu | hcurtis: is it a bit clearer? |
| 17:45.13 | hcurtis | I'm still reading. |
| 18:00.33 | *** join/#brlcad vladbogo (~vlad@5-12-100-51.residential.rdsnet.ro) | |
| 18:26.15 | *** join/#brlcad clock (~clock@77-58-143-135.dclient.hispeed.ch) | |
| 18:28.18 | *** join/#brlcad ries (~rvt@190.131.116.16) | |
| 18:55.31 | *** join/#brlcad albertcoder (~albertcod@202.164.53.117) | |
| 19:04.22 | *** join/#brlcad kintel (~kintel@unaffiliated/kintel) | |
| 19:05.08 | andrei_ | linii |
| 19:13.34 | *** join/#brlcad albertcoder (~albertcod@202.164.53.117) | |
| 19:24.41 | vladbogo | hi all |
| 19:25.27 | vladbogo | starseeker: I have a question regarding the open_existing function |
| 19:26.39 | vladbogo | I've seen that the existing functions are declared in fb.h and that there is a fixme regarding them |
| 19:28.18 | vladbogo | so I was thinking about creating a new qt header to include the function but I don't think that this is the best solution |
| 19:28.33 | vladbogo | what do you think? |
| 19:36.24 | Notify | 03BRL-CAD Wiki:Albertcoder * 7349 /wiki/User:Albertcoder/GSoC2014/logs: /* Week 5 */ |
| 20:00.43 | Notify | 03BRL-CAD Wiki:Inderpreet * 7350 /wiki/User:Inderpreet/GSoC14/logs: /* Week 5 */ |
| 20:09.24 | *** join/#brlcad piyushparkash (~piyushpar@117.214.221.18) | |
| 20:38.29 | Notify | 03BRL-CAD Wiki:Popescu.andrei1991 * 7351 /wiki/User:Popescu.andrei1991/devlogs2014: /* Week 5 */ |
| 20:49.29 | Notify | 03BRL-CAD Wiki:Ankeshanand * 7352 /wiki/User:Ankeshanand/GSoC14/logs: /* Update Logs */ |
| 21:14.54 | *** part/#brlcad ishwerdas (~ishwerdas@59.91.238.3) | |
| 21:21.15 | *** join/#brlcad piyush__ (~piyushpar@117.214.221.18) | |
| 21:21.54 | *** join/#brlcad piyushparkash (~piyushpar@117.214.221.18) | |
| 21:23.37 | Notify | 03BRL-CAD Wiki:Vladbogolin * 7353 /wiki/User:Vladbogolin/GSoC2014/Logs: /* Week 5 */ |
| 21:34.50 | *** join/#brlcad vladbogo (~vlad@5-12-100-51.residential.rdsnet.ro) | |
| 21:45.24 | *** join/#brlcad vladbogo (~vlad@5-12-100-51.residential.rdsnet.ro) | |
| 22:18.31 | *** join/#brlcad FreezingCold (~FreezingC@135.0.41.14) | |