Ignore:
Timestamp:
May 9, 2006 2:55:08 PM (18 years ago)
Author:
mmc
Message:

Added separate controls for outline enable/disable/color, and volume
data enable/disable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/vizservers/nanovis/Volume.h

    r431 r434  
    2020
    2121#include "define.h"
     22#include "Color.h"
    2223#include "Texture3D.h"
    2324#include "Vector3.h"
     
    4849        float opacity_scale;    //The scale multiplied to the opacity assigned by the transfer function.
    4950                                //Rule of thumb: higher opacity_scale the object is to appear like plastic
     51
     52        bool data_enabled;      // show/hide cloud of volume data
     53
     54        bool outline_enabled;   // show/hide outline around volume
     55        Color outline_color;    // color for outline around volume
    5056
    5157public:
     
    102108        void set_opacity_scale(float s);
    103109
     110        void enable_data();
     111        void disable_data();
     112        bool data_is_enabled();
     113
     114        void enable_outline();
     115        void disable_outline();
     116        bool outline_is_enabled();
     117        void set_outline_color(float* rgb);
     118        void get_outline_color(float* rgb);
    104119};
    105120
Note: See TracChangeset for help on using the changeset viewer.