| 194 | } |
| 195 | |
| 196 | void vtkPointWidget::PrintSelf(ostream& os, vtkIndent indent) |
| 197 | { |
| 198 | this->Superclass::PrintSelf(os, indent); |
| 199 | |
| 200 | if (this->Property) |
| 201 | { |
| 202 | os << indent << "Property: " << this->Property << "\n"; |
| 203 | } |
| 204 | else |
| 205 | { |
| 206 | os << indent << "Property: (none)\n"; |
| 207 | } |
| 208 | if (this->SelectedProperty) |
| 209 | { |
| 210 | os << indent << "Selected Property: " << this->SelectedProperty << "\n"; |
| 211 | } |
| 212 | else |
| 213 | { |
| 214 | os << indent << "Selected Property: (none)\n"; |
| 215 | } |
| 216 | |
| 217 | double* pos = this->Cursor3D->GetFocalPoint(); |
| 218 | os << indent << "Position: (" << pos[0] << ", " << pos[1] << ", " << pos[2] << ")\n"; |
| 219 | |
| 220 | os << indent << "Outline: " << (this->GetOutline() ? "On\n" : "Off\n"); |
| 221 | os << indent << "XShadows: " << (this->GetXShadows() ? "On\n" : "Off\n"); |
| 222 | os << indent << "YShadows: " << (this->GetYShadows() ? "On\n" : "Off\n"); |
| 223 | os << indent << "ZShadows: " << (this->GetZShadows() ? "On\n" : "Off\n"); |
| 224 | |
| 225 | os << indent << "Translation Mode: " << (this->Cursor3D->GetTranslationMode() ? "On\n" : "Off\n"); |
| 226 | |
| 227 | os << indent << "Hot Spot Size: " << this->HotSpotSize << "\n"; |
| 228 | } |
| 229 | |
| 230 | void vtkPointWidget::Highlight(int highlight) |
| 231 | { |
nothing calls this directly
no test coverage detected