[vtkusers] printself(os, indent)
tom fogal
tfogal at apollo.sr.unh.edu
Tue Jul 6 15:09:15 EDT 2004
<BAY16-F28sNhnM7kl3D0000de5a at hotmail.com>"Louis Desjardins" writes:
> I am using c++, so what is teh syntax for using the PrintSelf? I tried a
object->PrintSelf(std::cout, 0);
and see below.
> few things but it doenst work yet,
> ii think i just dont know what to put for the first parameter which is an
> "ostream &"
'ostream' is a standard c++ output stream. Try std::cout or std::cerr
but be sure you've included iostream.
I haven't looked at the code but I imagine 'indent' is an indentation
level if you want to make things 'look' prettier. Try 0.
HTH,
-tom
More information about the vtkusers
mailing list