[Paraview] Re: Camera Actor

Olesen, Mark Mark . Olesen at arvinmeritor . com
Thu, 20 Nov 2003 18:38:58 +0100


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C3AF8D.2DB768B0
Content-Type: text/plain

> Is there a way to set a precise camera location/orientation.

> Using the camera actor, I can easily set +/- X/Y/Z.

> For the next step I would like to rotate a specific number of degrees
about

> a global axis or about the viewpoint axis.

 

Since there is apparently no easy way of doing this directly within the
current paraview framework (otherwise I would have been flooded with
answers), could someone advise me where to start if I wanted to implement
this functionality myself.

The vtkCamera class (C++) has all the useful functions: eg, ( Get | Set) (
ViewPlaneNormal | Roll | Yaw ) etc.

And they are actually exported to the tcl wrapper, but I cannot understand
how/where they are actually bound into paraview.

Where, and in which form, should I start trying to monkey with widget?

 

Cheers,

/mark

 

Dr. Mark Olesen

Thermofluid Dynamics Analyst

ArvinMeritor Light Vehicle Systems

Zeuna Staerker GmbH & Co. KG

Biberbachstr. 9

D-86154 Augsburg, GERMANY

tel: +49 (821) 4103 - 862

fax: +49 (821) 4103 - 7862

Mark . Olesen at ArvinMeritor . com <mailto:Mark . Olesen at ArvinMeritor . com> 

 


------_=_NextPart_001_01C3AF8D.2DB768B0
Content-Type: text/html

<html>

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">


<meta name=Generator content="Microsoft Word 10 (filtered)">

<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:navy;
	text-decoration:underline;}
span.EmailFormatvorlage17
	{font-family:Arial;
	color:windowtext;}
@page Section1
	{size:612.0pt 792.0pt;
	margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=DE link=blue vlink=navy>

<div class=Section1>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>&gt; Is there a way to set a precise camera
location/orientation.</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>&gt; Using the camera actor, I can easily set +/-
X/Y/Z.</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>&gt; For the next step I would like to rotate a
specific number of degrees about</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>&gt; a global axis or about the viewpoint axis.</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Since there is apparently no easy way of doing this
directly within the current paraview framework (otherwise I would have been
flooded with answers), could someone advise me where to start if I wanted to
implement this functionality myself.</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>The vtkCamera class (C++) has all the useful
functions: eg, ( Get | Set) ( ViewPlaneNormal | Roll | Yaw ) etc.</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>And they are actually exported to the tcl wrapper, but
I cannot understand how/where they are actually bound into paraview.</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Where, and in which form, should I start trying to
monkey with widget?</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Cheers,</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>/mark</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Dr. Mark Olesen</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Thermofluid Dynamics Analyst</span></font></p>

<p class=MsoNormal><strong><b><font size=2 color=red face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:red'>ArvinMeritor Light Vehicle
Systems</span></font></b></strong></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Zeuna Staerker GmbH &amp; Co. KG</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Biberbachstr. 9</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>D-86154 Augsburg, GERMANY</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>tel: +49 (821) 4103 - 862</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>fax: +49 (821) 4103 - 7862</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><a href="mailto:Mark . Olesen at ArvinMeritor . com">Mark . Olesen at ArvinMeritor . com</a></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;</span></font></p>

</div>

</body>

</html>

------_=_NextPart_001_01C3AF8D.2DB768B0--