<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
My guess would be that you defined ugridActor as vtkActor * and not vtkLODActor
*. Since vtkLODActor inherits from vtkActor, the New() assignment
works fine, but not the SetNumberOfCloudPoints. Try upcasting, storing
temp vtkLODActor ptr, or change how ugridActor is defined.
<p>Hope this helped.
<p>"Shaw, Richard M." wrote:
<blockquote TYPE=CITE>I have been trying to use SetNumberOfCloudPoints
in vtkLODActor in cxx with
<br>MS VC6 I get the following error
<p>error C2039: 'SetNumberOfCloudPoints' : is not a member of 'vtkActor'
<br>vtkactor.h(69) : see declaration of 'vtkActor'
<p>Which is true neither vtkActor or vtkLODActor have a member
<br>SetNumberOfCloudPoints, this works in all the TCL examples but it's
missing
<br>in the cxx code.
<p>My code looks like
<p> this->ugridActor = vtkLODActor::New();
<br>
this->ugridActor->SetMapper(ugridMapper);
<br>
this->ugridActor->AddPosition(0.0,0.0,0.0);
<br>
this->ugridActor->SetNumberOfCloudPoints(icorners);
<p>Am I going about this wrong or is there a bug in the cxx code, any clues
<br>would be appreciated. The default 150 points is way to low, I'm dealing
with
<br>30,000 corner points for my cells and 150 does not give enough shape.
<p>> Richard M. Shaw
<br>> Baker Hughes Inc.
<br>> Baker Atlas Division
<br>> (Incorporating Scientific Software - Intercomp)
<br>> Phone: (303) 573-2738
<br>> Fax: (303) 571-0973
<br>> e-mail:Richard.Shaw@BakerHughes.com
<br>> web: www.BakerHughes.com/westerngeo/reservoir/Workbench
<br>>
<br>>
<br> <<Richard M Shaw.vcf>></blockquote>
<pre>--
David D. Marshall
ARTLab System Administrator/GRA
Georgia Institute of Technology, Atlanta Georgia, 30332
<A HREF="http://www.ae.gatech.edu/research/artlab/artl/artlab.html">http://www.ae.gatech.edu/research/artlab/artl/artlab.html</A>
<A HREF="mailto:gte552m@prism.gatech.edu">mailto:gte552m@prism.gatech.edu</A>
think: Why anonymity is good
<A HREF="http://www.cato.org/pubs/briefs/bp-054es.html">http://www.cato.org/pubs/briefs/bp-054es.html</A></pre>
</html>