Package esys :: Package pyvisi :: Module glyph :: Class TensorGlyph
[hide private]
[frames] | no frames]

Class TensorGlyph

Known Subclasses:

Class that defines tensor glyphs.

Instance Methods [hide private]
 
__init__(self)
Initialise the tensor glyph.
 
__setInput(self)
Set the input for the tensor glyph.
 
__setSource(self)
Set the source for the tensor glyph.
vtkPolyData
_getTensorGlyphOutput(self)
Return the output of the tensor glyph.
 
_setupTensorGlyph(self, object, source)
Setup the tensor glyph.
 
setMaxScaleFactor(self, max_scale_factor)
Set the maximum allowable scale factor for the tensor glyph.
 
setScaleFactor(self, scale_factor)
Set the scale factor for the tensor glyph.
Method Details [hide private]

_getTensorGlyphOutput(self)

 

Return the output of the tensor glyph.

Returns: vtkPolyData
Polygonal data

_setupTensorGlyph(self, object, source)

 

Setup the tensor glyph.

Parameters:
  • object (vtkDataSet, etc) - Input for the 3D glyph
  • source (vtkPolyData) - Source for the 3D glyph (i.e. Sphere, etc)

setMaxScaleFactor(self, max_scale_factor)

 

Set the maximum allowable scale factor for the tensor glyph.

Parameters:
  • max_scale_factor (Number) - Maximum allowable scale factor.

setScaleFactor(self, scale_factor)

 

Set the scale factor for the tensor glyph.

Parameters:
  • scale_factor (Number) - Scale factor