[vtkusers] Problem using SetNumberOfCloudPoints in vtkLODActor

Shaw, Richard M. Richard.Shaw at bakerhughes.com
Thu Aug 31 14:28:07 EDT 2000


I have been trying to use SetNumberOfCloudPoints in vtkLODActor in cxx with
MS VC6 I get the following error

error C2039: 'SetNumberOfCloudPoints' : is not a member of 'vtkActor'
vtkactor.h(69) : see declaration of 'vtkActor'

Which is true neither vtkActor or vtkLODActor have a member
SetNumberOfCloudPoints, this works in all the TCL examples but it's missing
in the cxx code.

My code looks like

	this->ugridActor = vtkLODActor::New();
		this->ugridActor->SetMapper(ugridMapper);
		this->ugridActor->AddPosition(0.0,0.0,0.0);
		this->ugridActor->SetNumberOfCloudPoints(icorners);

Am I going about this wrong or is there a bug in the cxx code, any clues
would be appreciated. The default 150 points is way to low, I'm dealing with
30,000 corner points for my cells and 150 does not give enough shape.

> Richard M. Shaw
> Baker Hughes Inc.
> Baker Atlas Division
> (Incorporating Scientific Software - Intercomp)
> Phone: (303) 573-2738
> Fax:   (303) 571-0973
> e-mail:Richard.Shaw at BakerHughes.com
> web:   www.BakerHughes.com/westerngeo/reservoir/Workbench
> 
> 
 <<Richard M  Shaw.vcf>> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Richard M  Shaw.vcf
Type: application/octet-stream
Size: 508 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20000831/6b337c2e/attachment.obj>


More information about the vtkusers mailing list