![]() ![]() 1 - Single X, Y (and Z if 3D) axes located at the minimum data value.Decrease the margins so the graphic almost fills the window. Set this keyword to one of the following values: By default, the function uses the minimum and maximum values of all volume parameters to uniformly byte-scale the data. This scaling is done for display purposes only. Note: The volume data provided in the Vol 0, Vol 1, Vol 2, and Vol 3 arguments are scaled into byte values (ranging from 0 to 255) with the BYTSCL function to facilitate using the volume data as indices into the RGB and OPACITY tables. ![]() If all the arguments are present, the composite function cannot be set to the average-intensity projection (COMPOSITE_FUNCTION = 3) test for conditional text. Src = (RGB_TABLE, RGB_TABLE, $ RGB_TABLE)/ 256 srcalpha = (OPACITY_TABLE0)/ 256. The Vol 3 argument indexes OPACITY_TABLE0: If all the arguments are present, Vol 0 indexes the red channel of RGB_TABLE0, Vol 1 indexes the green channel of RGB_TABLE0, and Vol 2 indexes the blue channel of RGB_TABLE0.Src = (RGB_TABLE0*RGB_TABLE1)/ 256 srcalpha = (OPACITY_TABLE0*OPACITY_TABLE1)/ 256 If Vol 0 and Vol 1 are the only arguments present, the two volumes are blended together using independent tables:.Src = RGB_TABLE0 srcalpha = OPACITY_TABLE0 If Vol 0 is the only argument present, the values of src and srcalpha are taken directly from the RGB and OPACITY tables, as indexed by each volume data sample:.The number of volume arguments determine how the src and srcalpha values for the COMPOSITE_FUNCTION are computed: The number of volumes present and the value of the COMPOSITE_FUNCTION property determine how the volume data is rendered by the iVolume tool. If more than one volume is specified, they must all have the same dimensions. Arrays of strings, structures, object references, and pointers are not allowed. ArgumentsĪ three-dimensional array of any numeric type containing volume data. Use the returned reference to manipulate the graphic after creation by changing properties or calling methods. The Volume function returns a reference to the created graphic. Note: The GetValueAtLocation method is not supported for VOLUME. Properties can be set as keywords to the function during creation, or retrieved or changed using the "." notation after creation.ĪMBIENT, ASPECT_RATIO, ASPECT_Z, AUTO_RENDER, AXES, BACKGROUND_COLOR, BACKGROUND_TRANSPARENCY, BOUNDS, CLIP, CLIP_PLANES, COLOR, COMPOSITE_FUNCTION, DEPTH_CUE, EXTENTS_TRANSPARENCY, EYE, FONT_COLOR, FONT_NAME, FONT_SIZE, FONT_STYLE, HIDE, HINTS, INTERPOLATE, LIGHTING_MODEL, MAX_VALUE, MIN_VALUE, NAME, OPACITY_TABLE0, OPACITY_TABLE1, POSITION, RENDER_EXENTS, RENDER_QUALITY, RENDER_STEP, RGB_TABLE0, RGB_TABLE1, TITLE, TWO_SIDED, UVALUE, WINDOW, WINDOW_TITLE, XRANGE, YRANGE, ZBUFFER, ZERO_OPACITY_SKIP, ZCLIP, ZRANGE Methods BUFFER, / CURRENT, / DEVICE, DIMENSIONS=, LAYOUT= array, LOCATION=, MARGIN= scalar or, / NO_TOOLBAR, / NODATA, / OVERPLOT, / WIDGETS Keywords are applied only during the initial creation of the graphic. file = FILEPATH( 'head.dat', SUBDIRECTORY = ) data = READ_BINARY(file, DATA_DIMS = ) Display the volume. The following lines create the volume shown above. ![]() The VOLUME function displays a visual representation of a three-dimensional array of data. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |