[vtkusers] how create a ply file from an extractedselection in a polydata

Alex Malyushytskyy alexmalvtk at gmail.com
Tue Sep 18 19:12:10 EDT 2012

My suggestion is start using debugger,
and review your coding style.

For example:

int NumberOfSplitNodes;
for(int m=1; m<NumberOfSplitNodes; m++)// debut de boucle des régions

NumberOfSplitNodes variable is undefined but used.
As I mentioned already compiler should have provide a warning and you
expected to read (at least) them,
but if you did not declare variable in a "C" style without
initialization it would not happen.

Also if you want somebody to look in your code deeply you should have
provided as small; as possible
self - sufficient example and make sure it is posted in the way it can
be compiled as is and it is clear what you are trying to achieve.
May be some comments could help. For example why /8 in the following line?
 int j=(this->Input->GetNumberOfPoints()/8);


On Tue, Sep 18, 2012 at 12:10 PM, cerina <cerine-baratelli at hotmail.fr> wrote:
> is there any body who can give me a suggestion to resolve my problem
> please!!! , i know that may be , there are vertices which are linked to my
> faces, and didn't appears nor in the list of vertices neither in my points
> may be
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/how-create-a-ply-file-from-an-extractedselection-in-a-polydata-tp5716164p5716179.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> 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 VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers

More information about the vtkusers mailing list