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 Member Functions | Public Attributes | Static Public Attributes | List of all members
Core::IsosurfacePrivate Class Reference

Public Member Functions

void downsample_setup (int num_threads, double quality_factor)
 
void parallel_downsample_mask (int thread, int num_threads, boost::barrier &barrier, double quality_factor)
 
void compute_setup ()
 
void compute_faces_setup (int num_threads)
 
void parallel_compute_faces (int thread, int num_threads, boost::barrier &barrier)
 
void translate_cap_coords (int cap_num, float i, float j, float &x, float &y, float &z)
 
size_t get_data_index (float x, float y, float z)
 
void compute_cap_faces ()
 
void parallel_compute_normals (int thread, int num_threads, boost::barrier &barrier)
 
void upload_to_vertex_buffer ()
 
void reset ()
 

Public Attributes

Isosurfaceisosurface_
 
MaskVolumeHandle downsample_mask_volume_
 
int neighborhood_size_
 
size_t zsize_
 
size_t total_neighborhoods_
 
MaskVolumeHandle orig_mask_volume_
 
MaskVolumeHandle compute_mask_volume_
 
unsigned char mask_value_
 
PointFVector points_
 
VectorFVector normals_
 
UIntVector faces_
 
FloatVector values_
 
float area_
 
ColorMapHandle color_map_
 
unsigned char * data_
 
size_t nx_
 
size_t ny_
 
size_t nz_
 
size_t elem_nx_
 
size_t elem_ny_
 
size_t elem_nz_
 
UCharVector type_buffer_
 
std::vector< UIntVector > edge_buffer_
 
UIntVector min_point_index_
 
UIntVector max_point_index_
 
UIntVector min_face_index_
 
UIntVector max_face_index_
 
std::vector< std::pair< unsigned int, unsigned int > > part_points_
 
std::vector< std::pair< unsigned int, unsigned int > > part_faces_
 
std::vector< UIntVector > part_indices_
 
std::vector< PointFVector > new_points_
 
std::vector< std::vector< StackVector< size_t, 3 > > > new_elems_
 
FloatVector new_elem_areas_
 
IVector front_offset_
 
IVector back_offset_
 
size_t global_point_cnt_
 
unsigned int prev_point_min_
 
unsigned int prev_point_max_
 
std::vector< VertexBufferBatchHandle > vbo_batches_
 
bool vbo_available_
 
bool surface_changed_
 
bool values_changed_
 
bool need_abort_
 
boost::function< bool() > check_abort_
 

Static Public Attributes

static const double COMPUTE_PERCENT_PROGRESS_C = 0.8
 
static const double NORMAL_PERCENT_PROGRESS_C = 0.05
 
static const double PARTITION_PERCENT_PROGRESS_C = 0.15
 

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