[vtkusers] RE: vtkusers digest, Vol 1 #1311 - 10 msgs

vidya sivakumar vidya.sivakumar at quest-global.com
Fri Oct 4 09:01:55 EDT 2002


I recently ordered the vtk text book through amazon.com and got an copy of
the book.
-Vidya

-----Original Message-----
From: vtkusers-admin at public.kitware.com
[mailto:vtkusers-admin at public.kitware.com]On Behalf Of
vtkusers-request at public.kitware.com
Sent: Friday, October 04, 2002 4:14 AM
To: vtkusers at public.kitware.com
Subject: vtkusers digest, Vol 1 #1311 - 10 msgs


Send vtkusers mailing list submissions to
	vtkusers at public.kitware.com

To subscribe or unsubscribe via the World Wide Web, visit
	http://public.kitware.com/mailman/listinfo/vtkusers
or, via email, send a message with subject or body 'help' to
	vtkusers-request at public.kitware.com

You can reach the person managing the list at
	vtkusers-admin at public.kitware.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of vtkusers digest..."


Today's Topics:

   1. vtk book - out of print?? (K.R.Subramanian)
   2. events in Keyboard (=?iso-8859-1?q?marcelo=20oliveira?=)
   3. Problem with vtkCamera::GetOrientationWXYZ (Paul A Hsieh)
   4. Hi (ravi kiran)
   5. Re: Window Name (Malcolm Drummond)
   6. Re: Window Name is working (=?iso-8859-1?q?marcelo=20oliveira?=)
   7. Re: Hi (anast.jm at pg.com)
   8. Re: vtk book - out of print?? (Dave Reed)
   9. Re: Freeing memory error!!! (Koning, P.J.H. de (LKEB))
  10. vtktextmapper doesn't display text (Nils Hanssen)

--__--__--

Message: 1
Date: Thu, 03 Oct 2002 14:23:59 -0400
From: "K.R.Subramanian" <krs at cs.uncc.edu>
Organization: Univ. of N. Carolina at Charlotte
To: VTK HELP <vtkusers at public.kitware.com>
Subject: [vtkusers] vtk book - out of print??


I  was wondering if the book is in print now (our bookstore sent me a note
saying it was out of print) - I remember seeing a message that this was
being
resolved several months back.

Anyone have a clue?

    -- krs

--
K.R.Subramanian                        Phone: (704) 687-4872
Department of Computer Science         FAX:   (704) 687-4893
UNC Charlotte, CARC 311                Email: krs at cs.uncc.edu
Charlotte, NC 28223-0001               Web: http://www.cs.uncc.edu/~krs




--__--__--

Message: 2
Date: Thu, 3 Oct 2002 16:38:56 -0300 (ART)
From: =?iso-8859-1?q?marcelo=20oliveira?= <oliveira_mc at yahoo.com.br>
To: vtkusers at public.kitware.com
Subject: [vtkusers] events in Keyboard

Hi user´s

I´m try to rotate, scale and translate the objects
using keyboard,

but i´m not have success.


Where i can find examples,
What is the class that i have to use.


Tanks for you help and advaced me.


_______________________________________________________________________
Yahoo! GeoCities
Tudo para criar o seu site: ferramentas fáceis de usar, espaço de sobra e
acessórios.
http://br.geocities.yahoo.com/

--__--__--

Message: 3
To: vtkusers at public.kitware.com
From: "Paul A Hsieh" <pahsieh at usgs.gov>
Date: Thu, 3 Oct 2002 12:52:31 -0700
Subject: [vtkusers] Problem with vtkCamera::GetOrientationWXYZ


After a relatively long hiatus from this mailing list, I hope to be back on
board. I am revising an application from using VTK 3.1 to 4.0 and I ran
into an inconsistency in the result returned by
vtkCamera::GetOrientationWXYZ. This is illustrated by the following C++
sample code:

#include "vtkCamera.h"
void main()
{
    vtkCamera *cam = vtkCamera::New();
    cam->SetPosition(40.5388, -58.1675, 36.4357);
    cam->SetFocalPoint(12.5875, 11.3799, 10.3485);
    cam->SetViewUp(-0.221512, 0.263181, 0.938972);
    cam->ComputeViewPlaneNormal();  // Needed for VTK 3.1
    cam->OrthogonalizeViewUp();
    float *wxyz = cam->GetOrientationWXYZ();
    cout << wxyz[0] << " " << wxyz[1] << " " << wxyz[2] << " " << wxyz[3];
}

When run using VTK 4.0 (nightly release, Oct 1, 2002), I get

284.514 0.937559 0.129517 0.322812

When run using VTK 3.1, I get

75.4863 0.937559 0.129517 0.322812

The first number (angle) differ in the two results.

I think the number returned by VTK 4.0 is incorrect for the following
reason. The method vtkCamera::GetOrientationXYZ() is used only in 2
classes, one of which is vtkVRMLExporter. In VTK3.1, vtkVRMLExporter
generates a correct vrml file. In VTK4.0, vtkVRMLExporter does not generat
a correct vrml file (the viewpoint is oriented in the wrong direction).

Tracking the computation through the source code of VTK 3.1 versus 4.0, the
main difference occurs in the row-column indexing of the matrix in the
class vtkTransform. In particular, the method
vtkTransform::GetOrientationWXYZ() is

void vtkTransform::GetOrientationWXYZ(double wxyz[4])
{
  int i;

  this->Update();
  // convenient access to matrix
  double (*matrix)[4] = this->Matrix->Element;
  double ortho[3][3];

  for (i = 0; i < 3; i++)
    {
    ortho[0][i] = matrix[0][i];
    ortho[1][i] = matrix[1][i];
    ortho[2][i] = matrix[2][i];
    }

//...etc

where ortho is subsequently used to compute w,x,y,z. If I transpose the
ortho matrix, that is, change the above loop to

  for (i = 0; i < 3; i++)
    {
    ortho[i][0] = matrix[0][i];
    ortho[i][1] = matrix[1][i];
    ortho[i][2] = matrix[2][i];
    }

and rebuild VTK 4.0, then the above sample program gives the same result as
that of VTK3.1. Also, the vrml file exported by vtkVRMLExporter is correct
(viewpoint looks at the correct direction).

The above suggests that either (1) the elements in the matrix of
vtkTransform are stored in reversed row-column order, or (2) the row-column
index is reversed somewhere during the computation of wxyz.

Hope the above makes sense.

Paul Hsieh






--__--__--

Message: 4
From: "ravi kiran" <vcravikiran at hotmail.com>
To: vtkusers at public.kitware.com
Date: Thu, 03 Oct 2002 20:18:06 +0000
Subject: [vtkusers] Hi

Hi,
I have a problem determining the coordinates of the points of each element
in the tetrahedralized domain. I used vtkDelaunay3D to tetrahedralize a
simple cube. Now i need to determine the coordinates of the points in each
tetrahedral element generated. What do i have to do?Can anyone please help
me solve this problem?
Thanx
Ravi



_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx


--__--__--

Message: 5
From: "Malcolm Drummond" <malcolm at geovision.co.za>
To: "vtkusers" <vtkusers at public.kitware.com>
Subject: Re: [vtkusers] Window Name
Date: Thu, 3 Oct 2002 22:41:56 +0200
Organization: GeoVision

Hi Marcelo

Under Windows, if you call 'Initialize' before setting the window name, it
will be created with the name you've given it.

Malcolm

----- Original Message -----
From: "marcelo oliveira" <oliveira_mc at yahoo.com.br>
To: <vtkusers at public.kitware.com>
Sent: Thursday, October 03, 2002 3:56 PM
Subject: [vtkusers] Window Name


> Hi users !!
>
> I think that is Bug
>
> When i try change the name of Window using:
>
>   renWin->SetWindowName( "FLAMENGO" );
>   renWin->Render();
>
>  anything change
>
> but when i use:
>
>   renWin->Render();
>   renWin->SetWindowName( "FLAMENGO" );
>   renWin->Render();
>
> the name change.
>
> I´m using Win XP and VTK 4.0
>
> Tanks for your help and advanced me
>
> Marcelo
>
>
>
> _______________________________________________________________________
> Yahoo! GeoCities
> Tudo para criar o seu site: ferramentas fáceis de usar, espaço de sobra e
acessórios.
> http://br.geocities.yahoo.com/
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
<http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>


--__--__--

Message: 6
Date: Thu, 3 Oct 2002 18:04:32 -0300 (ART)
From: =?iso-8859-1?q?marcelo=20oliveira?= <oliveira_mc at yahoo.com.br>
Subject: Re: [vtkusers] Window Name is working
To: vtk-users <vtkusers at public.kitware.com>

 Yes, is working.

I just have to set Start();

Tank u Malcom






--- Andy Cedilnik <andy.cedilnik at kitware.com>
escreveu: > Hello Marcelo,
>
> This is a known bug and is caused by the window not
> being there yet when
> you do SetWindowName. The first render creates
> window, then you can set
> the name.
>
> 				Andy
>
> On Thu, 2002-10-03 at 09:56, marcelo oliveira wrote:
> > I think that is Bug
> >
> > When i try change the name of Window using:
> >
> >   renWin->SetWindowName( "FLAMENGO" );
> >   renWin->Render();
> >
> >  anything change
> >
> > but when i use:
> >
> >   renWin->Render();
> >   renWin->SetWindowName( "FLAMENGO" );
> >   renWin->Render();
> >
> > the name change.
> >
> > I´m using Win XP and VTK 4.0
> >
> > Tanks for your help and advanced me
>
>

_______________________________________________________________________
Yahoo! GeoCities
Tudo para criar o seu site: ferramentas fáceis de usar, espaço de sobra e
acessórios.
http://br.geocities.yahoo.com/

--__--__--

Message: 7
Subject: Re: [vtkusers] Hi
To: vtkusers at public.kitware.com
From: anast.jm at pg.com
Date: Thu, 3 Oct 2002 17:01:42 -0400


Perhaps vtkUnstructuredGrid::GetCellPoints is what you are looking for
...john





"ravi kiran" <vcravikiran at hotmail.com>@public.kitware.com on 10/03/2002
04:18:06
PM

Sent by:  vtkusers-admin at public.kitware.com


To:   vtkusers at public.kitware.com
cc:    (bcc: John Anast-JM/PGI)
Subject:  [vtkusers] Hi


Hi,
I have a problem determining the coordinates of the points of each element
in the tetrahedralized domain. I used vtkDelaunay3D to tetrahedralize a
simple cube. Now i need to determine the coordinates of the points in each
tetrahedral element generated. What do i have to do?Can anyone please help
me solve this problem?
Thanx
Ravi



_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx

_______________________________________________
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at: <
http://public.kitware.com/cgi-bin/vtkfaq>
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers




--__--__--

Message: 8
Date: Thu, 3 Oct 2002 18:05:05 -0400
From: Dave Reed <dreed at capital.edu>
To: krs at cs.uncc.edu
Cc: vtkusers at public.kitware.com
Subject: [vtkusers] Re: vtk book - out of print??

> From: "K.R.Subramanian" <krs at cs.uncc.edu>
> Organization: Univ. of N. Carolina at Charlotte
> X-Accept-Language: en
> Sender: vtkusers-admin at public.kitware.com
> Date: Thu, 03 Oct 2002 14:23:59 -0400
>
>
> I  was wondering if the book is in print now (our bookstore sent me a note
> saying it was out of print) - I remember seeing a message that this was
being
> resolved several months back.
>
> Anyone have a clue?
>
>     -- krs

See a message from Will on September 11. I believe they've obtained
the rights to it, but it is not yet available.

Dave

--__--__--

Message: 9
From: "Koning, P.J.H. de (LKEB)" <P.J.H.de_Koning at lumc.nl>
Reply-To: "Koning, P.J.H. de (LKEB)" <pjhdekoning at lumc.nl>
To: vtkusers at public.kitware.com, jose manjon <jmanjon at fis.upv.es>
Date: Fri, 04 Oct 2002 08:57:17 +0200
Organization: LUMC
Subject: Re: [vtkusers] Freeing memory error!!!

03-10-02 10:10:12, jose manjon <jmanjon at fis.upv.es> wrote:

>Hi there,
>
>I have made a class for three orthogonal planes visualization and works ok
but I can not free the memory after class destruction.
>
>I do all the Delete() for all the objects but it has no response.
>
>can anyone tell me what I am doing wrong??
>
If you don't remove the actors from the renderer the will be deleted when
the renderer is deleted and not sooner.

>thanks
>
>jose
>
>the code:
>
>
>CRenderView::CRenderView()
>{
>  opacidad=0;
>}
>
>
>CRenderView::~CRenderView()
>{
>  AfxMessageBox("freeing ...");
>
>  datos1->Delete();
>  datos2->Delete();
>  datos3->Delete();
>  lut->Delete();
>  plane1->Delete();
>  plane2->Delete();
>  plane3->Delete();
>  planeMapper1->Delete();
>  planeMapper2->Delete();
>  planeMapper3->Delete();
>  text1->Delete();
>  text2->Delete();
>  text3->Delete();
>  planeActor1->Delete();
>  planeActor2->Delete();
>  planeActor3->Delete();
>
>  AfxMessageBox("free");
>}
>
>void CRenderView::OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint)
>{
>  // ORTHOGONAL VIEWER
>
>        unsigned short * p;
>  C3DFrame* frame;
>     CImageView* v1;
>     CImageView* v2;
>     CImageView* v3;
>        CACRNEMAViewerDoc *pDoc = (CACRNEMAViewerDoc *) GetDocument();
>  frame=((C3DFrame*)GetParentFrame());
>      v1=frame->GetView(0,1);
>     v2=frame->GetView(1,0);
>     v3=frame->GetView(1,1);
>     int nx=v1->IA;
>     int ny=v2->IA;
>  int nz=v3->IA;
>
>
>  lut=vtkLookupTable::New();
>  lut->SetNumberOfColors(256);
>  double B,G,R;
>  for(int i=0;i<1024;i=i+4)
>  {
>    B=(double)v1->ani->m_pDIB[40+i]/255;
>    G=(double)v1->ani->m_pDIB[40+i+1]/255;
>    R=(double)v1->ani->m_pDIB[40+i+2]/255;
>          if(i/4<opacidad) lut->SetTableValue(i/4,R,G,B,0);
>    else lut->SetTableValue(i/4,R,G,B,1);
>  }
>  lut->SetTableRange(0,255);
>
>
>  /////////// PLANO AXIAL
/////////////////////////////////////////////////////
>
>  datos1=vtkStructuredPoints::New();
>  datos1->SetDimensions(v1->ani->Columns,v1->ani->Rows,1);
>  datos1->SetScalarType(VTK_UNSIGNED_SHORT);
>  datos1->SetNumberOfScalarComponents(1);
>  datos1->AllocateScalars();
>        p=(unsigned short *) datos1->GetScalarPointer();
>  for(int y=0;y<v1->ani->Rows;y++)
>  for(int x=0;x<v1->ani->Columns;x++)
>  {
>     *p++ = v1->ani->Bitmap[y*v1->ani->Columns+x];
>  }
>        plane1=vtkPlaneSource::New();
>  plane1->SetNormal(0,0,1);
>        planeMapper1=vtkPolyDataMapper::New();
>        planeMapper1->SetInput(plane1->GetOutput());
>        text1=vtkTexture::New();
>  text1->SetInput(datos1);
>        text1->SetLookupTable(lut);
>  text1->InterpolateOn();
>  planeActor1=vtkActor::New();
>        planeActor1->SetMapper(planeMapper1);
>  planeActor1->SetTexture(text1);
>
>  /////////// PLANO CORONAL
/////////////////////////////////////////////////////
>
>  datos2=vtkStructuredPoints::New();
>  datos2->SetDimensions(pDoc->m_ani[0].Columns,pDoc->fuentes,1);
>  datos2->SetScalarType(VTK_UNSIGNED_SHORT);
>  datos2->SetNumberOfScalarComponents(1);
>  datos2->AllocateScalars();
>        p=(unsigned short *) datos2->GetScalarPointer();
>  for(y=0;y<v2->ani->Rows;y++)
>  for(int x=0;x<v2->ani->Columns;x++)
>  {
>     *p++ = v2->ani->Bitmap[y*v2->ani->Columns+v2->ani->Columns-1-x];
>  }
>
>        double yr=((double)pDoc->fuentes/(double)pDoc->m_ani[0].Rows)/2.0;
>  yr=yr*(pDoc->resz/pDoc->resx);
>
>  plane2=vtkPlaneSource::New();
>  plane2->SetNormal(0,1,0);
>        plane2->SetOrigin(-0.5,0,-yr);
>        plane2->SetPoint1(0.5,0,-yr);
>        plane2->SetPoint2(-0.5,0,yr);
>        plane2->SetXResolution(1);
>        plane2->SetYResolution(1);
>        planeMapper2=vtkPolyDataMapper::New();
>        planeMapper2->SetInput(plane2->GetOutput());
>  text2=vtkTexture::New();
>  text2->SetInput(datos2);
>  text2->SetLookupTable(lut);
>        text2->InterpolateOn();
>        planeActor2=vtkActor::New();
>        planeActor2->SetMapper(planeMapper2);
>        planeActor2->SetTexture(text2);
>
>  /////////// PLANO SAGITAL
/////////////////////////////////////////////////////
>
>  datos3=vtkStructuredPoints::New();
>  datos3->SetDimensions(pDoc->m_ani[0].Columns,pDoc->fuentes,1);
>  datos3->SetScalarType(VTK_UNSIGNED_SHORT);
>  datos3->SetNumberOfScalarComponents(1);
>  datos3->AllocateScalars();
>        p=(unsigned short *) datos3->GetScalarPointer();
>  for(y=0;y<v3->ani->Rows;y++)
>  for(int x=0;x<v3->ani->Columns;x++)
>  {
>     *p++ = v3->ani->Bitmap[y*v3->ani->Columns+v3->ani->Columns-1-x];
>  }
>  plane3=vtkPlaneSource::New();
>  plane3->SetNormal(1,0,0);
>  plane3->SetOrigin(0,-0.5,-yr);
>        plane3->SetPoint1(0, 0.5,-yr);
>        plane3->SetPoint2(0,-0.5, yr);
>        plane3->SetXResolution(1);
>        plane3->SetYResolution(1);
>        planeMapper3=vtkPolyDataMapper::New();
>        planeMapper3->SetInput(plane3->GetOutput());
>        text3=vtkTexture::New();
>  text3->SetInput(datos3);
>  text3->SetLookupTable(lut);
>  text3->InterpolateOn();
>  planeActor3=vtkActor::New();
>        planeActor3->SetMapper(planeMapper3);
>        planeActor3->SetTexture(text3);
>
>        /////////// CUBO
/////////////////////////////////////////////////////
>
>  vtkCubeSource * cube=vtkCubeSource::New();
>  cube->SetBounds(-0.5,0.5,-0.5,0.5,-yr,yr);
>  vtkPolyDataMapper *cubeMapper=vtkPolyDataMapper::New();
>        cubeMapper->SetInput(cube->GetOutput());
>  vtkActor *cubeActor=vtkActor::New();
>        cubeActor->SetMapper(cubeMapper);
>  cubeActor->GetProperty()->SetRepresentationToWireframe();
>
>  /////////// RENDER /////////////////////////////////////////////////////
>
>  this->Renderer->SetBackground(0.05,0.15,0.45);
>
>  this->Renderer->AddActor(planeActor1);
>  this->Renderer->AddActor(planeActor2);
>  this->Renderer->AddActor(planeActor3);
>  this->Renderer->AddActor(cubeActor);
>
>  vtkCamera * cam=this->Renderer->GetActiveCamera();
>  cam->Elevation(90);
>  cam->Azimuth(180);
>
>        vtkLight *light1 = vtkLight::New();
>        light1->SetPosition(1,0,1);
>
>        vtkLight *light2 = vtkLight::New();
>        light2->SetPosition(0,1,1);
>
>        vtkLight *light3 = vtkLight::New();
>        light3->SetPosition(-1,0,1);
>
>        vtkLight *light4 = vtkLight::New();
>        light4->SetPosition(0,-1,1);
>
>        this->Renderer->AddLight(light1);
>        this->Renderer->AddLight(light2);
>        this->Renderer->AddLight(light3);
>        this->Renderer->AddLight(light4);
>
>  cube->Delete();
>  cubeMapper->Delete();
>  cubeActor->Delete();
>
>  Actualizar();
>}
>
>
>void CRenderView::Actualizar()
>{
>     this->Renderer->RemoveActor(planeActor1);
>  this->Renderer->RemoveActor(planeActor2);
>  this->Renderer->RemoveActor(planeActor3);
>
>        unsigned short * p;
>  C3DFrame* frame;
>     CImageView* v1;
>     CImageView* v2;
>     CImageView* v3;
>        CACRNEMAViewerDoc *pDoc = (CACRNEMAViewerDoc *) GetDocument();
>  frame=((C3DFrame*)GetParentFrame());
>      v1=frame->GetView(0,1);
>     v2=frame->GetView(1,0);
>     v3=frame->GetView(1,1);
>     int nx=v3->IA;
>     int ny=v2->IA;
>  int nz=v1->IA;
>
>     double B,G,R;
>  for(int i=0;i<1024;i=i+4)
>  {
>    B=(double)v1->ani->m_pDIB[40+i]/255;
>    G=(double)v1->ani->m_pDIB[40+i+1]/255;
>    R=(double)v1->ani->m_pDIB[40+i+2]/255;
>          if(i/4<opacidad) lut->SetTableValue(i/4,R,G,B,0);
>    else lut->SetTableValue(i/4,R,G,B,1);
>  }
>  lut->SetTableRange(0,255);
>
>
>  /////////// PLANO AXIAL
/////////////////////////////////////////////////////
>
>        p=(unsigned short *) datos1->GetScalarPointer();
>  for(int y=0;y<v1->ani->Rows;y++)
>  for(int x=0;x<v1->ani->Columns;x++)
>  {
>     *p++ = v1->ani->Bitmap[y*v1->ani->Columns+x];
>  }
>
>  double yr=((double)pDoc->fuentes/(double)pDoc->m_ani[0].Rows)/2.0;
>  yr=yr*(pDoc->resz/pDoc->resx);
>
>
plane1->SetCenter(0,0,-yr+2*yr*((double)nz/(double)(pDoc->fuentes-1)));
>
>        planeMapper1->SetInput(plane1->GetOutput());
>  text1->SetInput(datos1);
>        text1->SetLookupTable(lut);
>  text1->InterpolateOn();
>        planeActor1->SetMapper(planeMapper1);
>  planeActor1->SetTexture(text1);
>
>  /////////// PLANO CORONAL
/////////////////////////////////////////////////////
>
>        p=(unsigned short *) datos2->GetScalarPointer();
>  for(y=0;y<v2->ani->Rows;y++)
>  for(int x=0;x<v2->ani->Columns;x++)
>  {
>     *p++ = v2->ani->Bitmap[y*v2->ani->Columns+v2->ani->Columns-1-x];
>  }
>
>  plane2->SetCenter(0,0.5-((double)ny/(double)v2->alto),0);
>
>        planeMapper2->SetInput(plane2->GetOutput());
>  text2->SetInput(datos2);
>  text2->SetLookupTable(lut);
>        text2->InterpolateOn();
>        planeActor2->SetMapper(planeMapper2);
>        planeActor2->SetTexture(text2);
>
>  /////////// PLANO SAGITAL
/////////////////////////////////////////////////////
>
>        p=(unsigned short *) datos3->GetScalarPointer();
>  for(y=0;y<v3->ani->Rows;y++)
>  for(int x=0;x<v3->ani->Columns;x++)
>  {
>     *p++ = v3->ani->Bitmap[y*v3->ani->Columns+v3->ani->Columns-1-x];
>  }
>
>  plane3->SetCenter(-0.5+((double)nx/(double)v3->ancho),0,0);
>
>        planeMapper3->SetInput(plane3->GetOutput());
>  text3->SetInput(datos3);
>  text3->SetLookupTable(lut);
>  text3->InterpolateOn();
>        planeActor3->SetMapper(planeMapper3);
>        planeActor3->SetTexture(text3);
>
>  this->Renderer->AddActor(planeActor1);
>  this->Renderer->AddActor(planeActor2);
>  this->Renderer->AddActor(planeActor3);
>
>  this->Renderer->GetRenderWindow()->Render();
>}
>
>void CRenderView::SetOpacity(double opa)
>{
>   opacidad=opa*256;
>   Actualizar();
>}
>
>
>
>
>
>
>                            \\|//
>                            (@ @)
> +--------------------oOO----(_)----OOo-----------------------+
> |                                                            |
> |             Prof.  Jose Vicente Manjón Herrera             |
> |                                                            |
> |             Group of Medical Bioinformatics                |
> |             Department of Aplied Physics                   |
> |             Computer Science High School                   |
> |             Technical University of Valencia               |
> |             Spain                                          |
> |                                                            |
> |             Email:jmanjon at fis.upv.es                       |
> |                                                            |
> +------------------------------------------------------------+
>                           |__|__|
>                            || ||
>                           ooO Ooo
>
>
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at:
<http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://public.kitware.com/mailman/listinfo/vtkusers
>



--__--__--

Message: 10
From: "Nils Hanssen" <hanssen at caesar.de>
To: <vtkusers at public.kitware.com>
Date: Fri, 4 Oct 2002 10:12:43 +0200
Subject: [vtkusers] vtktextmapper doesn't display text

This is a multi-part message in MIME format.

------=_NextPart_000_0012_01C26B8E.94913EB0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Hi,

i am using vtk 4.1.1 and have problems with the vtktextmapper: It doesn't
display text at all. I took the code directly from the examples, but nothing
is displayed.

I read somewhere that the textmappers are kind of "deprecated" and will be
replaced by new mappers.
What can I do for now to get it work?

Thanks in advance!

Regards,
Nils


------=_NextPart_000_0012_01C26B8E.94913EB0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">


<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D671001008-04102002><FONT face=3DArial=20
size=3D2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=3D671001008-04102002><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D671001008-04102002><FONT face=3DArial size=3D2>i am =
using vtk 4.1.1=20
and have problems with the vtktextmapper: It doesn't display text at =
all. I took=20
the code directly from the examples, but nothing is=20
displayed.</FONT></SPAN></DIV>
<DIV><SPAN class=3D671001008-04102002><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D671001008-04102002><FONT face=3DArial size=3D2>I read =
somewhere=20
that the textmappers are kind of "deprecated" and will be replaced by =
new=20
mappers.</FONT></SPAN></DIV>
<DIV><SPAN class=3D671001008-04102002><FONT face=3DArial size=3D2>What =
can I do for=20
now to get it work?</FONT></SPAN></DIV>
<DIV><SPAN class=3D671001008-04102002><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D671001008-04102002><FONT face=3DArial size=3D2>Thanks =
in=20
advance!</FONT></SPAN></DIV>
<DIV><SPAN class=3D671001008-04102002><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D671001008-04102002><FONT face=3DArial=20
size=3D2>Regards,</FONT></SPAN></DIV>
<DIV><SPAN class=3D671001008-04102002><FONT face=3DArial=20
size=3D2>Nils</FONT></SPAN></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0012_01C26B8E.94913EB0--



--__--__--

_______________________________________________
vtkusers mailing list
vtkusers at public.kitware.com
http://public.kitware.com/mailman/listinfo/vtkusers


End of vtkusers Digest





More information about the vtkusers mailing list