<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´d like to convert a vtkDataObject to a vtkDataSet. As vtkDataObject is a superclass for vtkDataSet, I tried<br><br>vtkDataSet* A = vtkDataSet::SafeDownCast(B);<br><br>where B is a vtkDataObject, but I compiling I get the error <br><br>" error: invalid conversion from 'vtkDataObject*' to 'vtkDataSet*' "<br><br>Looking in the documentation, there seems to be a class called "vtkDataObjectToDataSet", which seems to be exactly what I want, but I don´t find any documentation on it or any advice how to use it. <br><br>thx for help,<br>Natalie Happenhofer<br><br /><hr />Tus elecciones hablan por ti. <a href='http://www.descubrewindowslive.com/' target='_new'>¡Conoce quién eres realmente!</a></body>
</html>