Seg3D  2.4
Seg3D is a free volume segmentation and processing tool developed by the NIH Center for Integrative Biomedical Computing at the University of Utah Scientific Computing and Imaging (SCI) Institute.
All Classes Namespaces Functions Variables Typedefs Enumerator Friends
Public Types | Public Member Functions | List of all members
Core::LargeVolumeBrickSlice Class Reference

Public Types

typedef unsigned short texture_data_type
 

Public Member Functions

 LargeVolumeBrickSlice (LargeVolumeHandle volume, LargeVolumeSchemaHandle schema, const BrickInfo &bi)
 
Texture2DHandle get_texture (VolumeSliceType slice_type, double slice_pos, int &width, int &height, const std::string &load_key)
 
BBox get_inner_brick_bbox () const
 GET_INNER_BRICK_BBOX.
 
BBox get_outer_brick_bbox () const
 GET_OUTER_BRICK_BBOX.
 

Member Function Documentation

Texture2DHandle Core::LargeVolumeBrickSlice::get_texture ( VolumeSliceType  slice_type,
double  slice_pos,
int &  width,
int &  height,
const std::string &  load_key 
)

Upload the data slice to graphics texture if necessary, and return the texture handle. NOTE: This function allocates resources on the GPU, so the caller should acquire a lock on the RenderResources before calling this function.


The documentation for this class was generated from the following files: