All Classes Namespaces Files Functions Variables
swc_mesher.MakeNeuronMetaPropGroup Class Reference

Main GUI property group. More...

Inheritance diagram for swc_mesher.MakeNeuronMetaPropGroup:
Inheritance graph
Collaboration diagram for swc_mesher.MakeNeuronMetaPropGroup:
Collaboration graph

Public Member Functions

def draw
 
def make_new_cable_model
 Function to make a new cable model from scratch. More...
 
def cable_model_add_func
 Functions to add/remove cable models from the list of cable models to edit. More...
 
def cable_model_remove_func
 
def cable_model_remove_all_func
 
def check_duplicate_verts
 Functions to edit the cable model. More...
 
def update_cable_model_post_edit
 
def make_spheres_from_object
 
def update_cable_model_from_spheres
 
def export_cable_model
 
def hide_vertex_spheres
 
def delete_vertex_spheres
 
def file_name_change
 Functions to make the surface mesh. More...
 
def read_segments_from_object
 
def read_segments_from_file
 
def perform_analysis
 
def get_swc_from_mesh_stick
 
def build_neuron_stick_from_file
 
def build_neuron_meta_from_segments
 

Public Attributes

 active_object_index
 
 num_nodes_in_object
 
 num_lines_in_file
 
 num_nodes_in_file
 
 num_segments_in_file
 
 largest_radius_in_file
 
 smallest_radius_in_file
 
 min_x
 
 max_x
 
 min_y
 
 max_y
 
 min_z
 
 max_z
 
 file_analyzed
 

Static Public Attributes

tuple neuron_file_name = StringProperty( subtype='FILE_PATH', default="", update=file_name_change)
 
tuple neuron_file_data = StringProperty( default="" )
 
tuple convert_to_mesh = BoolProperty( name="Convert to Mesh", default=False )
 
tuple show_analysis = BoolProperty( default=False )
 
tuple show_stick = BoolProperty( default=False )
 
tuple file_analyzed = BoolProperty( default=False )
 
tuple num_lines_in_file = IntProperty( default=-1 )
 
tuple num_segments_in_file = IntProperty( default=-1 )
 
tuple num_nodes_in_file = IntProperty( default=-1 )
 
tuple largest_radius_in_file = FloatProperty( default=-1 )
 
tuple smallest_radius_in_file = FloatProperty( default=-1 )
 
tuple min_x = FloatProperty( default=-1 )
 
tuple max_x = FloatProperty( default=-1 )
 
tuple min_y = FloatProperty( default=-1 )
 
tuple max_y = FloatProperty( default=-1 )
 
tuple min_z = FloatProperty( default=-1 )
 
tuple max_z = FloatProperty( default=-1 )
 
tuple scale_file_data = FloatProperty( default=1.0, precision=4, description="Scale factor applied to data read from a file" )
 
tuple meta_ball_scale_factor = FloatProperty( default=1.0, precision=4, description="Scale factor applied to mesh radius" )
 
tuple mesh_resolution = FloatProperty( default=0.1, precision=4, description="Intended resolution of the final mesh" )
 
tuple min_forced_radius = FloatProperty( default=0.0, precision=4, description="Smallest radius allowed in all segments (smaller forced up to this radius)" )
 
tuple num_segs_limit = IntProperty( default=0, description="Only generate this number of segments (useful for testing settings in large neurons)" )
 
tuple new_sphere_radius = FloatProperty( default=1, description="Radius of new vertex spheres" )
 
tuple cable_model_list = CollectionProperty(type=CableModelObject, name="Cable Model List")
 
tuple active_object_index = IntProperty(name="Active Object Index", default=0)
 

Detailed Description

Main GUI property group.

Member Function Documentation

def swc_mesher.MakeNeuronMetaPropGroup.build_neuron_meta_from_segments (   self,
  context,
  segments 
)
def swc_mesher.MakeNeuronMetaPropGroup.build_neuron_stick_from_file (   self,
  context 
)

Here is the call graph for this function:

def swc_mesher.MakeNeuronMetaPropGroup.cable_model_add_func (   self,
  context 
)

Functions to add/remove cable models from the list of cable models to edit.

Here is the caller graph for this function:

def swc_mesher.MakeNeuronMetaPropGroup.cable_model_remove_all_func (   self,
  context 
)
def swc_mesher.MakeNeuronMetaPropGroup.cable_model_remove_func (   self,
  context 
)
def swc_mesher.MakeNeuronMetaPropGroup.check_duplicate_verts (   self,
  context 
)

Functions to edit the cable model.

Here is the call graph for this function:

Here is the caller graph for this function:

def swc_mesher.MakeNeuronMetaPropGroup.delete_vertex_spheres (   self,
  context 
)

Here is the caller graph for this function:

def swc_mesher.MakeNeuronMetaPropGroup.draw (   self,
  layout 
)
def swc_mesher.MakeNeuronMetaPropGroup.export_cable_model (   self,
  context,
  fpath 
)

Here is the call graph for this function:

def swc_mesher.MakeNeuronMetaPropGroup.file_name_change (   self)

Functions to make the surface mesh.

Here is the call graph for this function:

def swc_mesher.MakeNeuronMetaPropGroup.get_swc_from_mesh_stick (   self,
  context 
)

Here is the call graph for this function:

Here is the caller graph for this function:

def swc_mesher.MakeNeuronMetaPropGroup.hide_vertex_spheres (   self,
  context,
  flag 
)
def swc_mesher.MakeNeuronMetaPropGroup.make_new_cable_model (   self,
  context 
)

Function to make a new cable model from scratch.

Here is the call graph for this function:

def swc_mesher.MakeNeuronMetaPropGroup.make_spheres_from_object (   self,
  context 
)

Here is the call graph for this function:

Here is the caller graph for this function:

def swc_mesher.MakeNeuronMetaPropGroup.perform_analysis (   self,
  segments 
)

Here is the caller graph for this function:

def swc_mesher.MakeNeuronMetaPropGroup.read_segments_from_file (   self)

Here is the call graph for this function:

Here is the caller graph for this function:

def swc_mesher.MakeNeuronMetaPropGroup.read_segments_from_object (   self,
  context 
)
def swc_mesher.MakeNeuronMetaPropGroup.update_cable_model_from_spheres (   self,
  context 
)
def swc_mesher.MakeNeuronMetaPropGroup.update_cable_model_post_edit (   self,
  context 
)

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

tuple swc_mesher.MakeNeuronMetaPropGroup.active_object_index = IntProperty(name="Active Object Index", default=0)
static
swc_mesher.MakeNeuronMetaPropGroup.active_object_index
tuple swc_mesher.MakeNeuronMetaPropGroup.cable_model_list = CollectionProperty(type=CableModelObject, name="Cable Model List")
static
tuple swc_mesher.MakeNeuronMetaPropGroup.convert_to_mesh = BoolProperty( name="Convert to Mesh", default=False )
static
tuple swc_mesher.MakeNeuronMetaPropGroup.file_analyzed = BoolProperty( default=False )
static
swc_mesher.MakeNeuronMetaPropGroup.file_analyzed
tuple swc_mesher.MakeNeuronMetaPropGroup.largest_radius_in_file = FloatProperty( default=-1 )
static
swc_mesher.MakeNeuronMetaPropGroup.largest_radius_in_file
tuple swc_mesher.MakeNeuronMetaPropGroup.max_x = FloatProperty( default=-1 )
static
swc_mesher.MakeNeuronMetaPropGroup.max_x
tuple swc_mesher.MakeNeuronMetaPropGroup.max_y = FloatProperty( default=-1 )
static
swc_mesher.MakeNeuronMetaPropGroup.max_y
tuple swc_mesher.MakeNeuronMetaPropGroup.max_z = FloatProperty( default=-1 )
static
swc_mesher.MakeNeuronMetaPropGroup.max_z
tuple swc_mesher.MakeNeuronMetaPropGroup.mesh_resolution = FloatProperty( default=0.1, precision=4, description="Intended resolution of the final mesh" )
static
tuple swc_mesher.MakeNeuronMetaPropGroup.meta_ball_scale_factor = FloatProperty( default=1.0, precision=4, description="Scale factor applied to mesh radius" )
static
tuple swc_mesher.MakeNeuronMetaPropGroup.min_forced_radius = FloatProperty( default=0.0, precision=4, description="Smallest radius allowed in all segments (smaller forced up to this radius)" )
static
tuple swc_mesher.MakeNeuronMetaPropGroup.min_x = FloatProperty( default=-1 )
static
swc_mesher.MakeNeuronMetaPropGroup.min_x
tuple swc_mesher.MakeNeuronMetaPropGroup.min_y = FloatProperty( default=-1 )
static
swc_mesher.MakeNeuronMetaPropGroup.min_y
tuple swc_mesher.MakeNeuronMetaPropGroup.min_z = FloatProperty( default=-1 )
static
swc_mesher.MakeNeuronMetaPropGroup.min_z
tuple swc_mesher.MakeNeuronMetaPropGroup.neuron_file_data = StringProperty( default="" )
static
tuple swc_mesher.MakeNeuronMetaPropGroup.neuron_file_name = StringProperty( subtype='FILE_PATH', default="", update=file_name_change)
static
tuple swc_mesher.MakeNeuronMetaPropGroup.new_sphere_radius = FloatProperty( default=1, description="Radius of new vertex spheres" )
static
tuple swc_mesher.MakeNeuronMetaPropGroup.num_lines_in_file = IntProperty( default=-1 )
static
swc_mesher.MakeNeuronMetaPropGroup.num_lines_in_file
tuple swc_mesher.MakeNeuronMetaPropGroup.num_nodes_in_file = IntProperty( default=-1 )
static
swc_mesher.MakeNeuronMetaPropGroup.num_nodes_in_file
swc_mesher.MakeNeuronMetaPropGroup.num_nodes_in_object
tuple swc_mesher.MakeNeuronMetaPropGroup.num_segments_in_file = IntProperty( default=-1 )
static
swc_mesher.MakeNeuronMetaPropGroup.num_segments_in_file
tuple swc_mesher.MakeNeuronMetaPropGroup.num_segs_limit = IntProperty( default=0, description="Only generate this number of segments (useful for testing settings in large neurons)" )
static
tuple swc_mesher.MakeNeuronMetaPropGroup.scale_file_data = FloatProperty( default=1.0, precision=4, description="Scale factor applied to data read from a file" )
static
tuple swc_mesher.MakeNeuronMetaPropGroup.show_analysis = BoolProperty( default=False )
static
tuple swc_mesher.MakeNeuronMetaPropGroup.show_stick = BoolProperty( default=False )
static
tuple swc_mesher.MakeNeuronMetaPropGroup.smallest_radius_in_file = FloatProperty( default=-1 )
static
swc_mesher.MakeNeuronMetaPropGroup.smallest_radius_in_file

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