Class PointCloudFilterBase

java.lang.Object
de.grogra.pf.io.FilterBase
de.grogra.pointcloud.importer.PointCloudFilterBase
All Implemented Interfaces:
Filter, FilterSource, RegistryContext, Map
Direct Known Subclasses:
PLYImporter.ObjLoader

public abstract class PointCloudFilterBase extends FilterBase
  • Field Details

    • pcRoot

      protected Node pcRoot
    • allPoints

      protected XHashMap<Long,Node> allPoints
    • addPoints

      protected boolean addPoints
    • leaves

      protected LeafMap leaves
  • Constructor Details

  • Method Details

    • getLeafFor

      public PointCloudLeaf getLeafFor(Object object, boolean asNode)
      Parameters:
      object - type of leaf considered - point, line, mesh
      asNode - is object a node or an edge?
      Returns:
      suitable export for the object or null
    • endExport

      public abstract void endExport()
    • getPoint

      public abstract Node getPoint(long id)
    • getPoints

      public abstract Node[] getPoints(Object list)
    • getKey

      public abstract String getKey(Object o)
      Provide a mapping between the required keys from the leaf elements and the filter.
      Parameters:
      o - the required key from a leaf
      Returns: