Print the vtkEncodedGradientEstimator
| 256 | |
| 257 | // Print the vtkEncodedGradientEstimator |
| 258 | void vtkEncodedGradientEstimator::PrintSelf(ostream& os, vtkIndent indent) |
| 259 | { |
| 260 | this->Superclass::PrintSelf(os, indent); |
| 261 | |
| 262 | if (this->InputData) |
| 263 | { |
| 264 | os << indent << "InputData: (" << this->InputData << ")\n"; |
| 265 | } |
| 266 | else |
| 267 | { |
| 268 | os << indent << "Input: (none)\n"; |
| 269 | } |
| 270 | |
| 271 | if (this->DirectionEncoder) |
| 272 | { |
| 273 | os << indent << "DirectionEncoder: (" << this->DirectionEncoder << ")\n"; |
| 274 | } |
| 275 | else |
| 276 | { |
| 277 | os << indent << "DirectionEncoder: (none)\n"; |
| 278 | } |
| 279 | |
| 280 | os << indent << "Build Time: " << this->BuildTime.GetMTime() << endl; |
| 281 | |
| 282 | os << indent << "Gradient Magnitude Scale: " << this->GradientMagnitudeScale << endl; |
| 283 | |
| 284 | os << indent << "Gradient Magnitude Bias: " << this->GradientMagnitudeBias << endl; |
| 285 | |
| 286 | os << indent << "Zero Pad: " << ((this->ZeroPad) ? "On" : "Off") << endl; |
| 287 | |
| 288 | os << indent << "Bounds Clip: " << ((this->BoundsClip) ? "On" : "Off") << endl; |
| 289 | |
| 290 | os << indent << "Bounds: (" << this->Bounds[0] << ", " << this->Bounds[1] << ", " |
| 291 | << this->Bounds[2] << ", " << this->Bounds[3] << ", " << this->Bounds[4] << ", " |
| 292 | << this->Bounds[5] << ")\n"; |
| 293 | |
| 294 | os << indent << "Zero Normal Threshold: " << this->ZeroNormalThreshold << endl; |
| 295 | |
| 296 | os << indent |
| 297 | << "Compute Gradient Magnitudes: " << ((this->ComputeGradientMagnitudes) ? "On" : "Off") |
| 298 | << endl; |
| 299 | |
| 300 | os << indent << "Cylinder Clip: " << ((this->CylinderClip) ? "On" : "Off") << endl; |
| 301 | |
| 302 | os << indent << "Number Of Threads: " << this->NumberOfThreads << endl; |
| 303 | |
| 304 | os << indent << "Last Update Time In Seconds: " << this->LastUpdateTimeInSeconds << endl; |
| 305 | |
| 306 | os << indent << "Last Update Time In CPU Seconds: " << this->LastUpdateTimeInCPUSeconds << endl; |
| 307 | |
| 308 | // I don't want to print out these variables - they are |
| 309 | // internal and the get methods are included only for access |
| 310 | // within the threaded function |
| 311 | // os << indent << "Use Cylinder Clip: " |
| 312 | // << this->UseCylinderClip << endl; |
| 313 | // os << indent << " Input Size: " |
| 314 | // << this->InputSize << endl; |
| 315 | // os << indent << " Input Aspect Clip: " |