[vtkusers] error for vtkVolumeProperty

Darshan Pai darshanpai at gmail.com
Mon Oct 11 00:11:39 EDT 2010


When I use SmarPointer to initialize vtkVolumeProperty I get the following
error
C:\vtkcvs\VTK\Common\vtkSmartPointer.h(75) : error C2440: 'static_cast' :
cannot convert from 'vtkObjectBase *const ' to 'vtkVolumeProperty *'

Is it that I cannot make vtkVolumeProperty a SmartPointer?

Regards
Darshan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20101011/60c75fab/attachment.htm>


More information about the vtkusers mailing list