NDEVR
API Documentation
FactoryFeatures

Allows IOFactories to report what features they support to make the import/export dialogs easier to setup and layout. More...

Collaboration diagram for FactoryFeatures:
[legend]

Public Attributes

AsciiOptions ascii_options
 Options controlling ASCII-specific import/export behavior.
bool compression_supported [CompressionMode::e_compression_count]
 Lookup table indicating which CompressionMode values are supported by the factory.
bool has_degenerates = false
 Whether the format may contain degenerate geometry (e.g., zero-area triangles).
bool supports_advanced = true
 Whether the factory exposes advanced import/export options in the UI.
bool supports_custom_orientation = false
 Whether the factory supports applying a custom orientation transform.
bool supports_default_color = false
 Whether a default color can be assigned to geometry lacking color data.
bool supports_flatten_hierarchy = false
 Whether the factory supports flattening a model hierarchy into a single level.
bool supports_hierarchy = false
 Whether the file format supports hierarchical model structure.
bool supports_line_thickness = false
 Whether the factory supports specifying line thickness for line geometry.
bool supports_normal_generation = false
 Whether the factory can generate surface normals during import.
bool supports_owner_password = false
 Whether the file format supports an owner/admin password for access control.
bool supports_point_size = false
 Whether the factory supports specifying point size for point cloud data.
bool supports_toggle_lines = false
 Whether line geometry can be toggled on or off during import/export.
bool supports_toggle_mesh = false
 Whether mesh (surface) geometry can be toggled on or off during import/export.
bool supports_toggle_points = false
 Whether point geometry can be toggled on or off during import/export.
bool supports_triangle_winding = false
 Whether the factory supports configuring triangle winding order.
bool supports_units = true
 Whether the factory supports unit specification (e.g., meters, feet).
bool supports_user_password = false
 Whether the file format supports a user-level password for read access.
bool supports_uv_generation = false
 Whether the factory can generate UV texture coordinates during import.
bool supports_wireframe = false
 Whether the factory supports wireframe rendering mode during export.

Detailed Description

Allows IOFactories to report what features they support to make the import/export dialogs easier to setup and layout.


See also
IOFactory, FactoryOptions

Definition at line 45 of file FactoryFeatures.h.

Member Data Documentation

◆ compression_supported

bool FactoryFeatures::compression_supported[CompressionMode::e_compression_count]
Initial value:
=
{
false
, false
, false
, false
, false
, false
, false
, false
, false
, false
, false
, false
, false
, false
}

Lookup table indicating which CompressionMode values are supported by the factory.

Each index corresponds to a CompressionMode enum value. A value of true means that compression mode is supported for import or export.

Definition at line 55 of file FactoryFeatures.h.


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