Hide menu
Loading...
Searching...
No Matches
cadex::JT_WriterParameters Class Reference

Defines parameters used by the JT writer. More...

#include <cadex/JT_WriterParameters.hxx>

Inheritance diagram for cadex::JT_WriterParameters:
cadex::Base_WriterParameters

Public Types

enum  FileSplitModeType { Monolithic , PerPart , Shattered }
 Defines the mode of splitting the resulting JT file. More...
 
enum  LayerConversionType { None , LayerFilter , RefSet }
 Defines the mode of layers export. More...
 
- Public Types inherited from cadex::Base_WriterParameters
typedef std::shared_ptr< internal::Base_WriterParametersImpl > ImplPtrType
 Reserved for internal use.
 

Public Member Functions

 JT_WriterParameters ()
 Constructor.
 
void SetFileSplitMode (FileSplitModeType theMode)
 Sets a file split mode.
 
FileSplitModeType FileSplitMode () const
 Returns a file split mode.
 
LayerConversionType LayerConversionMode () const
 Returns a layer conversion mode.
 
LayerConversionTypeLayerConversionMode ()
 Returns a layer conversion mode.
 
const ModelAlgo_BRepMesherParametersMesherParameters () const
 Returns mesher parameters.
 
ModelAlgo_BRepMesherParametersMesherParameters ()
 Returns mesher parameters.
 
bool SaveBRepRepresentation () const
 
bool & SaveBRepRepresentation ()
 
bool SavePolyRepresentation () const
 
bool & SavePolyRepresentation ()
 
Base_LengthUnit PolyRepresentationUnit () const
 Specifies an unit coeficient of polygonal representations.
 
Base_LengthUnitPolyRepresentationUnit ()
 Specifies an unit coeficient of polygonal representations.
 
bool OverrideInstanceNames () const
 Specifies whether original instance names should be overridden by parts/assemblies names.
 
bool & OverrideInstanceNames ()
 Specifies whether original instance names should be overridden by parts/assemblies names.
 
- Public Member Functions inherited from cadex::Base_WriterParameters
bool WriteBRepRepresentation () const
 Returns whether B-Rep representation should be saved.
 
bool & WriteBRepRepresentation ()
 Specifies whether B-Rep representation should be saved.
 
bool WritePolyRepresentation () const
 Returns whether polygonal representation should be saved.
 
bool & WritePolyRepresentation ()
 Specifies whether polygonal representation should be saved.
 
bool WriteTextures () const
 Returns whether texture should be saved.
 
bool & WriteTextures ()
 Specifies whether texture should be saved.
 
bool WritePMI () const
 Specifies whether Product and Manufacturing Information (PMI) should be saved. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.See above for non-const method.
 
bool & WritePMI ()
 Specifies whether Product and Manufacturing Information (PMI) should be saved.
 
Base_LengthUnit LengthUnit () const
 Returns the length unit.
 
Base_LengthUnitLengthUnit ()
 Specifies the length unit.
 
ModelData_RepresentationMask PreferredLOD () const
 Returns the type of polygonal representation that should be written.
 
ModelData_RepresentationMaskPreferredLOD ()
 Specifies the type of polygonal representation that should be written.
 
const Base_UTF16StringAuthor () const
 Returns the author name.
 
Base_UTF16StringAuthor ()
 Specifies the model author name.
 
const Base_UTF16StringOrganization () const
 Returns the organization name.
 
Base_UTF16StringOrganization ()
 Specifies the organization name.
 
const Base_UTF16StringOriginatingSystem () const
 Returns the originating system name.
 
Base_UTF16StringOriginatingSystem ()
 Specifies the originating system name.
 
bool UseOYAsUpAxis () const
 Specifies whether OY should be saved as axis normal. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.See above for non-const method.
 
bool & UseOYAsUpAxis ()
 Specifies whether OY should be saved as axis normal.
 
internal::Base_WriterParametersImpl * Impl () const
 Returns internal implementation object.
 
template<typename T >
T * Impl () const
 Reserved for internal use.
 
const ImplPtrTypeSharedImpl () const
 Reserved for internal use.
 

Additional Inherited Members

- Protected Member Functions inherited from cadex::Base_WriterParameters
 Base_WriterParameters (internal::Base_WriterParametersImpl *theImpl)
 Constructor.
 

Detailed Description

Defines parameters used by the JT writer.

Refer to Exporter Parameters.

Parameters can be set using JT_Writer::Parameters().

Examples
conversion/transferparams/Program.cs, and conversion/transferparams/main.cxx.

Member Enumeration Documentation

◆ FileSplitModeType

Defines the mode of splitting the resulting JT file.

Supports per part, shattered and monolithic modes.

Examples
conversion/transferparams/Program.cs.

◆ LayerConversionType

Defines the mode of layers export.

Refer to Layers Support.

Constructor & Destructor Documentation

◆ JT_WriterParameters()

cadex::JT_WriterParameters::JT_WriterParameters ( )

Constructor.

Initializes with default values:

See also
Base_WriterParameters::Base_WriterParameters()

Member Function Documentation

◆ MesherParameters() [1/2]

ModelAlgo_BRepMesherParameters & cadex::JT_WriterParameters::MesherParameters ( )

Returns mesher parameters.

Deprecated:
Kept for preserving binary compatibility.

◆ MesherParameters() [2/2]

const ModelAlgo_BRepMesherParameters & cadex::JT_WriterParameters::MesherParameters ( ) const

Returns mesher parameters.

Deprecated:
Kept for preserving binary compatibility.

◆ SaveBRepRepresentation() [1/2]

bool & cadex::JT_WriterParameters::SaveBRepRepresentation ( )

◆ SaveBRepRepresentation() [2/2]

bool cadex::JT_WriterParameters::SaveBRepRepresentation ( ) const

◆ SavePolyRepresentation() [1/2]

bool & cadex::JT_WriterParameters::SavePolyRepresentation ( )

◆ SavePolyRepresentation() [2/2]

bool cadex::JT_WriterParameters::SavePolyRepresentation ( ) const