IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 23, 2011, 9:57:37 AM (15 years ago)
Author:
eugene
Message:

updates to pmVisual especially astrometry visualization

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20110213/psModules/src/extras/pmVisualUtils.c

    r29004 r31019  
    1616#include <pslib.h>
    1717
     18#include <pmVisual.h>
    1819#include <pmVisualUtils.h>
    1920
     
    8990    }
    9091
     92    // turn on overall visualization
     93    pmVisualSetVisual(true);
     94
    9195    // If the component name has no leading dot, then supply it.
    9296    if (comp[0] != '.') {
     
    145149    PS_ASSERT_STRING_NON_EMPTY(func, false);
    146150
    147    // return true if level is set to be shown
     151    // if visualization is turned off, just skip
     152    if (!pmVisualIsVisual()) return false;
     153
     154    // return true if level is set to be shown
    148155    FACILITY(facility, func, name);
     156
    149157    bool valid = level <= getLevel(facility);
    150158
Note: See TracChangeset for help on using the changeset viewer.