Changeset 2895 for trunk/src/Plotter2.h


Ignore:
Timestamp:
02/19/14 20:41:19 (10 years ago)
Author:
WataruKawasaki
Message:

New Development: Yes

JIRA Issue: Yes CAS-6168

Ready for Test: Yes

Interface Changes:

What Interface Changed:

Test Programs:

Put in Release Notes: Yes

Module(s): sd.plotter2

Description: added methods to sd.plotter2 to enable changing the size and shape of the entire region to be plotted (which is referred to as 'viewsurface' in PGPLOT).


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/Plotter2.h

    r2861 r2895  
    162162    void setDevice(const std::string& inDevice);
    163163
     164    float getViewSurfaceWidth();
     165    float getViewSurfaceAspect();
     166    void setViewSurface(const float width, const float aspect);
    164167    int addViewport(const float xmin, const float xmax, const float ymin, const float ymax);
    165168    void setViewport(const float xmin, const float xmax, const float ymin, const float ymax, const int id);
     
    208211    bool hasDefaultViewport;
    209212    int currentViewportId;
     213    float width;
     214    float aspect;
    210215    void open();
    211216    void close();
Note: See TracChangeset for help on using the changeset viewer.