API Documentation
Loading...
Searching...
No Matches
RockWorksFactory Class Referencefinal

writes and reads a Rockworks file Adds support for reading and writing BlockModel enteties to RockWorks. More...

#include <RockWorksFactory.h>

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

Public Member Functions

FactoryFeatures factoryFeatures (const FactoryParameters &file, bool is_import) const override
 
 RockWorksFactory ()
 
- Public Member Functions inherited from IOFactory
virtual bool canRead (const FactoryParameters &file)
 
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)
 
virtual FactoryOptions defaultReadOptions (const FactoryParameters &file) const
 
virtual FactoryOptions defaultWriteOptions (const FactoryParameters &file) const
 
virtual bool determineExtension (const File &file, String &extension)
 
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 void OutputForSlicerDicer (const SlicerOutputOptions &setup, const RockworksSolidModInfo &info)
 
static RockworksSolidModInfo ReadSolidModFile (File file)
 
static void UpdateModel (Model &model, const RockworksSolidModInfo &info)
 
static void WriteGenerateSolidScript (const RockWorksSetup &setup)
 
- 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)
 

Detailed Description

writes and reads a Rockworks file Adds support for reading and writing BlockModel enteties to RockWorks.


Constructor & Destructor Documentation

◆ RockWorksFactory()

Member Function Documentation

◆ factoryFeatures()

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

Implements IOFactory.

◆ OutputForSlicerDicer()

static void OutputForSlicerDicer ( const SlicerOutputOptions & setup,
const RockworksSolidModInfo & info )
static

◆ ReadSolidModFile()

static RockworksSolidModInfo ReadSolidModFile ( File file)
static

◆ UpdateModel()

static void UpdateModel ( Model & model,
const RockworksSolidModInfo & info )
static

◆ WriteGenerateSolidScript()

static void WriteGenerateSolidScript ( const RockWorksSetup & setup)
static

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