<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2920.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>I got problems using vtkStructuredGrid
DeepCopy.</FONT></DIV>
<DIV><FONT face=Arial size=2>I use it to copy input to a class member
vtkStructuredGrid.</FONT></DIV>
<DIV><FONT face=Arial size=2>When I only do </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>memberInput = Input;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>with pointers, it works (but it is not clean
regarding memory</FONT></DIV>
<DIV><FONT face=Arial size=2>allocation, as I cannot free the input element
from where it </FONT></DIV>
<DIV><FONT face=Arial size=2>has been created)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Does any body have an idea.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>I commonly use vtkPolyData->DeepCopy(arg); with
</FONT></DIV>
<DIV><FONT face=Arial size=2>success, after allocating and setting
points.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>I did not found any allocate() method for
vtkStructuredGrid, </FONT></DIV>
<DIV><FONT face=Arial size=2>does it exist ?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Does anybody have an example of vtkStructuredGrid
</FONT></DIV>
<DIV><FONT face=Arial size=2>DeepCopy (in tcl, python java or c, I don't
care)</FONT><FONT face=Arial size=2> ?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Thank you</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Seb MARAUX</FONT></DIV></BODY></HTML>