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

Class Glyph3D

Known Subclasses:

Class that defines 3D glyphs.

Instance Methods [hide private]
 
__init__(self)
Initialise the 3D glyph.
 
__setClampingOn(self)
Enable clamping of "scalar" values to range.
 
__setInput(self)
Set the input for the 3D glyph.
 
__setOrientOn(self)
Enable the orientation of the rendered object along the vector/normal.
 
__setScalingOn(self)
Enable the scaling of the rendered object.
 
__setSource(self)
Set the source for the 3D glyph.
 
__setVectorModeByVector(self)
Set the 3D glyph vector mode according to the vector.
vtkPolyData @return Polygonal data
_getGlyph3DOutput(self)
Return the output of the 3D glyph.
 
_setColorModeByScalar(self)
Set the 3D glyph to color according to the scalar.
 
_setColorModeByVector(self)
Set the 3D glyph to color according to the vector.
 
_setRange(self, range)
Set the range to map scalar values.
 
_setupGlyph3D(self, object, source)
Setup the 3D glyph.
 
setScaleFactor(self, scale_factor)
Set the 3D glyph scale factor.
 
setScaleModeByScalar(self)
Set the 3D glyph to scale according to the scalar.
 
setScaleModeByVector(self)
Set the 3D glyph to scale according to the vector.
Method Details [hide private]

_setRange(self, range)

 

Set the range to map scalar values.

Parameters:
  • range (Two column tuple containing numbers) - Range to map scalar values

_setupGlyph3D(self, object, source)

 

Setup the 3D glyph.

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

setScaleFactor(self, scale_factor)

 

Set the 3D glyph scale factor.

Parameters:
  • scale_factor (Number) - Scale factor