Version: 
Back to list

Algo :: hiddenRemovalViewPoints

Synopsis

   Delete parts, patches or polygons not viewed from a set of camera position/orientation

GUI Dialog

   

Script function

   algo.hiddenRemovalViewPoints(occurrences, level, cameraPositions, cameraDirections, cameraUps, resolution[, fovX[, considerTransparentOpaque[, adjacencyDepth]]]) -> viewedOccurrences

Parameters

   occurrences (OccurrenceList) : Occurrences of components to process
   level (SelectionLevel) : Level of parts to remove : Parts, Patches or Polygons
   cameraPositions (Point3List) : List of camera positions
   cameraDirections (Point3List) : List of camera directions
   cameraUps (Point3List) : List of camera up vectors
   resolution (Int) : Resolution of the visibility viewer
   fovX (Double[optional] : Horizontal field of view (in degree)
   considerTransparentOpaque (Boolean[optional] : If True, Parts, Patches or Polygons with a transparent appearance are considered as opaque
   adjacencyDepth (Int[optional] : Mark neighbors polygons as visible

Return value

   viewedOccurrences (BoolList) : For each occurrence in occurrences, tell if the occurrence has been viewed (True) or not (True)