How to know what vertex index is picked on a Geometry?

I am trying to get the Texture coordinates which is picked on a geometry but I have got stuck to know what vertex index is picked.
My code:
pickCanvas.setShapeLocation((MouseEvent) event);
PickResult pickResult = pickCanvas.pickClosest();
Node node = pickResult.getObject();
GeometryArray geoArr = (GeometryArray)((Shape3D)node).getGeometry();
TexCoord2f texCoord = new TexCoord2f();
geoArr.getTextureCoordinate(0, ?, texCoord);Java doc said:
Class GeometryArray
public void getTextureCoordinate(int texCoordSet, int index, TexCoord3f texCoord)
Gets the texture coordinate associated with the vertex at the specified index in the specified texture coordinate set for this object.
Parameters:
texCoordSet - texture coordinate set in this geometry array
index - source vertex index in this geometry array
texCoord - the vector that will receive the texture coordinates
Thanks in advance.

I am trying to get the Texture coordinates which is picked on a geometry but I have got stuck to know what vertex index is picked.
My code:
pickCanvas.setShapeLocation((MouseEvent) event);
PickResult pickResult = pickCanvas.pickClosest();
Node node = pickResult.getObject();
GeometryArray geoArr = (GeometryArray)((Shape3D)node).getGeometry();
TexCoord2f texCoord = new TexCoord2f();
geoArr.getTextureCoordinate(0, ?, texCoord);Java doc said:
Class GeometryArray
public void getTextureCoordinate(int texCoordSet, int index, TexCoord3f texCoord)
Gets the texture coordinate associated with the vertex at the specified index in the specified texture coordinate set for this object.
Parameters:
texCoordSet - texture coordinate set in this geometry array
index - source vertex index in this geometry array
texCoord - the vector that will receive the texture coordinates
Thanks in advance.

Similar Messages

  • How to know what were line item dimensions

    Dear SDN,
    How to know what were made line item dimensions.
    Thankyou.

    Rahul,
    Go to the edit mode of your info cube and then check out your dimensions, there if the line item dimension check box is checked then it means that, that particular dimension is a Line item dimension.
    Regards,
    Gattu

  • HT5457 How I know what model is my iPad ?

    How I know what model is my iPad

    Go to support.apple.com/kb/HT5452
    I hope I helped!!!

  • How to know what are all the Webservices available in P6V7

    Hi All,
    How to know what are the webservices available for integration in P6V7?
    Thanks,
    RR

    Information on Web Services for P6 are available in the Reference Manual that get installed along with P6 Web Service software. you will find the complete list there.
    Sachin

  • How to know what reports are running by looking at SSReproting Services to see what reports are running and also any clue of which application is using the reporting services?

    How to know what reports are running by looking at SSReproting Services to see what reports are running and also any clue of which application is using the reporting services?

    To see what reports are running, take a look at the execution log views that are available in the database.  Which views that are available are dependent on your version of SSRS.
    http://technet.microsoft.com/en-us/library/ms159110.aspx
    To see which application is using SSRS is a little more difficult.  You can turn HTTP logging on, which will give you an idea of where connections are coming from, so you can see IP addresses.  You can also look at the execution log view to see
    user accounts.  So, depending on your environment and use of service accounts, this could be easy, or difficult.
    http://technet.microsoft.com/en-us/library/bb630443.aspx
    If all else fails you can look for clues in the SSRS logs.  Good luck...

  • How i know what my collection in adobe ?..

    Hello !
    week ago i buy my first mac
    and the people give me some collection of adobe about 16 software.
    he say it's all the softwares adobe has..
    but theres no after effects that i really need.
    i search in the adobe site the collection of mine..
    i think it's the premium beacuse all the software in the premium i have (just not premier and after effects).
    how i know what my collection ? and how to download after effects if it's the premium collection ?
    thank, tom.

    Hi Helen,
    At the Apple Icon at top left>About this Mac, then click on More Info, then click on Software>Applications.
    Unless you mean the OS version, then the Apple Icon at top left>About this Mac will tell you.

  • How  I know what stored in my iCloud

    How  I know what stored in my iCloud?

    Check Settings>iCloud>Storage & Backup>Manage Storage.  If you want to see the actual data, look in the apps on your device that correspond to the data you are syncing (mail, contacts, calendars, notes, reminders, etc.).

  • How to know what database components have been installed on my database?

    How to know what database components that have been installed on my database using SQL*PLUS tool? (10g 10.2.0)
    Edited by: frank.qian on Nov 8, 2008 10:55 PM

    Hi..
    >
    SQL> select comp_name,comp_id,version,status from dba_registry;
    select comp_name,comp_id,version,status from dba_registry
    The error on the first line:
    ORA-00942:The table or view not exis.
    >
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Prod
    PL/SQL Release 10.2.0.4.0 - Production
    CORE    10.2.0.4.0      Production
    TNS for 32-bit Windows: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    sys >desc dba_registry
    Name                                                                                                      Null?    Type
    COMP_ID                                                                                                   NOT NULL VARCHAR2(30)
    COMP_NAME                                                                                                          VARCHAR2(255)
    VERSION                                                                                                            VARCHAR2(30)
    STATUS                                                                                                             VARCHAR2(11)
    MODIFIED                                                                                                           VARCHAR2(20)
    NAMESPACE                                                                                                 NOT NULL VARCHAR2(30)
    CONTROL                                                                                                   NOT NULL VARCHAR2(30)
    SCHEMA                                                                                                    NOT NULL VARCHAR2(30)
    PROCEDURE                                                                                                          VARCHAR2(61)
    STARTUP                                                                                                            VARCHAR2(8)
    PARENT_ID                                                                                                          VARCHAR2(30)
    OTHER_SCHEMAS                                                                                                      VARCHAR2(4000)
    sys >select COMP_ID,COMP_NAME,VERSION,STATUS from dba_registry;
    COMP_ID                        COMP_NAME                      VERSION      STATUS
    CATALOG                        Oracle Database Catalog Views  10.2.0.4.0   VALID
    CATPROC                        Oracle Database Packages and T 10.2.0.4.0   VALID
                                   ypes
    OWM                            Oracle Workspace Manager       10.2.0.4.3   VALID
    JAVAVM                         JServer JAVA Virtual Machine   10.2.0.4.0   VALID
    XML                            Oracle XDK                     10.2.0.4.0   VALID
    CATJAVA                        Oracle Database Java Packages  10.2.0.4.0   VALID
    EXF                            Oracle Expression Filter       10.2.0.4.0   VALID
    ODM                            Oracle Data Mining             10.2.0.4.0   VALID
    CONTEXT                        Oracle Text                    10.2.0.4.0   VALID
    XDB                            Oracle XML Database            10.2.0.4.0   VALID
    RUL                            Oracle Rules Manager           10.2.0.4.0   VALID
    ORDIM                          Oracle interMedia              10.2.0.4.0   VALID
    APS                            OLAP Analytic Workspace        10.2.0.4.0   VALID
    XOQ                            Oracle OLAP API                10.2.0.4.0   VALID
    AMD                            OLAP Catalog                   10.2.0.4.0   VALID
    SDO                            Spatial                        10.2.0.4.0   VALID
    EM                             Oracle Enterprise Manager      10.2.0.4.0   VALID

  • C++ How to know what link is clicked on a Balloon tooltip after handle the TTN_LINKCLICK message

    switch (msg) {
    case WM_NOTIFY:
    NMHDR* nmhdr = (LPNMHDR)lparam;
    switch(nmhdr->code) {
    case TTN_LINKCLICK:
    <code>
    return TRUE;
    I'm able to trap the TTN_LINKCLICK notification. However I would like to retrieve the URL text link that was clicked.
    How to know what link is clicked on a Balloon tooltip after handle the TTN_LINKCLICK message ?
    MCunha

    Basically you don't know what link was clicked.  If you need more than one link, you may need to use a different UI element to display it, like a dialog or some sort of other popup window that you have control over.

  • HT1338 how i know what software is in my mac

    how i know what software is in my mac

    Hi Helen,
    At the Apple Icon at top left>About this Mac, then click on More Info, then click on Software>Applications.
    Unless you mean the OS version, then the Apple Icon at top left>About this Mac will tell you.

  • How to know what CBO programs uses transaction codes

    Hello Everyone,
    How to know what CBO programs uses transaction codes?
    Thanks for the help!

    Hi,
    Please clarify your question ....
    for e.g. give program name

  • How to know what are the privs for one custom schema?

    how to know what are the privs for one custom schema?
    please suggest me......

    Hi,
    Check this user_sys_privs
    Cheers
    Pavan Kumar N

  • How to know what applications are currently running !!

    how to know what applications are currently running !!

    if it is in linux use "ps(Process Status)" command to know what is running currently.... for more see this link
    http://www.computerhope.com/unix/ups.htm

  • I couldn't update os in ipad1,how to know what apps are supported in os5

    HOw to know what apps supported by iPad 1

    Try this link to find apps whose current version is compatible with iOS 5.1.1 and below : https://sites.google.com/site/appleclubfhs/support/advice-and-articles/finding-a pps-for-older-devices#5.1.1
    Some developers allow you to download older compatible versions of their apps, so if it's an app is free you could try downloading the current version on your computer's iTunes and see if you can then download a previous compatible version via the Purchased tab in the App Store app on your iPad : Install the latest compatible version of an app on an earlier version of iOS or OS X - Apple Support . If the app is paid-for then contact the developer first and see if that will work, don't buy it and then find that it doesn't

  • How to know what ActiveX references are still open

    Okay, so I'm about the millionth person to post about this topic, but I feel like I know what I should be doing, but have hit a wall.  I have read through pretty much everything I could find in the forums about references and ActiveX.
    I am communicating with Excel via ActiveX, and everything works seemlessly, until I realized that if the user closes the Excel sheet (via an "exit" button on my FP), the "EXCEL.exe" process is still running.  I've read enough to know that this probably points to a reference that I have not closed.
    Problem is, I have poured over my code, and as far as I can tell, I have closed every reference, in the opposite order it was opened (as I read to do in a post earlier).
    Aside from casting references to int's to see what is still considered "active" (as I mentioned earlier, all the ones I can find are closed, so this doesn't help me), is there a way to determine which ActiveX references are still open?
    Even a way outside of LV?  A Microsoft utility even or ...well anything!  This is very annoying, and I know it should be quick and easy, I just have to know what is remaining open.
    Or, am I missing something else that might be keeping EXCEL.exe running?  (yes, I have an application quit and close the application reference)
    Thanks for any help

    Hi Will,
    As you said it yourself closing the same number of references as you open and using Application Quit should be enough to close down Excel.exe.
    Did you run your code in highlight execution to see how the behavior of your program changes when you hit the "Exit" button on your Front Panel?
    If you can post the minimum amount of code that reproduces the error, I will be more than happy to take a look at it.
    Best regards,
    Message Edited by Kalin T on 12-07-2006 03:11 PM
    Kalin T.
    National Instruments
    Attachments:
    activex_excel.jpg ‏16 KB

Maybe you are looking for

  • How to import xls file to BPA11gR1

    I got business flow from customer,one xml and one xls file. I imported xml file as following: New a database. Run BPA(11gR1) and open above database. Right-click on the group and select Evaluate/Start macro. The Macro Wizard opens. Select the "Import

  • Php mysql integration with workgroup manager

    Hello, I run a non-profit arts organization. We have active and inactive members that are tracked with a php mysql web app that I wrote. I was wondering how I could query the workgroup manager from php to make the inactive members not be able to logi

  • For Red LED's What does it mean

    I don't have my manual  and every once in a great while when I trun this beast on my puter locks no video no sounds I mean beeps but just for red LED's My mobo is kt266 pro 2 tbird 1700+ kingston 512 CL 2.5

  • Urgent:posting not possible in IM

    Dear all, I am using decentralised warehouse mgmt system, while doing goods receipt , i am getting the following error message as posting not possible in IM for Le-Idw. Kindly guide me

  • XSL and namespaces

    Maybe I should ask this one some XML forum, but I'm using the Java 1.6 standard XSLT engine, and maybe this is its berhavior. Anyhow, what I want is the transform the XML notation of Excel and that didn't work. I've simplified it all to get to the pr