Commit 249deba4 authored by Lisa Avila's avatar Lisa Avila
Browse files

FIX: Fixed missing information in PrintSelf method

parent 0b635ed2
......@@ -114,7 +114,10 @@ void vtkDataObject::PrintSelf(ostream& os, vtkIndent indent)
{
vtkObject::PrintSelf(os,indent);
os << indent << "Source: " << this->Source << "\n";
os << indent << "Release Data: " << (this->ReleaseDataFlag ? "On\n" : "Off\n");
os << indent << "Data Released: " << (this->DataReleased ? "True\n" : "False\n");
os << indent << "Global Release Data: "
<< (vtkDataObjectGlobalReleaseDataFlag ? "On\n" : "Off\n");
......
......@@ -103,6 +103,7 @@ void vtkImageCache::PrintSelf(ostream& os, vtkIndent indent)
this->NumberOfScalarComponents << endl;
os << indent << "Source: (" << this->Source << ").\n";
os << indent << "ReleaseDataFlag: " << this->ReleaseDataFlag << "\n";
os << indent << "Data Released: " << this->DataReleased << "\n";
os << indent << "ScalarType: "<<vtkImageScalarTypeNameMacro(this->ScalarType)
<< "\n";
os << indent << "ImageToStructuredPoints: ("
......
......@@ -78,7 +78,7 @@ vtkImageSource::~vtkImageSource()
//----------------------------------------------------------------------------
void vtkImageSource::PrintSelf(ostream& os, vtkIndent indent)
{
vtkObject::PrintSelf(os,indent);
vtkProcessObject::PrintSelf(os,indent);
os << indent << "AbortExecute: " << (this->AbortExecute ? "On\n" : "Off\n");
os << indent << "Progress: " << this->Progress << "\n";
......
......@@ -274,7 +274,7 @@ void vtkLookupTable::GetTableValue (int indx, float rgba[4])
void vtkLookupTable::PrintSelf(ostream& os, vtkIndent indent)
{
vtkObject::PrintSelf(os,indent);
vtkReferenceCount::PrintSelf(os,indent);
os << indent << "Build Time: " <<this->BuildTime.GetMTime() << "\n";
os << indent << "Hue Range: (" << this->HueRange[0] << ", "
......@@ -287,4 +287,6 @@ void vtkLookupTable::PrintSelf(ostream& os, vtkIndent indent)
<< this->TableRange[1] << ")\n";
os << indent << "Value Range: (" << this->ValueRange[0] << ", "
<< this->ValueRange[1] << ")\n";
os << indent << "Alpha Range: (" << this->AlphaRange[0] << ", "
<< this->AlphaRange[1] << ")\n";
}
......@@ -648,7 +648,8 @@ void vtkMultiThreader::TerminateThread( int ThreadID )
// Print method for the multithreader
void vtkMultiThreader::PrintSelf(ostream& os, vtkIndent indent)
{
this->vtkObject::PrintSelf(os,indent);
os << indent << "Thread Count: " << this->NumberOfThreads << "\n";
os << indent << "Global Maximum Number Of Threads: " <<
vtkMultiThreaderGlobalMaximumNumberOfThreads << endl;
......
......@@ -377,7 +377,7 @@ void vtkScalars::PrintSelf(ostream& os, vtkIndent indent)
{
float *range;
vtkReferenceCount::PrintSelf(os,indent);
this->vtkAttributeData::PrintSelf(os,indent);
os << indent << "Number Of Scalars: " << this->GetNumberOfScalars() << "\n";
range = this->GetRange();
......
......@@ -745,6 +745,10 @@ void vtkTransform::PrintSelf (ostream& os, vtkIndent indent)
{
vtkObject::PrintSelf(os, indent);
os << indent << "Point: " << "( " <<
this->Point[0] << ", " << this->Point[1] << ", " <<
this->Point[2] << ", " << this->Point[3] << "\n";
os << indent << "Current Transformation:" << "\n";
(**this->Stack).PrintSelf (os, indent.GetNextIndent());
......
......@@ -326,6 +326,16 @@ void vtkViewport::PrintSelf(ostream& os, vtkIndent indent)
<< this->Viewport[1] << ", " << this->Viewport[2] << ", "
<< this->Viewport[3] << ")\n";
os << indent << "Displaypoint: (" << this->DisplayPoint[0] << ", "
<< this->DisplayPoint[1] << ", " << this->DisplayPoint[2] << ")\n";
os << indent << "Viewpoint: (" << this->ViewPoint[0] << ", "
<< this->ViewPoint[1] << ", " << this->ViewPoint[2] << ")\n";
os << indent << "Worldpoint: (" << this->WorldPoint[0] << ", "
<< this->WorldPoint[1] << ", " << this->WorldPoint[2] << ", "
<< this->WorldPoint[3] << ")\n";
if ( this->StartRenderMethod )
{
os << indent << "Start Render method defined.\n";
......
......@@ -138,7 +138,8 @@ void vtkWindow::PrintSelf(ostream& os, vtkIndent indent)
os << indent << "Position: (" << temp[0] << ", " << temp[1] << ")\n";
temp = this->GetSize();
os << indent << "Size: (" << temp[0] << ", " << temp[1] << ")\n";
os << indent << "Mapped: " << this->Mapped << "\n";
os << indent << "Double Buffered: " << this->DoubleBuffer << "\n";
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment