Eidolon
Public Member Functions | List of all members
ModifierBase Class Reference
Inheritance diagram for ModifierBase:
Inheritance graph
Collaboration diagram for ModifierBase:
Collaboration graph

Public Member Functions

def applyMeshMod (self, nodes, norms, inds, colors, uvs, trans=None)
 
def applyDatasetMod (self, rep, dataset, nodecolors, indices, selectedinds, reprtype, modinds)
 

Detailed Description

A default modifier object for ModifierBufferGenerator generator objects which does not change its input data.

Member Function Documentation

◆ applyDatasetMod()

def applyDatasetMod (   self,
  rep,
  dataset,
  nodecolors,
  indices,
  selectedinds,
  reprtype,
  modinds 
)
Modify a mesh by appending new nodes, node colors, and indices to the given matrices and dataset object. The
mesh belongs to the SceneObjectRepr object `rep' which contains the dataset object `dataset'. The matrix
`selectedinds' stores the indices of elements selected for visibility (which will initially be the external
indices matrix) and only these should be considered for modification. The output matrix `modinds' contains all
the indices for elements this modifier has chosen for visibility, so by default `selectedinds' is copied into it.
If `selectedinds' is None then all elements are visible.

◆ applyMeshMod()

def applyMeshMod (   self,
  nodes,
  norms,
  inds,
  colors,
  uvs,
  trans = None 
)
Given the argument lists which define a mesh, modify the mesh by changing the list values or appending to the
lists. The return value must be the tuple (nodes,norms,inds,colors,uvs), in other words return a modified mesh.

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