![]() |
Simplygon C++ API
8.3.35800.0
|
#include <SimplygonSDK.h>
Public Member Functions | |
virtual const char * | GetClass () |
virtual void | GetClippingGeometryEmptySpaceOverride (real *realReturnDataPtr)=0 |
virtual rid | GetClippingGeometrySelectionSetID ()=0 |
virtual rstring | GetClippingGeometrySelectionSetName ()=0 |
virtual rid | GetCuttingPlaneSelectionSetID ()=0 |
virtual rstring | GetCuttingPlaneSelectionSetName ()=0 |
virtual void | GetEmptySpaceOverride (real *realReturnDataPtr)=0 |
virtual real | GetHardEdgeAngleInRadians ()=0 |
virtual unsigned int | GetMaxTriangleSize ()=0 |
virtual real | GetMergeBoldness ()=0 |
virtual unsigned int | GetMergeDistance ()=0 |
virtual unsigned int | GetOnScreenSize ()=0 |
virtual rstring | GetOutputSceneNodeName ()=0 |
virtual rid | GetProcessSelectionSetID ()=0 |
virtual rstring | GetProcessSelectionSetName ()=0 |
virtual bool | GetRespectWindingDirection ()=0 |
virtual rid | GetSurfaceTransferMode ()=0 |
virtual bool | GetTransferColors ()=0 |
virtual bool | GetTransferNormals ()=0 |
virtual bool | GetUseClippingGeometry ()=0 |
virtual bool | GetUseClippingGeometryEmptySpaceOverride ()=0 |
virtual bool | GetUseCuttingPlanes ()=0 |
virtual bool | GetUseEmptySpaceOverride ()=0 |
virtual bool | GetUsePreviewMode ()=0 |
virtual bool | IsA (const char *type) const |
virtual void | SetClippingGeometryEmptySpaceOverride (const real *value_realInputDataPtr)=0 |
virtual void | SetClippingGeometrySelectionSetID (rid value)=0 |
virtual void | SetClippingGeometrySelectionSetName (const char *value)=0 |
virtual void | SetCuttingPlaneSelectionSetID (rid value)=0 |
virtual void | SetCuttingPlaneSelectionSetName (const char *value)=0 |
virtual void | SetEmptySpaceOverride (const real *value_realInputDataPtr)=0 |
virtual void | SetHardEdgeAngleInRadians (real value)=0 |
virtual void | SetMaxTriangleSize (unsigned int value)=0 |
virtual void | SetMergeBoldness (real value)=0 |
virtual void | SetMergeDistance (unsigned int value)=0 |
virtual void | SetOnScreenSize (unsigned int value)=0 |
virtual void | SetOutputSceneNodeName (const char *value)=0 |
virtual void | SetProcessSelectionSetID (rid value)=0 |
virtual void | SetProcessSelectionSetName (const char *value)=0 |
virtual void | SetRespectWindingDirection (bool value)=0 |
virtual void | SetSurfaceTransferMode (rid value)=0 |
virtual void | SetTransferColors (bool value)=0 |
virtual void | SetTransferNormals (bool value)=0 |
virtual void | SetUseClippingGeometry (bool value)=0 |
virtual void | SetUseClippingGeometryEmptySpaceOverride (bool value)=0 |
virtual void | SetUseCuttingPlanes (bool value)=0 |
virtual void | SetUseEmptySpaceOverride (bool value)=0 |
virtual void | SetUsePreviewMode (bool value)=0 |
![]() | |
virtual rstring | GetErrorString ()=0 |
virtual bool | ValidateSettings ()=0 |
![]() | |
virtual rid | AddObserver (robserver *Observer, rid EventId)=0 |
virtual void | AddRef ()=0 |
virtual rstring | GetName ()=0 |
virtual void * | GetUserComponentArea (rid userid)=0 |
virtual void | PrintInfo ()=0 |
virtual void | Release ()=0 |
virtual void | RemoveObserver (rid ObserverId)=0 |
virtual void | SetName (const char *Name)=0 |
Static Public Member Functions | |
static bool | IsClassA (const char *type) |
static IRemeshingSettings * | SafeCast (IObject *ptr) |
![]() | |
static bool | IsClassA (const char *type) |
static ISettingsObject * | SafeCast (IObject *ptr) |
![]() | |
static bool | IsClassA (const char *type) |
static IObject * | SafeCast (IObject *ptr) |
Remeshing settings for the IRemeshingProcessor class. The remesher creates a completely new lightweight mesh from the input geometry, and is intended to be viewed from the outside. Here you will set the OnScreenSize (larger numbers means a more detailed mesh), merge distance (which fills in smaller gaps) and a cutting plane (where all parts of the input mesh on the far side of that plane will be culled).
Definition at line 13179 of file SimplygonSDK.h.
|
virtual |
GetClass returns the name of the class of the object.
Reimplemented from SimplygonSDK::ISettingsObject.
|
pure virtual |
Get the clipping geometry empty space override coordinate.
realReturnDataPtr | pointer to a user-provided data area to receive the return value. Note! Needs to be at least 3 elements in size |
|
pure virtual |
The ID of the SelectionSet containing the terrain for clipping. If both ID and Name are set, ID will be used.
|
pure virtual |
The name of the SelectionSet containing the terrain for clipping. If both ID and Name are set, ID will be used.
|
pure virtual |
The ID of the SelectionSet containing all the cutting planes that should be used. If set to -1, all cutting planes are selected. Cutting planes will only be used if UseCuttingPlanes is true.
|
pure virtual |
The name of the SelectionSet containing all the cutting planes that should be used. If SetName is not found, all cutting planes are selected. If both ID and Name are set, ID will be used.
|
pure virtual |
Get the empty space override coordinate.
realReturnDataPtr | pointer to a user-provided data area to receive the return value. Note! Needs to be at least 3 elements in size |
|
pure virtual |
Set/Get the normal hard angle cutoff (in radians)
|
pure virtual |
The maximum size in pixels of a generated triangle Any value from 5 pixels and above is allowed. If set to 0, there will be no restriction.
|
pure virtual |
Get the merge boldness. Defined from 0 to 1, low values will only merge deep cavities while high values will merge anything that falls under the merge distance.
|
pure virtual |
Get the on-screen merge distance in pixels.
|
pure virtual |
Get the on-screen rendering size of the geometry. Allowed values are in the range 40 to 4000 pixels.
|
pure virtual |
The name of the scene node in the output Scene containing the remeshed geometry
|
pure virtual |
Selects which SelectionSet should be processed. If set to -1, all geometries in the scene will be processed.
|
pure virtual |
Selects which SelectionSet should be processed. If set to NULL, all geometries in the scene will be processed. If both ID and Name are set, ID will be used.
|
pure virtual |
Get the RespectWindingDirection flag. If true, the remeshing processor will not map backfacing triangles
|
pure virtual |
Get the surface transfer mode, options are SG_SURFACETRANSFER_FAST and SG_SURFACETRANSFER_ACCURATE
|
pure virtual |
Get the TransferColors flag. If set, vertex color channels will be sampled from the original mesh
|
pure virtual |
Get the TransferNormals flag. If set, the vertex normals channel will be sampled from the original mesh
|
pure virtual |
Get the the UseClippingGeometry flag. If set, the terrain selection set along with the terrain empty space override will be used to clip the remeshed geometry, like a clipping plane.
|
pure virtual |
Gets the UseClippingGeometryEmptySpaceOverride flag. If on, a coordinate in the area that will be considered "outside" for the clipping geometry can be overridden by the user.
|
pure virtual |
Get the current value of UseCuttingPlanes
|
pure virtual |
Gets the EmptySpaceOverride flag. If on, a coordinate in the area that will be considered "outside" can be overridden by the user, allowing the remesher to be used for things like interiors of caves and rooms.
|
pure virtual |
Sets the UsePreviewMode flag. If on, an alternate algorithm is used for the remeshing which is significantly faster, but supports smaller sizes ( up to 1000 OnScreenSize ), does not include any advanced features, and may be less precise.
|
virtual |
The IsA function returns true if the object is a or is a descendant of the class named as the type parameter
type | is the name of the class to check if the object is, or is a descendant of |
Reimplemented from SimplygonSDK::ISettingsObject.
|
inlinestatic |
The IsClassA function returns true if IRemeshingSettings is a or is a descendant of the class named as the type parameter
type | is the name of the class to check if the class is, or is a descendant of |
Definition at line 13200 of file SimplygonSDK.h.
|
inlinestatic |
SafeCast makes sure the pointer is of a class that can be cast into a IRemeshingSettings pointer, and if this is possible, returns the cast pointer.
ptr | is the pointer to be cast into a IRemeshingSettings pointer |
Definition at line 13213 of file SimplygonSDK.h.
|
pure virtual |
Set the clipping geometry empty space override coordinate.
value_realInputDataPtr | is a pointer to a 3-tuple real which will be copied and used as a marker designating empty space |
|
pure virtual |
The ID of the SelectionSet containing the terrain for clipping. If both ID and Name are set, ID will be used.
value | the ID of the selection set containing the clipping terrain |
|
pure virtual |
The name of the SelectionSet containing the terrain for clipping. If both ID and Name are set, ID will be used.
value | the desired SelectionSet name |
|
pure virtual |
The ID of the SelectionSet containing all the cutting planes that should be used. If set to -1, all cutting planes are selected. Cutting planes will only be used if UseCuttingPlanes is true.
value | the ID of the selection set containing the cutting planes |
|
pure virtual |
The name of the SelectionSet containing all the cutting planes that should be used. If SetName is not found, all cutting planes are selected. If both ID and Name are set, ID will be used.
value | the desired SelectionSet name |
|
pure virtual |
Set the empty space override coordinate.
value_realInputDataPtr | is a pointer to a 3-tuple real which will be copied and used as a marker designating empty space |
|
pure virtual |
Set/Get the normal hard angle cutoff (in radians)
value | is the value to which HardEdgeAngleInRadians will be set |
|
pure virtual |
The maximum size in pixels of a generated triangle Any value from 5 pixels and above is allowed. If set to 0, there will be no restriction.
value | is the value MaxTriangleSize will be set to |
|
pure virtual |
Set the merge boldness. Defined from 0 to 1, low values will only merge deep cavities while high values will merge anything that falls under the merge distance.
value | is the value MergeBoldness will be set to |
|
pure virtual |
Set the on-screen merge distance in pixels. Smaller cavities will be removed. This will be capped to the on-screen size of the remeshing.
value | is the value MergeDistance will be set to |
|
pure virtual |
Set the on-screen rendering size of the geometry. Allowed values are in the range 20 to 4000 pixels.
value | is the value OnScreenSize will be set to Value cannot be less than 20. Value cannot be greater than 4000. |
|
pure virtual |
The name of the scene node in the output Scene containing the remeshed geometry
value | the desired OutputSceneNodeName |
|
pure virtual |
Selects which SelectionSet should be processed. If set to -1, all geometries in the scene will be processed.
value | the desired SelectionSet id |
|
pure virtual |
Selects which SelectionSet should be processed. If SetName is not found, all geometries in the scene will be processed. If both ID and Name are set, ID will be used.
value | the desired SelectionSet name |
|
pure virtual |
Set the RespectWindingDirection flag. If true, the remeshing processor will not map backfacing triangles
value | the desired value of RespectWindingDirection |
|
pure virtual |
Set the surface transfer mode, options are SG_SURFACETRANSFER_FAST and SG_SURFACETRANSFER_ACCURATE
value | is the new surface transfer mode |
|
pure virtual |
Set the TransferColors flag. If set, vertex color channels will be sampled from the original mesh
value | is the bool to which TransferColors will be set |
|
pure virtual |
Set the TransferNormals flag. If set, the vertex normals channel will be sampled from the original mesh
value | is the value to which TransferNormals will be set |
|
pure virtual |
Set the UseClippingGeometry flag. If set, the terrain selection set along with the terrain empty space override will be used to clip the remeshed geometry, like a clipping plane.
value | is the bool to which UseClippingGeometry will be set |
|
pure virtual |
Sets the UseClippingGeometryEmptySpaceOverride flag. If on, a coordinate in the area that will be considered "outside" for the clipping geometry can be overridden by the user.
value | is the value to which UseClippingGeometryEmptySpaceOverride will be set |
|
pure virtual |
Set to true to cap the mesh with user defined cutting planes
value | is the bool UseCuttingPlanes will be set to |
|
pure virtual |
Sets the EmptySpaceOverride flag. If on, a coordinate in the area that will be considered "outside" can be overridden by the user, allowing the remesher to be used for things like interiors of caves and rooms.
value | is the value to which UseEmptySpaceOverride will be set |
|
pure virtual |
Sets the UsePreviewMode flag. If on, an alternate algorithm is used for the remeshing which is significantly faster, but supports smaller sizes ( up to 1000 OnScreenSize ), does not include any advanced features, and may be less precise.
value | is the value to which UsePreviewMode will be set |