No subject


Mon Aug 10 18:29:21 EDT 2009


servers, sources, filters,...

'Hope that helps.

Jerome


2009/9/11 young_jh123 <young_jh123 at qq.com>

>
>  I use Paraview on Windows.I want to render a vtk object on the Paraview
> gui,not the vtk window.
> I don't konw if the servermanager can do it.Just like below:
>
> plato = vtkPlatonicSolodSource()
> plate.SetSolidType(3)
>
> what should I do next to add the plato on the pipeline browser,and render
> it ?
> 2009-09-11
> ------------------------------
> young_jh123
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>

--00032555a9febb6493047349a62c
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi,<br><br>find attached an xml that exposes the vtkPlatonicSolidSource in =
the paraview sources menu. Load it from the tools-&gt;&quot;Manage plugins&=
quot; menu. At least it will allow you to create a platonic solid in paravi=
ew GUI. But I don&#39;t understand why you want to ask for it in C++.<br>
Maybe you want a plugin (autostart or toolbar) to do that ? If yes, take a =
look at the object builder :<br>=A0=A0 pqApplicationCore* core =3D pqApplic=
ationCore::instance();<br>=A0=A0 pqObjectBuilder* builder =3D core-&gt;getO=
bjectBuilder();<br>
<br>From current core instance&#39;s object builder, you will be able to cr=
eate servers, sources, filters,...<br><br>&#39;Hope that helps.<br><br>Jero=
me<br><br><br><div class=3D"gmail_quote">2009/9/11 young_jh123 <span dir=3D=
"ltr">&lt;<a href=3D"mailto:young_jh123 at qq.com">young_jh123 at qq.com</a>&gt;<=
/span><br>
<blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, =
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">





<div style=3D"margin: 10px; font-family: verdana; font-size: 10pt;">
<div><font size=3D"2" face=3D"Verdana"></font>=A0</div>
<div><font size=3D"2" face=3D"Verdana">
<div><font size=3D"2">I use Paraview on Windows.I want to render a vtk obje=
ct on the=20
Paraview gui,not the vtk window.</font></div>
<div><font size=3D"2">I don&#39;t konw if the servermanager can do it.Just =
like=20
below:</font></div>
<div><font size=3D"2"></font>=A0</div>
<div><font size=3D"2">plato =3D=A0vtkPlatonicSolodSource()</font></div>
<div><font size=3D"2">plate.SetSolidType(3)</font></div>
<div><font size=3D"2"></font>=A0</div>
<div><font size=3D"2">what should I do=A0next=A0to add the plato on the=20
pipeline browser,and render it ?</font></div></font></div>
<div align=3D"left"><font size=3D"2" color=3D"#c0c0c0" face=3D"Verdana">200=
9-09-11=20
</font></div><font size=3D"2" face=3D"Verdana">
<hr style=3D"width: 122px; height: 2px;" size=3D"2" align=3D"left">

<div><font size=3D"2" color=3D"#c0c0c0" face=3D"Verdana"><span>young_jh123<=
/span>=20
</font></div></font></div>
<br>_______________________________________________<br>
Powered by <a href=3D"http://www.kitware.com" target=3D"_blank">www.kitware=
.com</a><br>
<br>
Visit other Kitware open-source projects at <a href=3D"http://www.kitware.c=
om/opensource/opensource.html" target=3D"_blank">http://www.kitware.com/ope=
nsource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href=3D"ht=
tp://paraview.org/Wiki/ParaView" target=3D"_blank">http://paraview.org/Wiki=
/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href=3D"http://www.paraview.org/mailman/listinfo/paraview" target=3D"_bl=
ank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br>

--00032555a9febb6493047349a62c--
--00032555a9febb649a047349a62e
Content-Type: text/xml; charset=US-ASCII; name="PlatonicSolidSource.xml"
Content-Disposition: attachment; filename="PlatonicSolidSource.xml"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_fzgpghqp0

PFNlcnZlck1hbmFnZXJDb25maWd1cmF0aW9uPg0KICAgPFByb3h5R3JvdXAgbmFtZT0ic291cmNl
cyI+DQoNCiAgICAgIDwhLS0gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09IC0tPg0KICAgICAgPFNvdXJjZVByb3h5IG5hbWU9
IlBsYXRvbmljU29saWRTb3VyY2UiIGNsYXNzPSJ2dGtQbGF0b25pY1NvbGlkU291cmNlIg0KICAg
ICAgICAgICAgICAgICAgIGxhYmVsPSJQbGF0b25pYyBTb2xpZCI+DQogICAgICAgICA8RG9jdW1l
bnRhdGlvbg0KICAgICAgICAgICAgICAgICAgICAgICBsb25nX2hlbHA9IkNyZWF0ZSBhIHBsYXRv
bmljIHNvbGlkIChlLmcuLCBjdWJlLCANCiAgICAgICAgICAgICAgICAgICAgICAgaWNvc2FoZWRy
b24sIGV0Yy4pIg0KICAgICAgICAgICAgICAgICAgICAgICBzaG9ydF9oZWxwPSJDcmVhdGUgYSBw
bGF0b25pYyBzb2xpZCI+DQogICAgICAgICAgICBHZW5lcmF0ZXMgb25lIG9mIHRoZSBmaXJzdCBm
aWZ0aCBwbGF0b25pYyBzb2xpZCBhcyBhIHZ0a1BvbHlEYXRhIC0NCiAgICAgICAgICAgIFRldHJh
aGVkcm9uLCBDdWJlLCBPY3RhaGVkcm9uLCBJY29zYWhlZHJvbiBhbmQgRG9kZWNhaGVkcm9uDQog
ICAgICAgICA8L0RvY3VtZW50YXRpb24+DQogICAgICAgICA8SW50VmVjdG9yUHJvcGVydHkNCiAg
ICAgICAgICAgICAgICAgICAgICAgICAgIG5hbWU9IlNvbGlkVHlwZSINCiAgICAgICAgICAgICAg
ICAgICAgICAgICAgIGNvbW1hbmQ9IlNldFNvbGlkVHlwZSINCiAgICAgICAgICAgICAgICAgICAg
ICAgICAgIG51bWJlcl9vZl9lbGVtZW50cz0iMSINCiAgICAgICAgICAgICAgICAgICAgICAgICAg
IGRlZmF1bHRfdmFsdWVzPSIzIj4NCiAgICAgICAgICAgIA0KICAgICAgICAgICAgPEVudW1lcmF0
aW9uRG9tYWluIG5hbWU9ImVudW0iPg0KICAgICAgICAgICAgICAgPEVudHJ5IHZhbHVlPSIwIiB0
ZXh0PSJUZXRyYWhlZHJvbiIvPg0KICAgICAgICAgICAgICAgPEVudHJ5IHZhbHVlPSIxIiB0ZXh0
PSJDdWJlIi8+DQogICAgICAgICAgICAgICA8RW50cnkgdmFsdWU9IjIiIHRleHQ9Ik9jdGFoZWRy
b24iLz4NCiAgICAgICAgICAgICAgIDxFbnRyeSB2YWx1ZT0iMyIgdGV4dD0iSWNvc2FoZWRyb24i
Lz4NCiAgICAgICAgICAgICAgIDxFbnRyeSB2YWx1ZT0iNCIgdGV4dD0iRG9kZWNhaGVkcm9uIi8+
DQogICAgICAgICAgICA8L0VudW1lcmF0aW9uRG9tYWluPg0KICAgICAgICAgICAgPERvY3VtZW50
YXRpb24+DQogICAgICAgICAgICAgICBUaGlzIHByb3BlcnR5IHNwZWNpZmllcyB0aGUgdHlwZSBv
ZiB0aGUgcGxhdG9uaWMgc29saWQuDQogICAgICAgICAgICA8L0RvY3VtZW50YXRpb24+DQogICAg
ICAgICA8L0ludFZlY3RvclByb3BlcnR5Pg0KICAgICAgICAgDQogICAgICA8L1NvdXJjZVByb3h5
Pg0KICAgICAgPCEtLSBFbmQgUGxhdG9uaWNTb2xpZFNvdXJjZSAtLT4NCiAgICAgIA0KICAgPC9Q
cm94eUdyb3VwPg0KICAgPCEtLSBFbmQgU291cmNlcyBHcm91cCAtLT4NCjwvU2VydmVyTWFuYWdl
ckNvbmZpZ3VyYXRpb24+
--00032555a9febb649a047349a62e--


More information about the ParaView mailing list