Hi Raj, I don't have time to answer extensively, just give you a pointer: look at how the transformation matrix is handled in a combination leaf. That's also a matp_t !
I will come online later today on IRC, but it will be late hours for you, so better figure it out alone ;-) Cheers, Csaba Quoting K RAJ KOUSHIK REDDY <[email protected]>: > Hi Bryan and Casba, > > First of all I would want to confess that I have no experience in handling > issues where different types of languages talking to each other and have a > luxury to share data. But I wish to learn. And your help is solicited. > > I am trying to implement the VOL primitive. > > Now I have following doubts regarding implementing : > > rt_vol_internal has matp_t mat : I saw that matp_t is supposed to contain > 4X4 matrix of double type. I didnt find a corresponding implementation in > ctypes_adaptors, should I use points in this case with pointsize = 4x4 = 16. > > This contains 5 size_t data points (xdim, ydim, zdim, lo, hi) all of which > are part of the struct and also required in the function mk_vol. > > Although the cellsize can be represented as direction from ctypes_adaptors. > > Rest are simple. > > Please guide me regarding the implementation details. Also if you can point > me to some part of code (which i am missing), or any literature that will > be helpful. > > With Best, > > Raj. > ------------------------------------------------------------------------------ Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce. With Perforce, you get hassle-free workflows. Merge that actually works. Faster operations. Version large binaries. Built-in WAN optimization and the freedom to use Git, Perforce or both. Make the move to Perforce. http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk _______________________________________________ BRL-CAD Developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/brlcad-devel
