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

List:       vtk-developers
Subject:    [vtk-developers] Fwd: Unable to factor linear system
From:       Ali Habib <ali.mahmoud.habib () gmail ! com>
Date:       2009-10-19 9:41:16
Message-ID: a065f39a0910190241s422b4ff4o1875729e8f6c2f5e () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


---------- Forwarded message ----------
From: Ali Habib <ali.mahmoud.habib@gmail.com>
Date: Sat, Oct 17, 2009 at 5:57 PM
Subject: Unable to factor linear system
To: vtkusers@vtk.org

Dear All ,

while running the attached code , a warning appear :
 Generic Warning: In m:\dev\cur\vtkdotnet\branch\50\Common\vtkMath.cxx, line
394
Unable to factor linear system

Also I have another question:

How to convert vtkvolume to vtkpolydata
any advice please

[Attachment #5 (text/html)]

<div dir="ltr"><br><br>
<div class="gmail_quote">---------- Forwarded message ----------<br>From: <b \
class="gmail_sendername">Ali Habib</b> <span dir="ltr">&lt;<a \
href="mailto:ali.mahmoud.habib@gmail.com">ali.mahmoud.habib@gmail.com</a>&gt;</span><br>
                
Date: Sat, Oct 17, 2009 at 5:57 PM<br>Subject: Unable to factor linear system<br>To: \
<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br> <div dir="ltr"><br>
<div>Dear All ,</div>
<div><br></div>
<div>while running the attached code , a warning appear :</div>
<div>
<div>Generic Warning: In m:\dev\cur\vtkdotnet\branch\50\Common\vtkMath.cxx, line \
394</div> <div>Unable to factor linear system</div>
<div> </div>
<div>Also I have another question:</div>
<div> </div>
<div>How to convert vtkvolume to vtkpolydata <br></div>
<div>any advice please</div></div></div></div><br></div>

--0016e6d99ead12311b0476468cf4--


["sourcecode.cpp" (application/octet-stream)]

vtkSphereSource ^sphere = gcnew vtkSphereSource();
		   sphere->SetRadius(1.0);
		   sphere->SetThetaResolution(18);
		   sphere->SetPhiResolution(18);

			vtkStripper ^v = gcnew vtkStripper();
			v->SetInputConnection(sphere->GetOutputPort());
			v->Update();

			vtkDelaunay3D ^v3 = gcnew vtkDelaunay3D();
			v3->SetInputConnection(v->GetOutputPort());
			v3->Update()


			vtkDataSetMapper ^mapper = gcnew vtkDataSetMapper();
			mapper->SetInputConnection(v3->GetOutputPort());
			vtkActor ^triangulation = gcnew vtkActor();
			triangulation->SetMapper(mapper);
			triangulation->GetProperty()->SetRepresentationToWireframe();

			// Create the standard rendering stuff.
			vtkRenderer ^ren1 = gcnew vtkRenderer();
			vtkRenderWindow ^renWin = gcnew vtkRenderWindow();
			renWin->AddRenderer(ren1);
			vtkRenderWindowInteractor ^iren = gcnew vtkRenderWindowInteractor();
			iren->SetRenderWindow(renWin);

			// Add the actors to the renderer, set the background and size
			//
			ren1->AddActor(triangulation);
			ren1->SetBackground(1, 1, 1);
			renWin->SetSize(300, 300);
			renWin->Render();


			renWin->Render();

			iren->Initialize();


			iren->Start();

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtk-developers



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

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