[vtkusers] Derive from vtkQuad

Reinhold Niesner r.niesner at gmx.de
Mon Dec 10 08:48:05 EST 2001


Hello VTK users,

I've been trying to write an interpolation filter based on vtkProbeFilter
(say vtkMyProbeFilter). But I need some slightly different functionality for
vtkQuad (it has to be a little more permissive). 

Is there a way to derive another class from vtkQuad (say vtkMyQuad) and use
it instead of the original, thus having the possibility to leave the original
vtk sources untouched? This class should then be accessible from other vtk
classes (like vtkMyProbeFilter). 

I guess that the vtk pipeline concept could be a problem for this, because
my input (vtkPolyData) doesn't know anything about vtkMyQuad ... (?!)

I don't have very extended knowledge of c++, so any hints would be
apreciated.
Thank you in advance.

R Niesner

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net




More information about the vtkusers mailing list