API Documentation
Loading...
Searching...
No Matches
LASFactory Class Reference

Provides support for reading and writing to LAS and LAZ point cloud files using the FactoryIO interface. More...

#include <LASFactory.h>

Inheritance diagram for LASFactory:
[legend]
Collaboration diagram for LASFactory:
[legend]

Public Member Functions

void addGeneratingSoftwareToTreatAsScan (const String &software)
 
bool canRead (const FactoryParameters &file) override
 
void clearGeneratingSoftwareToTreatAsScan ()
 
FactoryOptions defaultReadOptions (const FactoryParameters &file) const override
 
FactoryOptions defaultWriteOptions (const FactoryParameters &file) const override
 
bool determineExtension (const File &file, String &extension) override
 
FactoryFeatures factoryFeatures (const FactoryParameters &file, bool is_import) const override
 
Buffer< UUIDfilterModelsToExport (Buffer< UUID > models_to_check, const DesignObjectLookup *lookup, const FileFormat &export_format) const override
 
void getSupportedFormats (Buffer< FileFormat > &formats, bool is_read) override
 
 LASFactory ()
 
bool readFile (FactoryParameters &file) override
 
void readPoints (Model &station, LASreader *reader, FactoryParameters &params)
 
void setGeneratingSoftwareToTreatAsScan (const Buffer< String > &software)
 
bool writeFile (FactoryParameters &file) override
 
- Public Member Functions inherited from IOFactory
virtual bool canRead (const File &file)
 
virtual bool canRead (const FileFormat &file)
 
virtual bool canWrite (const FactoryParameters &file)
 
virtual bool canWrite (const File &file)
 
virtual bool canWrite (const FileFormat &file)
 
String factoryReadAppFeature () const
 
String factoryWriteAppFeature () const
 
virtual String getIcon (const File &file)
 
void getSupportedFormats (Buffer< FileFormat > &formats)
 
virtual void getSupportedFormats (Buffer< FileFormat > &formats, const File &file)
 
virtual void getSupportedFormats (Buffer< FileFormat > &formats, DesignObjectLookup *lookup, const Buffer< UUID > &models)
 
virtual void getSupportedFormatsByModelType (Buffer< FileFormat > &formats, bool is_read, const String &model_type)
 
virtual void getSupportedFormatsForExtension (Buffer< FileFormat > &formats, bool is_read, const String &extension)
 
 IOFactory (const String &factory_name)
 
virtual bool isAutoEnabled () const
 
virtual bool isFactoryEnabled (bool is_read) const
 
const Stringname () const
 
bool readFileWithDefaultSettings (const File &file, DesignObjectLookup *lookup)
 
Buffer< ScenereadScenesFromFile (const File &file)
 
void throwIfNotEnabled (bool is_read)
 
virtual bool updateFromFile (const FactoryParameters &file, const FactoryOptions &old_options)
 
bool writeScenesToFile (const File &file, const Buffer< Scene > &scene)
 
virtual ~IOFactory ()
 

Static Public Member Functions

static LASFactoryDefaultFactory ()
 
static FileFormat LASFormat ()
 
static FileFormat LAZFormat ()
 
- Static Public Member Functions inherited from IOFactory
static void EnableExtension (const String &extension, const String &read_password, const String &write_password)
 
static void EnableFactory (const String &factory, const String &read_password, const String &write_password)
 
static void EnableFactory (IOFactory *factory, const String &read_password, const String &write_password)
 

Protected Attributes

Buffer< Stringm_generating_software_to_treat_as_scan
 

Detailed Description

Provides support for reading and writing to LAS and LAZ point cloud files using the FactoryIO interface.


Constructor & Destructor Documentation

◆ LASFactory()

Member Function Documentation

◆ addGeneratingSoftwareToTreatAsScan()

void addGeneratingSoftwareToTreatAsScan ( const String & software)

◆ canRead()

bool canRead ( const FactoryParameters & file)
overridevirtual

Reimplemented from IOFactory.

◆ clearGeneratingSoftwareToTreatAsScan()

void clearGeneratingSoftwareToTreatAsScan ( )

◆ DefaultFactory()

static LASFactory * DefaultFactory ( )
static

◆ defaultReadOptions()

FactoryOptions defaultReadOptions ( const FactoryParameters & file) const
overridevirtual

Reimplemented from IOFactory.

◆ defaultWriteOptions()

FactoryOptions defaultWriteOptions ( const FactoryParameters & file) const
overridevirtual

Reimplemented from IOFactory.

◆ determineExtension()

bool determineExtension ( const File & file,
String & extension )
overridevirtual

Reimplemented from IOFactory.

◆ factoryFeatures()

FactoryFeatures factoryFeatures ( const FactoryParameters & file,
bool is_import ) const
overridevirtual

Implements IOFactory.

◆ filterModelsToExport()

Buffer< UUID > filterModelsToExport ( Buffer< UUID > models_to_check,
const DesignObjectLookup * lookup,
const FileFormat & export_format ) const
overridevirtual

Reimplemented from IOFactory.

◆ getSupportedFormats()

void getSupportedFormats ( Buffer< FileFormat > & formats,
bool is_read )
overridevirtual

Implements IOFactory.

◆ LASFormat()

static FileFormat LASFormat ( )
static

◆ LAZFormat()

static FileFormat LAZFormat ( )
static

◆ readFile()

bool readFile ( FactoryParameters & file)
overridevirtual

Implements IOFactory.

◆ readPoints()

void readPoints ( Model & station,
LASreader * reader,
FactoryParameters & params )

◆ setGeneratingSoftwareToTreatAsScan()

void setGeneratingSoftwareToTreatAsScan ( const Buffer< String > & software)

◆ writeFile()

bool writeFile ( FactoryParameters & file)
overridevirtual

Implements IOFactory.

Member Data Documentation

◆ m_generating_software_to_treat_as_scan

Buffer<String> m_generating_software_to_treat_as_scan
protected

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