visu Package

visu Package

This package contains visualization helpers for the geometric primitives in use in phantomas.

views Module

Views (in vtk) for end points and fibers.

class phantomas.visu.views.ViewFiber(fiber, ren, **kwargs)

A fiber is represented as a vtkPolyData, and attached to a vtk renderer.

Methods

draw(fiber)
get_actor()
init_draw(fiber, ren, **kwargs)
notify(fiber) If the internal structure of a fiber has changed, we need to modify the
draw(fiber)
get_actor()
init_draw(fiber, ren, **kwargs)
notify(fiber)

If the internal structure of a fiber has changed, we need to modify the vtk objects accordingly.

class phantomas.visu.views.ViewIsotropicRegion(isotropic_region, ren, **kwargs)

An isotropic region (sphere) is represented as a vtkPolyData, and attached to a vtk renderer.

Methods

get_actor()
init_draw(center, radius, ren, **kwargs)
get_actor()
init_draw(center, radius, ren, **kwargs)
class phantomas.visu.views.ViewSphere(radius, ren, **kwargs)

Simply adds a translucent sphere (representing cortical surface).

Methods

init_draw(radius, ren, **kwargs)
init_draw(radius, ren, **kwargs)

Table Of Contents

This Page