<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi!<br>I´m trying to use the vtkDataSetObjectToDataSetFilter, but it doesn´t really work, this is my code:<br><br> vtkSmartPointer<vtkDataObject> inputCopy;<br> inputCopy.TakeReference(input->NewInstance());<br> inputCopy->ShallowCopy(input);<br><br> vtkDataObjectToDataSetFilter* DoToDS = vtkDataObjectToDataSetFilter::New();<br> DoToDS -> SetInput(inputCopy);<br> vtkDataSet* ds = DoToDS -> GetOutput();<br> <br> DoToDS -> Update();<br><br>Compiling is ok, executing I get the following error:<br><br>ERROR: In .../ParaView-3.4.0/VTK/Graphics/vtkDataObjectToDataSetFilter.cxx, line 291<br>vtkDataObjectToDataSetFilter (0x1377fd00): Couldn't create any points<br><br><br>ERROR: In ../ParaView-3.4.0/VTK/Graphics/vtkDataObjectToDataSetFilter.cxx, line 560<br>vtkDataObjectToDataSetFilter (0x13787b30): Can't find array requested<br><br>It seems I need to specify more, but what? and how?<br><br>thx for help,<br>Natalie<br><br><br><br><br><br /><hr />¡Es hora que descubras quién eres! <a href='http://www.descubrewindowslive.com/' target='_new'>Alguien puede conocerte mejor que tu mismo.</a></body>
</html>