Guest xionmark Posted November 1, 2004 Share Posted November 1, 2004 Hi all, I've got a question about the correct way to retrieve the XformOrder from a node. When I looked up the OP_NODE::getXformOrder() method, so I can retrieve the correct XformOrder, I'm not sure what to do with the second parameter to the method, the *chp pointer: virtual void getXformOrder (UT_XformOrder &xord, CH_Channel *chp) Is this the right method to call to get the XformOrder? It's the only one I found. And if so, what's your recommendation for the *chp parameter? Or, maybe this isn't the right method to be calling ...? Thanks! --Mark Quote Link to comment Share on other sites More sharing options...
George Posted November 2, 2004 Share Posted November 2, 2004 Hi Mark, If you have an OBJ_Node, you should be able to use getXformOrder() with a NULL for chp. Or you could use OP_Node::buildXformOrder(). OBJ_Node has TRS() and XYZ() you can use to get the two first int values for that function. I'm not really sure what the channel pointer is used for in getXformOrder(). Hope that helps, George. Quote Link to comment Share on other sites More sharing options...
Guest xionmark Posted November 2, 2004 Share Posted November 2, 2004 Hi George, Yes, this helps a lot! Thanks, I'll give it a try today. --Mark Quote Link to comment Share on other sites More sharing options...
TheUsualAlex Posted November 2, 2004 Share Posted November 2, 2004 Izzat you, George E? Quote Link to comment Share on other sites More sharing options...
George Posted November 3, 2004 Share Posted November 3, 2004 Izzat you, George E? 14704[/snapback] Um.. yes... or am I? Quote Link to comment Share on other sites More sharing options...
Guest xionmark Posted November 3, 2004 Share Posted November 3, 2004 If you have an OBJ_Node, you should be able to use getXformOrder() with a NULL for chp. Hi George, Works great! Thanks again! --Mark Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.