<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word" xmlns:st1 =
"schemas-fourth-com/fourthcoffee2"><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content=Word.Document name=ProgId>
<META content="MSHTML 5.00.3103.1000" name=GENERATOR>
<META content="Microsoft Word 10" name=Originator><LINK
href="cid:filelist.xml@01C14881.68527520" rel=File-List><o:SmartTagType
name="flavor2" namespaceuri="schemas-fourth-com/fourthcoffee2"></o:SmartTagType><!--[if gte mso 9]><xml>
<o:OfficeDocumentSettings>
<o:DoNotRelyOnCSS/>
</o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:SpellingState>Clean</w:SpellingState>
<w:GrammarState>Clean</w:GrammarState>
<w:DocumentKind>DocumentEmail</w:DocumentKind>
<w:EnvelopeVis/>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:UseFELayout/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]--><!--[if !mso]>
<STYLE>st1\:* {
        BEHAVIOR: url(#default#ieooui)
}
</STYLE>
<![endif]-->
<STYLE>@font-face {
        font-family: SimSun;
}
@font-face {
        font-family: \@SimSun;
}
P.MsoNormal {
        FONT-FAMILY: "Times New Roman"; FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; mso-style-parent: ""; mso-pagination: widow-orphan; mso-fareast-font-family: SimSun
}
LI.MsoNormal {
        FONT-FAMILY: "Times New Roman"; FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; mso-style-parent: ""; mso-pagination: widow-orphan; mso-fareast-font-family: SimSun
}
DIV.MsoNormal {
        FONT-FAMILY: "Times New Roman"; FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; mso-style-parent: ""; mso-pagination: widow-orphan; mso-fareast-font-family: SimSun
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline; text-underline: single
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline; text-underline: single
}
SPAN.EmailStyle17 {
        COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal-compose; mso-style-noshow: yes; mso-ansi-font-size: 10.0pt; mso-bidi-font-size: 10.0pt; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial; mso-bidi-font-family: Arial
}
SPAN.GramE {
        mso-style-name: ""; mso-gram-e: yes
}
DIV.Section1 {
        page: Section1
}
</STYLE>
<!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
        {mso-style-name:"Table Normal";
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-parent:"";
        mso-padding-alt:0in 5.4pt 0in 5.4pt;
        mso-para-margin:0in;
        mso-para-margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Times New Roman";}
</style>
<![endif]--></HEAD>
<BODY bgColor=#ffffff lang=EN-US link=blue style="tab-interval: .5in"
vLink=purple>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=748201217-29092001>Hi
Malcolm,</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=748201217-29092001></SPAN></FONT> </DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=748201217-29092001>
Thanks for the reply. I looked at vtkProgrammableGlyphFilter. I think I
understand what's going on. Following the tcl example included in the
distribution, I used vtkTransform, vtkTransformPolyDataFilter, and
vtkProgrammableGlyphFilter. I am using Java, so when it comes to setting the
GlyphMethod, I am lost at mapping to Java code. (I'm not sure how I can pass the
address of a method, since in C++ I could use &proc_name, but I don't have
an & in Java) </SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=748201217-29092001>Anyway, leaving implementation issue behind, do I seem
to be on the right track though? Back to the implementation issue, would you
happen to be using Java, or something other than tcl? If so, would you have any
suggestions on how this can be approached? Thank you for your
help.</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=748201217-29092001></SPAN></FONT> </DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=748201217-29092001>jiaye</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=748201217-29092001></SPAN></FONT> </DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=748201217-29092001></SPAN></FONT> </DIV>
<DIV align=left class=OutlookMessageHeader dir=ltr><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B>
vtkusers-admin@public.kitware.com
[mailto:vtkusers-admin@public.kitware.com]<B>On Behalf Of </B>Malcolm
Drummond<BR><B>Sent:</B> Saturday, September 29, 2001 6:14 AM<BR><B>To:</B>
vtkusers<BR><B>Subject:</B> Re: [vtkusers] picking individual spheres in 3D
glyph<BR><BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Hi Jiaye</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>I use spheres to represent multiple seismic events
with one actor. I get around picking by using a programmable glyph filter and
building a lookup-table based on cell-ids on each iteration of the GlyphMethod.
When you do a pick on the actor you can then get the id of your input point from
the id of the picked cell.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I hope this helps</FONT></DIV>
<DIV><FONT size=2><FONT face=Arial>Malcolm<FONT color=#0000ff><SPAN
class=748201217-29092001> </SPAN></FONT></FONT></FONT><FONT size=2><FONT
face=Arial><FONT color=#0000ff><SPAN
class=748201217-29092001> </SPAN></FONT></FONT></FONT></DIV></BODY></HTML>