How get the the joint x,y,z coordinates in c#

 I need to know how to get the joint (hands)  x, y, z, coordinates in C#, and showing on the
screen .Can someone help me?

Have a look at the BodyBasics sample that comes with the SDK, it shows how to get the skeletal joints and draw then on the screen.
Brekel

Similar Messages

  • How get the user initiador in gp?

    hi all
    How get the user initiator of a process GP with a Web Dynpro Callable Object?
    because with this code I get the current user...
    IWDClientUser wdUser = WDClientUser.getCurrentUser();
    IUser user = wdUser.getSAPUser();
    String userid = user.getUniqueID();
    thanks!

    Hi,
    processId is the design time template id of the process. This you can find in the instantiation tab while designing the process.
    Code for getting user context:
    IWDClientUser wdUser = WDClientUser.getCurrentUser();
                   IUser user = wdUser.getSAPUser();
                   IGPUserContext userContext = GPContextFactory.getContextManager()
                             .createUserContext(user);
                   IGPRuntimeManager rtm = GPProcessFactory.getRuntimeManager();
    Hope it helps.
    Regards,
    Srinivasan Subbiah

  • How to get the x1,y1 and z1 coordinates out of an sdo_geometry object?

    Hello,
    i have stored several boxes into an sdo_geometry object like the following:
    mdsys.sdo_geometry(3003,null,null,
    mdsys.sdo_elem_info_array(1,1003,3),
    mdsys.sdo_ordinate_array(x1,y1,z1,x2,y2,z2)
    now i would like to get the x1,y1,z1 coordinates from the boxes. how can i get them with a simple sql-statement?
    When i do "SELECT v.shape.sdo_ordinates ..." then i get a sdo_ordinate_array. But how can i get only the first coorinates?
    I know how it works to get x1,y1 and z1 over a java-prog. But i want to get them with a sql-statement as i also want to get the min and max x1,y1,z1.
    Hope there is anybody that can help me. Thanks in advance.
    Markus Veith

    You can get coordinates from an SDO_POINT_TYPE as follows:
    SELECT      t.GEOMETRY.SDO_POINT.x,t.GEOMETRY.SDO_POINT.y
    FROM      TABLE T
    (where geometry is the geometry column and table is the geometry table, note
    that a table alias must be used.)
    Getting the coordinates from the SDO_ORDINATES is a little trickier.
    You'll need to use a loop in PL/SQL, eg:
    SET SERVEROUT ON
    DECLARE
    i number;
    j NUMBER;
    BEGIN
    FOR sel IN (SELECT <geom_column> FROM <geom_table> WHERE ROWNUM < 10) LOOP
    i := 1;
    while i < sel.<geom_column>.sdo_ordinates.count LOOP
    j:= sel.GEOMETRY.sdo_ordinates(i);
    dbms_output.put_line(j);
    i := i + 1;
    j:= sel.GEOMETRY.sdo_ordinates(i);
    end loop;
    dbms_output.put_line(j);
    END LOOP;
    END;
    This will print the SDO_ORDINATES to the SQLPLUS screen, put a WHERE clause to reduce output.
    To use these values in a query, put them in a cursor.

  • How get the all the table values to another table based on Action

    Hi All,
    I am new to webdyn pro.
    I have two tables Table1 and Table2 with context nodes Tab and Tab1.
    Table1 I have a button Save If I submit Save the data from first table to second table .
    I was written the code
    IPrivateTableScrollBar.ITabElement element;
         for(int i=0;i<10;i++)
              element=wdContext.createTabElement();
              element.setName("test"+i);
              element.setSal("100"+i);
              wdContext.nodeTab().addElement(element);
    added some data to first table.
    how can I get the all 10 rows from first table to second table  if I write wdContext.node<Element>.getName() and getSal() I can get only selected one row .how can I get the all rows in a sigle click to second table.
    please help.

    Hi mohammed,
    Use the following lines of code to iterate through the elements :
    Iprivate<your view>.I<your node1 name>Element elmt1 = null;
    Iprivate<your view>.I<your node2 name>Element elmt2 = null;
    for(int i=0;i<wdContext.node<your node1 name>().size();i++)
    elmt2 = wdContext.node<your node2 name>().create<your node2 name>Element();
    elmt1 = wdContext.node<your node1 name>().get<your node1 name>ElementAt(i);
    elmt2.set<attribute name>(elmt1.get<attribute name>);
    wdContext.node<your node2 name>().addElement(elmt2);
    Hope this helps,
    Best Regards,
    Nibu.

  • How get the RVS4000's DHCP server to assign another IP address other than its own as the default gateway to its DHCP clients?

    Hi,
    I have a RVS4000 router with DHCP enabled and in router mode. 
    The LAN is 192.168.2.x.  The RVS4000 static IP address is 192.168.2.8
    The router is not the RVS4000 and is at 192.168.2.1
    The RVS4000 dhcp is assigning it's clients a default gateway of 192.168.2.8 instead of what I want 192.168.2.1.
    How can I get the RVS4000's DHCP server to assign another IP address other than its own as the default gateway to its DHCP clients?
    Thanks

    Hi Gail, you cannot do this. The router, as the DHCP server will only assign a default gateway of what IP interface the DHCP server runs on. If you have the default IP, the gateway is 192.168.1.1. If you create a second vlan, by default it would be 192.168.2.1.
    There are not configuration options for the built-in DHCP server. If you'd like to expand this functionality, you would need an external dhcp server.
    -Tom
    Please mark answered for helpful posts

  • How get the string back?

    Hello with this code I put my string in a byte array.
    String code = "This is a testString";
    bytes[] ver = code.getBytes();
    Can someone tell me how I can get the original string back?

    I tried this
    String s = (ver);
    When I do this and try to compile I get the error that
    found byte[] required java.lang.string

  • How get the dynamic parameter values

    <p>Hi everyone. <br /><br />I have made an application to show the Crystal Report . Because the input interface is not very good, so I write an interface by myself. Now this funcation can show all static parameters. But I have some troubles with the dynamic parameters.  How to get the values of the dynamic parameters?</p><p>By the way, if I add a dynamic parameters , it will show the dadabase logon window twice. How to add the logon infomations for dynamic parameters using .net?</p><p>My develop entironment is : Crystal Report XI, RAS XI, Visual Studio 2003 c#.</p>

    See note number 1412611 in the notes database:
    https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_ossnotes&query=&adv=true
    Ludek

  • [b]PG_MIN_ROW - how get the value??[/b]

    Hi,
    How can I get the value of PG_MIN_ROW when paginating?
    I want to use the value in a Java script, how can I set a variable=pg_min_row?
    Regards
    Evelyn

    You are correct the page is not submitted when the user clicks on the NEXT or PREVIOUS links. Here are some threads that may help you:
         Re: Submit data when click on pagination
         Re: Challenge: Save "dirty" form before navigating awayMaybe what would help is if you stepped back and explained what you attempting to do at a higher-level.
    Mike

  • How get the actual hours worked by the employee in SAP.

    Hello Experts,
    How to get the actual hours worked by employee in a month.( Any infotypes or tables or fm)
    I have report to get planned hours of the employee
    Thanks and Regards
    Reddy

    Hello expert,
    I am a technical guy, I dont have functional knowledge and HR functional support is not available at the moment..
    I have requriement to develop a report to caluclate the actual night shift hours worked by the employee...
    I have report : RPTEDT00 where in I have actual hours worked day and night..
    But I am not able to find how do in my custom program from the program reference...So I want to know is there any way where in I see this data in tables or infotypes
    Thanks and Regards
    Reddy

  • How get the correct generic type from Class.forName()?

    I have:
    public class Test2 {
        void foo() throws ClassNotFoundException {
            Class<Test2> c = Class.forName("Test2");
    }Of course, this doesn't compile:
    javac -Xlint Test2.java
    Test2.java:4: incompatible types
    found   : java.lang.Class<capture#965 of ?>
    required: java.lang.Class<Test2>
            Class<Test2> c = Class.forName("Test2");Other than casting to Class and suppressing the unchecked warning, how can I get the code to do what I think should be a common use case? I try
    public class Test2 {
        void foo() throws ClassNotFoundException {
            Class<Test2> c = Class.forName("Test2").asSubclass(Test2.class);
    }Which doesn't compile either:
    javac -Xlint Test2.java
    Test2.java:4: incompatible types
    found   : java.lang.Class<capture#400 of ? extends Test2>
    required: java.lang.Class<Test2>
            Class<Test2> c = Class.forName("Test2").asSubclass(Test2.class);Not sure I understand what the javac error is about.
    Help!

    kinmanc wrote:
    This is just a simplified version of what I had. The name of the class being loaded is unknown at compile time, though it is known to implement an interface. Isn't this a common use case?Yes, its' quite common.

  • How get the condition type of PO's item

    Dear All,
    I want to get the condition type of PO's item.
    I have checked the EKPO, there is Purchasing Info Record but no Purchasing info record category(esokz) that is the key of in table A017.
    How can i get the Purchasing info record category(esokz) of PO's item?
    Thank you in advance.

    Hi,
    Purchase info records are stored in EINA and EINE table. The field you are looking for is in table EINE.
    Hope this helps.
    ashish

  • How get the current user system ?

    I want to synchronize the portal with my database; but i need to know the system
    current user to establish a relationship between UserCreator and UserCreated
    in my database

    As far as I know, you can't get that information directly
    from air.
    A strange and roundabout "hack" would be to get the string of
    the user's documents folder or desktop using
    "air.File.desktopDirectory" or "air.File.documentsDirectory" and
    parse it to get the user's name.
    This is, of course, VERY unreliable, but may be the only way
    to get the currently logged in user's name.
    Someone please correct me if I'm wrong.

  • How get the delivery details

    hi
    this is kumar, when i am picking the item i get the error APP-WSH-231032:PICK RELEASE ONLINE HAS PARTIALLY COMPLETED WITH WARNING.
    can u help regarding.
    thanks

    you can try running the pick release with debug on and using the pick release SRS option

  • How get the duration in days of 2 key figures with use  of factory calendar

    Hi all,
    in a query i have two key figures (dates!). Now i want to get the duration in days between the two dates with the use of one factory calendar.
    FYI
    I made this in the past in the update rule (...DURATION_DETERMINE..) but now in this situation i have two cubes and i want to make an report on a multicub.
    Thank you very much for any help.
    Frank

    You would probably accomplish this with a virtual key figure.  I did this and the performance was not bad.  I developed a class with a signature for 2 dates and a calendar to return the number of business days. 
    Hope that helps...

  • How get the external ip address of proxy (or nat) server with AppServer

    Subject contains the basic question.
    I need get ip adres (not in local net, but external) of client!
    Wish with AppServer only. Becoze with java it less accurate.
    Or I was wrong?
    help me please!
    Edited by: user13325288 on 29.06.2010 16:06
    Edited by: user13325288 on 29.06.2010 16:07

    Thank you, MLBrown. I have configured webutil and it works. But I read that the function webutil_clientinfo.Get_IP_Address; return address on the LAN. Address of network card in my local network. But what if I need to get the ip address if I connect through multiple networks or via the Internet??
    I need to AppServer worked with an external ip address of the server, through which I connect to the AppServer
    Edited by: Ihavoker on 30.06.2010 9:55

Maybe you are looking for

  • Error while log in to amconsole

    please tell a solution of the following error while log in to amconsole A serious error has occured in the Desktop. This may have been caused by a mis-configuration on the server. Please report this problem to your administrator. Possible cause: * Yo

  • Every time I click on a link to download an app the itunes store starts opening and then crashes? I am using google chrome.

    Every time I click on a link to download an app the itunes store starts opening and then crashes? Iam using google chrome.

  • Plugin customization from crm 4.0 to crm 2013

    Hi, can anyone advice or help me to customize CRM 4.0 plugin code where using Product class, to CRM 2013. There is not product class (crm service) in CRM 2013 and I don't know how to customize below Code to CRm 2013 plugin here i attached snip of CRm

  • HP DesignJet 5500 PS - green tint (partial ) issue

    Plotter: HP DesignJet 5500 PS 60 in We've noticed a drop in plot quality after upgrading our computers to Win 7/Win 8. The greenish tint stands out on raster ( aerial ) plots. First we blamed it on the paper we were using ( not matching the profile l

  • Migrating To Weblogic 7.0

    I am trying to migrate my application into weblogic 7.0.But the problem is weblogic 7.0 does'nt support RDBMS realm.So can anyone help me out in this.I found some stuff from the net.They say you have to write your own SecurityProvider.I am not able t