#include <marchingcubes.h>
Collaboration diagram for EMAN::ColorRGBGenerator:
Public Member Functions | |
ColorRGBGenerator () | |
ColorRGBGenerator (EMData *emdata) | |
Constructor. | |
float * | getRGBColor (int x, int y, int z) |
Generate a color based on pixel coords. | |
void | set_data (EMData *data) |
set the emdata | |
void | generateRadialColorMap () |
Generate a color map *. | |
void | set_cmap_data (EMData *data) |
Set min max data. | |
void | setOrigin (int orix, int oriy, int oriz) |
Set origin. | |
void | setScale (float i, float o) |
Set scaling. | |
void | setRGBmode (int mode) |
Set RGB mode 0 = none, 1 = color by radius, more to come :). | |
void | setMinMax (float min, float max) |
Set the mn max for cmap coloring. | |
int | getRGBmode () |
Return RGB mode. | |
bool | getNeedToRecolor () |
Lets us know if we need to recalclate colors. | |
void | setNeedToRecolor (bool recolor) |
Private Attributes | |
int | rgbmode |
int | originx |
int | originy |
int | originz |
float | inner |
float | outer |
float | minimum |
float | maximum |
bool | needtorecolor |
float * | colormap |
EMData * | em_data |
EMData * | cmap |
float | rgb [3] |
Definition at line 192 of file marchingcubes.h.
|
|
|
Constructor.
|
|
Generate a color map *.
|
|
Lets us know if we need to recalclate colors.
Definition at line 247 of file marchingcubes.h. 00248 {
00249 return needtorecolor;
00250 }
|
|
Generate a color based on pixel coords.
|
|
Return RGB mode.
Definition at line 241 of file marchingcubes.h. 00242 {
00243 return rgbmode;
00244 }
|
|
Set min max data.
|
|
set the emdata
|
|
Set the mn max for cmap coloring.
Definition at line 233 of file marchingcubes.h. 00234 { 00235 minimum = min; 00236 maximum = max; 00237 needtorecolor = true; 00238 }
|
|
Definition at line 252 of file marchingcubes.h. 00253 { 00254 needtorecolor = recolor; 00255 }
|
|
Set origin.
Definition at line 211 of file marchingcubes.h. 00212 { 00213 originx = orix; 00214 originy = oriy; 00215 originz = oriz; 00216 needtorecolor = true; 00217 }
|
|
Set RGB mode 0 = none, 1 = color by radius, more to come :).
Definition at line 226 of file marchingcubes.h. 00227 { 00228 rgbmode = mode; 00229 needtorecolor = true; 00230 }
|
|
Set scaling.
Definition at line 219 of file marchingcubes.h. 00220 { 00221 inner = i; 00222 outer = o; 00223 needtorecolor = true; 00224 }
|
|
Definition at line 270 of file marchingcubes.h. |
|
Definition at line 268 of file marchingcubes.h. |
|
Definition at line 269 of file marchingcubes.h. |
|
Definition at line 261 of file marchingcubes.h. |
|
Definition at line 264 of file marchingcubes.h. |
|
Definition at line 263 of file marchingcubes.h. |
|
Definition at line 266 of file marchingcubes.h. |
|
Definition at line 258 of file marchingcubes.h. |
|
Definition at line 259 of file marchingcubes.h. |
|
Definition at line 260 of file marchingcubes.h. |
|
Definition at line 262 of file marchingcubes.h. |
|
Definition at line 272 of file marchingcubes.h. |
|
Definition at line 257 of file marchingcubes.h. |