[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vtkusers
Subject:    [vtkusers] Re: Interactor on LOD
From:       jose manjon <jmanjon () fis ! upv ! es>
Date:       2001-07-30 16:39:34
Message-ID: 3B658DC6.DF399CC2 () fis ! upv ! es
[Download RAW message or body]

Hi all,

I still have the same problem ...

I have done a VC++ project for volume rendering using LOD ...

it works ok but when I try to move the volume it has to work with all
LODs.

I have tried to use Interactor object but no way ...

any idea???

thanks in advance,

jose

the code:

vtkRenderer               *renderer   = vtkRenderer::New();
vtkRenderWindow           *renWindow  = vtkRenderWindow::New();
vtkRenderWindowInteractor *interactor = vtkRenderWindowInteractor::New();

void TkCheckAbort()
{
  int foo=renWindow->GetEventPending();
  if(foo!=0) renWindow->SetAbortRender(1);
}

......

 renWindow->Render();
 interactor->Start();
 renWindow->SetAbortCheckMethod(TkCheckAbort(),NULL);


----------------------------------------------------------
Jose Vicente Manjón Herrera
GIM (Group of Medical Informatics)
Applied Physics Department
Technical University of Valencia
46022 Valencia (SPAIN)
----------------------------------------------------------




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic