Changeset 3842 for trunk/packages/vizservers/vtkvis
- Timestamp:
- Jul 25, 2013, 3:08:04 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/vizservers/vtkvis/DataSet.cpp
r3818 r3842 434 434 return _dataSet->GetPointData()->GetScalars()->GetName(); 435 435 } 436 #ifdef DEBUG 436 437 TRACE("No point scalars"); 438 #endif 437 439 if (_dataSet->GetCellData() != NULL && 438 440 _dataSet->GetCellData()->GetScalars() != NULL) { 439 441 return _dataSet->GetCellData()->GetScalars()->GetName(); 440 442 } 443 #ifdef DEBUG 441 444 TRACE("No cell scalars"); 445 #endif 442 446 } 443 447 return NULL; … … 454 458 return POINT_DATA; 455 459 } 460 #ifdef DEBUG 456 461 TRACE("No point scalars"); 462 #endif 457 463 if (_dataSet->GetCellData() != NULL && 458 464 _dataSet->GetCellData()->GetScalars() != NULL) { 459 465 return CELL_DATA; 460 466 } 467 #ifdef DEBUG 461 468 TRACE("No cell scalars"); 469 #endif 462 470 } 463 471 return POINT_DATA; … … 498 506 return POINT_DATA; 499 507 } 508 #ifdef DEBUG 500 509 TRACE("No point vectors"); 510 #endif 501 511 if (_dataSet->GetCellData() != NULL && 502 512 _dataSet->GetCellData()->GetVectors() != NULL) { 503 513 return CELL_DATA; 504 514 } 515 #ifdef DEBUG 505 516 TRACE("No cell vectors"); 517 #endif 506 518 } 507 519 return POINT_DATA; … … 518 530 return _dataSet->GetPointData()->GetVectors()->GetName(); 519 531 } 532 #ifdef DEBUG 520 533 TRACE("No point vectors"); 534 #endif 521 535 if (_dataSet->GetCellData() != NULL && 522 536 _dataSet->GetCellData()->GetVectors() != NULL) { 523 537 return _dataSet->GetCellData()->GetVectors()->GetName(); 524 538 } 539 #ifdef DEBUG 525 540 TRACE("No cell vectors"); 541 #endif 526 542 } 527 543 return NULL;
Note: See TracChangeset
for help on using the changeset viewer.