[vtkusers] How to get vtkFiniteDifferenceGradientEstimator?

Lisa Sobierajski Avila lisa.avila at kitware.com
Tue Feb 27 00:27:19 EST 2001

Hello Wolfram,

Your compile error is because you need to include vtkVolumeRayCastMapper.h.


At 03:33 AM 2/23/2001, Wolfram H Volpi wrote:
>Please show me the correct syntax for this problem.
>I am trying to get  GradientEstimator from inside
>vtkVolumeRayCastMapper has a GetGradientEstimator() method.
>Below is what I attempted and the resulting compile error.
>I would also apreciate it if you could answer these two related questions:
>Where is "vtkNotUsed()" defined?
>Where is
>vtkVolumeRayCastIsosurfaceFunctionCubic::SpecificFunctionInitialize called
>Thank you for your help,
>void vtkVolumeRayCastIsosurfaceFunctionCubic::SpecificFunctionInitialize(
>         vtkRenderer *vtkNotUsed(ren), vtkVolume *vol,
>         VTKRayCastVolumeInfo *volumeInfo, vtkVolumeRayCastMapper *mapper )
>         //originally arguement was: vtkVolumeRayCastMapper 
> *vtkNotUsed(mapper) )
>         vtkFiniteDifferenceGradientEstimator   *estimator;
>2500    estimator = mapper->GetGradientEstimator;
>  .
>  .
>Compile error:
>: error
>C2027: use of undefined type 'vtkVolumeRayCastMapper'
>D:\vtk31Lightning\vtk\graphics\vtkVolumeRayCastFunction.h(64) : see
>declaration of 'vtkVolumeRayCastMapper'
>: error
>C2227: left of '->GetGradientEstimator' must point to class/struct/union
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at: 
>Follow this link to subscribe/unsubscribe:

More information about the vtkusers mailing list