------------------------------------------------------------------------------
| 1675 | |
| 1676 | //------------------------------------------------------------------------------ |
| 1677 | void vtkDataSetAttributes::PrintSelf(ostream& os, vtkIndent indent) |
| 1678 | { |
| 1679 | this->Superclass::PrintSelf(os, indent); |
| 1680 | |
| 1681 | // Print the copy flags |
| 1682 | os << indent << "Copy Tuple Flags: ( "; |
| 1683 | for (int i = 0; i < NUM_ATTRIBUTES; ++i) |
| 1684 | { |
| 1685 | os << this->CopyAttributeFlags[COPYTUPLE][i] << " "; |
| 1686 | } |
| 1687 | os << ")" << endl; |
| 1688 | os << indent << "Interpolate Flags: ( "; |
| 1689 | for (int i = 0; i < NUM_ATTRIBUTES; ++i) |
| 1690 | { |
| 1691 | os << this->CopyAttributeFlags[INTERPOLATE][i] << " "; |
| 1692 | } |
| 1693 | os << ")" << endl; |
| 1694 | os << indent << "Pass Through Flags: ( "; |
| 1695 | for (int i = 0; i < NUM_ATTRIBUTES; ++i) |
| 1696 | { |
| 1697 | os << this->CopyAttributeFlags[PASSDATA][i] << " "; |
| 1698 | } |
| 1699 | os << ")" << endl; |
| 1700 | |
| 1701 | // Now print the various attributes |
| 1702 | for (int attributeType = 0; attributeType < NUM_ATTRIBUTES; ++attributeType) |
| 1703 | { |
| 1704 | os << indent << vtkDataSetAttributes::AttributeNames[attributeType] << ": "; |
| 1705 | vtkAbstractArray* aa = this->GetAbstractAttribute(attributeType); |
| 1706 | if (aa) |
| 1707 | { |
| 1708 | os << endl; |
| 1709 | aa->PrintSelf(os, indent.GetNextIndent()); |
| 1710 | } |
| 1711 | else |
| 1712 | { |
| 1713 | os << "(none)" << endl; |
| 1714 | } |
| 1715 | } |
| 1716 | } |
| 1717 | |
| 1718 | //------------------------------------------------------------------------------ |
| 1719 | void vtkDataSetAttributes::GetAttributeIndices(int* indexArray) |
nothing calls this directly
no test coverage detected