 |
DATAKIT API
V2025.2
|
|
Meshes Samples
Writing Simple mesh
Here is an example to write a mesh.
{
cout <<
"=> " << inOutputFileName.
c_str() << endl;
}
Writing several meshes
Here is an example to write several meshes with differents colors.
template <typename T>
inline void Shift( T& mesh,
double sh )
{
mesh->Transform( t );
}
{
CubeMesh->info()->SetName( "ColoredCube" );
Shift( CubePervertexColorMesh, 3 );
CubePervertexColorMesh->info()->SetName( "VertexColoredCube" );
TransparentCube->info()->SetColor(
Dtk_RGB( 0, 255, 0, 128 ) );
TransparentCube->info()->SetName( "TransparentCube" );
Shift( TransparentCube, 6 );
if( TransparentOneFaceCube->get_nb_mesh_face() == 6 )
{
if( TransparentOneFaceCube->get_mesh_face( 3 )->info().
IsNULL() )
TransparentOneFaceCube->get_mesh_face( 3 )->info()->SetColor(
Dtk_RGB( 0, 0, 255, 128 ) );
}
Shift( TransparentOneFaceCube, 9 );
TransparentCube->info()->SetName( "TransparentCubeColoredFace" );
MeshWire->info()->SetName( "WireMesh" );
MeshPoints->info()->SetName( "PointMesh" );
cout <<
"=> " << inOutputFileName.
c_str() << endl;
}
Writing meshes with render
Here is an example to write several meshes with rendering information.
{
cout <<
"=> " << inOutputFileName.
c_str() << endl;
}
B-rep Samples
Writing a Brep
Here is an example to write a Dtk_body.
{
cout <<
"=> " << inOutputFileName.
c_str() << endl;
}
Writing a Wire body
Here is an example to write a Dtk_body with wire.
{
cout <<
"=> " << inOutputFileName.
c_str() << endl;
}
Writing a Body with visibility information
Here is an example to write a Dtk_body with visibility information.
{
cylinder->info()->SetName( "Cylinder.1" );
cylinder2->info()->SetName( "Cylinder.2" );
cylinder3->info()->SetBlankedStatus(
DTK_TRUE );
cylinder3->info()->SetName( "Cylinder.3" );
cout <<
"=> " << inOutputFileName.
c_str() << endl;
}
Assemblies Samples
Writing a Simple assembly
Here is an example to write an assembly with sub assembly.
{
Dtk_ID axleNodeID, axleID, wheelsNodeID, wheelNodeID, wheel2NodeID, wheel1ID, wheel2ID;
axle->info()->SetName( "axle" );
nodeName = "Wheels";
nodeName = "Wheel";
nodeName = "Wheel2";
cout <<
"=> " << inOutputFileName.
c_str() << endl;
}
Writing an assembly with part instances
Here is an example to write an assembly with part instances.
{
Dtk_ID axleNodeID, axleID, wheelsID, wheelNodeID, wheelID;
axle->info()->SetName( "axle" );
nodeName = "Wheels";
nodeName = "Wheel1";
wheel->info()->SetName( "wheel" );
nodeName = "Wheel2";
cout <<
"=> " << inOutputFileName.
c_str() << endl;
}
Writing an assembly with assembly instances
Here is an example to write an assembly with assembly instances.
{
Dtk_ID axlesNodeID, axlesNodeID2, axleNodeID, axleID, wheelsNodeID, wheelNodeID, wheelID;
nodeName = "Axle";
axle->info()->SetName( "axle" );
nodeName = "Wheels";
nodeName = "Wheel1";
wheel->info()->SetName( "wheel" );
nodeName = "Wheel2";
nodeName = "Axles2";
cout <<
"=> " << inOutputFileName.
c_str() << endl;
}
Writing an assembly changing instances colors
Here is an example to write an assembly changing instances colors.
{
Dtk_ID axlesNodeID, axlesNodeID2, axlesNodeID3, axlesNodeID4, axlesNodeID5, axleNodeID, axleID, wheelsNodeID, wheelNodeID, wheelID;
nodeName = "Axle";
axle->info()->SetName( "axle" );
nodeName = "Wheels";
nodeName = "Wheel1";
wheel->info()->SetName( "wheel" );
nodeName = "Wheel2";
nodeName = "Axles2";
axle2Info,
axlesNodeID2 ) );
nodeName = "Axles3";
axle3Info,
axlesNodeID3 ) );
nodeName = "Axles4";
axle4Info,
axlesNodeID4 ) );
nodeName = "Axles5";
cout <<
"=> " << inOutputFileName.
c_str() << endl;
}
Writing an assembly changing instances visibility
Here is an example to write an assembly changing instances visibility.
{
Dtk_ID axleNodeID, axleID, wheelsNodeID, wheelNodeID, wheelID;
axle->info()->SetName( "axle" );
nodeName = "Wheels";
nodeName = "Wheel1";
wheel->info()->SetName( "wheel" );
nodeName = "Wheel2";
cout <<
"=> " << inOutputFileName.
c_str() << endl;
}
Properties Samples
Writing MetaData
Here is an example to write Dtk_MetaData.
{
axle->info()->SetName( "axle" );
cout <<
"=> " << inOutputFileName.
c_str() << endl;
}
Writing Document properties
Here is an example to write properties on a document.
{
Dtk_string application, pdfProducer, title, author, subject, keywords;
author = "user";
subject = "Datakit PDF SDK demo";
keywords = "Datakit;SDK;Demo";
application = "LibPdfWriteSample";
cout <<
"=> " << inOutputFileName.
c_str() << endl;
}
Fdt Samples
Writing a simple FDT
Here is an example to write a FDT type Datum.
{
cylinder->info()->SetName( "Body" );
cout <<
"=> " << inOutputFileName.
c_str() << endl;
}
Writing a Model view
Here is an example to write a Model view.
{
cylinder->info()->SetName( "Body" );
cout <<
"=> " << inOutputFileName.
c_str() << endl;
}
Writing a Model view with associated fdt
Here is an example to write a Model view with associated fdt.
{
cylinder->info()->SetName( "Body" );
mv2->info()->SetName( "PMIView" );
cout <<
"=> " << inOutputFileName.
c_str() << endl;
}
Writing a Fdt associated with goemetry
Here is an example to write a Fdt associated with goemetry.
{
cylinder->info()->SetName( "Body" );
mv->info()->SetName( "myView" );
cout <<
"=> " << inOutputFileName.
c_str() << endl;
}
Writing a Model view with section
Here is an example to write a Model view with section plane.
{
Dtk_ID bodyID, datumID, curveID;
ellipse->info()->SetName( "Curve" );
ellipse->info()->SetBlankedStatus(
DTK_TRUE );
cout <<
"=> " << inOutputFileName.
c_str() << endl;
}
Writing associated Fdts
Here is an example to write associated Fdts.
{
int i;
for( i = 0; i < 10; i++ )
{
}
mv2->info()->SetName( "SecondView" );
tabNodeIDs += tabPMIIDs;
cout <<
"=> " << inOutputFileName.
c_str() << endl;
}
Other Samples
Writing Axis System
Here is an example to write Axis System.
{
Dtk_ID axisSysID, planeID, axisID;
cout <<
"=> " << inOutputFileName.
c_str() << endl;
}
Writing points cloud
Here is an example to write points cloud.
{
for( i = 0; i < numPointX; i++ )
{
for( j = 0; j < numPointY; j++ )
{
tabColors.
push_back(
Dtk_RGB( (
int )( std::rand() /
double( RAND_MAX ) * 255 ),
( int )( std::rand() / double( RAND_MAX ) * 255 ),
( int )( std::rand() / double( RAND_MAX ) * 255 ) ) );
yPos += offset;
}
yPos = 0.;
xPos += offset;
}
Dtk_pnt to( numPointX / 2., numPointY / 2., 0 );
mv1->info()->SetName( "MainView" );
cout <<
"=> " << inOutputFileName.
c_str() << endl;
}
Writing Billboard
Here is an example to write a Billboard.
{
Dtk_pnt dtkLeaderEnd( 1., -1., 1. ), pictureOrigin( 2., -2, 2. );
cout <<
"=> " << inOutputFileName.
c_str() << endl;
}
Writing Secured Pdf file
Here is an example to add a password into pdf document.
{
cout <<
"=> " << inOutputFileName.
c_str() << endl;
}
Writing multiple views
Here is an example to add multiple views into pdf document.
{
Dtk_dir up( -0.57735, 0.57735, -0.57735 );
isoMd->info()->SetName( "Iso" );
topMd->info()->SetName( "Top" );
frontMd->info()->SetName( "Front" );
rightMd->info()->SetName( "Right" );
}
{
annotBBox[ 0 ] = margin / 2. + xPos;
annotBBox[ 1 ] = margin / 2. + yPos;
annotBBox[ 2 ] = xPos + width - margin;
annotBBox[ 3 ] = yPos + height - margin;
xPos = 0.0;
annotBBox[ 0 ] = margin + xPos;
annotBBox[ 1 ] = margin / 2. + yPos;
annotBBox[ 2 ] = xPos + width - margin / 2.;
annotBBox[ 3 ] = yPos + height - margin;
yPos = 0.0;
annotBBox[ 0 ] = margin + xPos;
annotBBox[ 1 ] = margin + yPos;
annotBBox[ 2 ] = xPos + width - margin / 2.;
annotBBox[ 3 ] = yPos + height - margin / 2.;
annotBBox[ 0 ] = margin / 2. + xPos;
annotBBox[ 1 ] = margin + yPos;
annotBBox[ 2 ] = xPos + width - margin;
annotBBox[ 3 ] = yPos + height - margin / 2.;
}
{
meshCube->get_mesh_face( 1 )->info()->SetColor(
Dtk_RGB( 0, 255, 0 ) );
meshCube->get_mesh_face( 2 )->info()->SetColor(
Dtk_RGB( 0, 0, 255 ) );
meshCube->get_mesh_face( 3 )->info()->SetColor(
Dtk_RGB( 255, 255, 0 ) );
meshCube->get_mesh_face( 4 )->info()->SetColor(
Dtk_RGB( 255, 0, 255 ) );
meshCube->get_mesh_face( 5 )->info()->SetColor(
Dtk_RGB( 0, 255, 255 ) );
}
{
artworkName = "myArtwork";
cout <<
"=> " << pdfFileName.
c_str() << endl;
}
Dtk_BodyPtr CreateAxis()
Definition: testcreatecube.cpp:1492
Dtk_ErrorStatus PdfwSampleSecuredPdf_8_1(const Dtk_string &inOutputFileName)
Definition: testlibpdfwrite.cpp:877
static Dtk_ModelDisplayPtr Create(const Dtk_CameraPtr &inCamera, const Dtk_EntityPtr &inClippingEntity, const Dtk_bool inIsActivated)
Full featured constructor.
DtkErrorStatus CreateModelDisplayWithVisibleNodes(Dtk_ModelDisplayPtr &inModelDisplay, Dtk_tab< Dtk_ID > &inTabVisibleNodes, Pdfw::RenderMode inRenderMode=Pdfw::Unset, Pdfw::Lighting inLighting=Pdfw::UnsetLighting)
Create a model display.
uint32_t Dtk_ID
Definition: define.h:689
This is the Transformation dedicated class.
Definition: dtk_transfo.hpp:19
DtkErrorStatus AddNodeMetadata(Dtk_tab< Dtk_MetaDataPtr > &inTabMetadata)
Add table of metadata to current node.
DtkErrorStatus Create3DAnnotation(Dtk_UInt32 inArtworkIndex, Dtk_Double64 inBBox[4], Dtk_Int32 inModelDisplayIndex=-1, Dtk_Int32 inLayerID=-1, RenderMode inRenderMode=Unset, Lighting inLighting=UnsetLighting, Dtk_bool inAnnotActivation=0)
Creates 3D Annotation from 3D artwork in current page with its 2d bounding box.
void Shift(T &mesh, double sh)
Definition: testlibpdfwrite.cpp:39
This class provides several options to tune Pdf Writer. It must be provided to Pdfw::InitWrite method...
Definition: pdfw.hpp:113
Dtk_ErrorStatus PdfwSampleMetadatas_4_1(const Dtk_string &inOutputFileName)
Definition: testlibpdfwrite.cpp:475
DtkErrorStatus InitWrite(const Dtk_string &inOutputFile, const Dtk_string &inLogFile, Licence_dtk inLicFct, WriteOptions &inOptions)
Initialize the PDF Writer
Dtk_MeshPtr CreateMeshCube()
Mesh Cube sample.
Definition: testcreatemesh.cpp:207
Dtk_ErrorStatus PdfwSampleAxis_References_5_7(const Dtk_string &inOutputFileName)
Definition: testlibpdfwrite.cpp:759
Dtk_Double64 PointSize
Size of points.
Definition: pdfw.hpp:163
LayoutOptions Layout
Definition: pdfw.hpp:193
Dtk_BodyPtr CreateCyl(double radius, double height)
Definition: testcreatecube.cpp:1791
Dtk_MeshPtr CreateMeshCubeVertexColor()
Definition: testcreatemesh.cpp:299
Dtk_ModelDisplayPtr CreateModelDisplayWithSection()
Definition: testcreatefdt.cpp:254
Dtk_MeshPtr CreateMeshPoints()
Points mesh sample.
Definition: testcreatemesh.cpp:439
Dtk_ErrorStatus EndPage()
End of page.
Dtk_bool CreateAutomaticLayout
DTK_TRUE : Creates automatic layout (One page with filled with 3D Annotation), DTK_FALSE : You must u...
Definition: pdfw.hpp:37
#define DTK_TRUE
Definition: define.h:727
void SetKeywords(const Dtk_string &inString)
Add Keywords in Document Catalog Metadata.
Dtk_BodyPtr CreateInfinitePlane()
Definition: testcreatecube.cpp:1435
Dtk_ErrorStatus PdfwSamplePartInstances_3_2(const Dtk_string &inOutputFileName)
Definition: testlibpdfwrite.cpp:232
void AssignFacesColors(Dtk_MeshPtr &meshCube)
Definition: testlibpdfwrite.cpp:989
uint32_t Dtk_UInt32
Definition: define.h:688
This is a high level string class.
Definition: dtk_string.hpp:58
Dtk_Double64 GetCurrentPageWidth()
Gets current page width.
@ DTK_ANCHOR_BOTTOM_LEFT
Definition: util_draw_dtk.hpp:106
size_t Dtk_Size_t
Definition: define.h:712
Dtk_Double64 GetCurrentPageHeight()
Gets current page height.
void SetTitle(const Dtk_string &inString)
Add Title in Document Catalog Metadata.
cross_section CrossSection
Cross section parameters.
Definition: pdfw.hpp:165
Dtk_Double64 CuttingPlaneOpacity
Definition: pdfw.hpp:28
Dtk_AxisSystemPtr CreateAxisSystem()
Definition: testcreatecube.cpp:1465
Dtk_ErrorStatus PdfwSampleLayoutMultipleViews_9_1(const Dtk_string &pdfFileName)
Definition: testlibpdfwrite.cpp:1001
#define DTK_FALSE
Definition: define.h:728
Dtk_ErrorStatus PdfwSampleModelview_section_5_5(const Dtk_string &inOutputFileName)
Definition: testlibpdfwrite.cpp:672
Dtk_ErrorStatus PdfwCreateViews()
Definition: testlibpdfwrite.cpp:899
Dtk_RGB CuttingPlaneColor
Definition: pdfw.hpp:27
Dtk_ErrorStatus PdfwSampleBillboard_7_1(const Dtk_string &inOutputFileName, const Dtk_string &inImageDirectory)
Definition: testlibpdfwrite.cpp:844
static Dtk_EllipsePtr Create(const Dtk_Ellipse &inEllipseToCopy)
@ keepsubtransparency
Definition: pdfw.hpp:16
double Dtk_Double64
Definition: define.h:699
Dtk_ErrorStatus SetBlankedStatus(const Dtk_Int32 &inBlankedStatus)
DtkErrorStatus ReinstanciatePrototype(Dtk_ID inID)
Reinstanciate children of node to reinstanciate in current node.
Dtk_ErrorStatus PdfwSampleInstancesVisibility_3_5(const Dtk_string &inOutputFileName)
Definition: testlibpdfwrite.cpp:429
DtkErrorStatus Init3DArtwork(Dtk_string inAnnotName=Dtk_string(), Pdfw::WriteOptions *inWriteOptions=NULL)
Starts Writing of 3D Artwork (3D model)
void SetAuthor(const Dtk_string &inString)
Add Author in Document Catalog Metadata.
void StorePrototype(Dtk_ID inID)
Stores the identifier of a node.
static Dtk_API * GetAPI()
Get DATAKIT API.
Dtk_MeshPtr CreateMeshWire()
Wire mesh sample.
Definition: testcreatemesh.cpp:388
void SetPDFProducer(const Dtk_string &inString)
Add PDFProducer in Document Catalog Metadata.
Dtk_ErrorStatus PdfwSampleOneMesh_1_1(const Dtk_string &inOutputFileName)
Definition: testlibpdfwrite.cpp:22
Dtk_string filename() const
File Utility : Retrieves the filename in Dtk_string form.
Dtk_MeshPtr CreateTexturedMeshCube(const Dtk_string &inImageDirectory)
Textured Mesh Cube sample.
Definition: testcreatemesh.cpp:272
DtkErrorStatus EndWrite()
Creation of the output file and free the PDF Writer
Dtk_SmartPtr< Dtk_mesh > Dtk_MeshPtr
Definition: dtk_maindoc.hpp:20
Dtk_ErrorStatus PdfwSampleCloudPoint_6_1(const Dtk_string &inOutputFileName)
Definition: testlibpdfwrite.cpp:788
@ DTK_ANCHOR_TOP_RIGHT
Definition: util_draw_dtk.hpp:102
Dtk_FdtPtr CreateFdtDatum()
Create Simple Datum.
Definition: testcreatefdt.cpp:19
DtkErrorStatus EndNode()
End the node.
Dtk_ErrorStatus PdfwSampleBodyVisibility_2_3(const Dtk_string &inOutputFileName)
Definition: testlibpdfwrite.cpp:159
Dtk_ErrorStatus PdfwSampleMeshes_1_2(const Dtk_string &inOutputFileName)
Definition: testlibpdfwrite.cpp:46
static Dtk_SmartPtr< Dtk_Entity > DtkDynamicCast(const Dtk_SmartPtr< T2 > &p)
Definition: util_ptr_dtk.hpp:101
Dtk_ErrorStatus
Definition: error_dtk.hpp:6
Dtk_bool IsNULL() const
Definition: util_ptr_dtk.hpp:118
Dtk_string GetVersion() const
GetVersion of DatakitLibs.
#define CHECK_OK(X)
Definition: testwriters.h:9
Definition: util_ptr_dtk.hpp:37
const char * c_str() const
Retrieve the ASCII conversion string.
Dtk_string OwnerPassword
Definition: pdfw.hpp:172
Dtk_ErrorStatus PdfwSampleInstancesColors_3_4(const Dtk_string &inOutputFileName)
Definition: testlibpdfwrite.cpp:331
Dtk_ErrorStatus PdfwSampleAssembly_3_1(const Dtk_string &inOutputFileName)
Definition: testlibpdfwrite.cpp:191
Dtk_ErrorStatus PdfwSampleSimplePMI_5_1(const Dtk_string &inOutputFileName)
Definition: testlibpdfwrite.cpp:545
@ keepsubcolor
Definition: pdfw.hpp:15
This is a mathematical point class.
Definition: dtk_pnt.hpp:22
Dtk_ErrorStatus PdfwSamplePMI_Geom_association_5_4(const Dtk_string &inOutputFileName)
Definition: testlibpdfwrite.cpp:640
Dtk_ErrorStatus WritePinToScreenPicture(const Dtk_string &inPictureFilePath, Dtk_Double64 inPictureWidth, Dtk_Double64 inPictureHeight, Dtk_pnt inPictureOrigin, Dtk_anchor_type inAnchorType, bool inIsOnTop, Dtk_LeaderPtr &inLeader)
Creates a picture parallel to screen with an attached leader line.
DtkErrorStatus End3DArtwork(Dtk_UInt32 &outartworkIndex)
Ends Writing of 3D Artwork.
Dtk_ErrorStatus PdfwSampleAsmInstances_3_3(const Dtk_string &inOutputFileName)
Definition: testlibpdfwrite.cpp:276
Dtk_ErrorStatus WriteColoredPoints(Dtk_tab< Dtk_pnt > &inTabPoints, Dtk_tab< Dtk_dir > &inTabNormals, Dtk_tab< Dtk_RGB > &inTabColors, Dtk_ID &outID, Dtk_InfoPtr inInfo=Dtk_InfoPtr())
Write colored points provided in parameter in one node.
Dtk_ErrorStatus PdfwSample_MV_association_5_3(const Dtk_string &inOutputFileName)
Definition: testlibpdfwrite.cpp:599
Dtk_ErrorStatus PdfwSampleDocumentProperties_4_2(const Dtk_string &inOutputFileName)
Definition: testlibpdfwrite.cpp:501
Dtk_ErrorStatus WriteEntity(const Dtk_EntityPtr &inEntity)
Write the entity provided in parameter in a node.
static Dtk_LeaderPtr Create()
Base constructor.
static Dtk_CameraPtr Create()
Base constructor.
Dtk_ModelDisplayPtr CreateModelDisplayActivated()
Definition: testcreatefdt.cpp:228
Dtk_bool AddSectionCap
Definition: pdfw.hpp:24
This is a high level array class.
Definition: util_stl_dtk.hpp:85
void addTranslate(const Dtk_dir &V)
Translate the Dtk_transfo.
DtkErrorStatus InitNode(Dtk_string &inNodeName, const Dtk_transfo &inTransfo=Dtk_transfo())
Initialize a node.
Dtk_ErrorStatus PdfwCreate3DAnnotations(Dtk_Double64 annotBBox[4], const Dtk_UInt32 &artworkIndex)
Definition: testlibpdfwrite.cpp:948
Dtk_bool ConvertRenderInfos
DTK_TRUE : Creates render infos (lightning + texturing), DTK_FALSE : no render infos.
Definition: pdfw.hpp:159
Dtk_ErrorStatus PdfwSamplePMI_PMI_association_5_6(const Dtk_string &inOutputFileName)
Definition: testlibpdfwrite.cpp:720
Dtk_ErrorStatus WriteParallelToScreenPicture(const Dtk_string &inPictureFilePath, Dtk_Double64 inPictureWidth, Dtk_Double64 inPictureHeight, Dtk_anchor_type inAnchorType, bool inIsZoomable, bool inIsOnTop, Dtk_transfo inTransfo, Dtk_LeaderPtr &inLeader)
Creates a parallel to screen picture with an attached leader line.
void SetSubject(const Dtk_string &inString)
Add Subject in Document Catalog Metadata.
Dtk_ErrorStatus PdfwSampleWireBody_2_2(const Dtk_string &inOutputFileName)
Definition: testlibpdfwrite.cpp:137
Dtk_ErrorStatus PdfwSampleSimpleModelview_5_2(const Dtk_string &inOutputFileName)
Definition: testlibpdfwrite.cpp:567
Dtk_BodyPtr CreateCurves()
Definition: testcreatecube.cpp:1292
Dtk_BodyPtr CreateCurvesStyle()
Definition: testcreatecube.cpp:1370
Dtk_ErrorStatus AddDocumentProperties(const Pdfw::PdfDocumentProperties &inDocProperties, const Dtk_tab< Dtk_MetaDataPtr > &inMetadatas)
Writing Document Properties.
void SetApplication(const Dtk_string &inString)
Add Application in Document Catalog Metadata.
@ dtkNoError
Definition: error_dtk.hpp:140
void push_back(const T &x)
Inserts an element at the end of the array.
Definition: util_stl_dtk.hpp:417
Dtk_ErrorStatus PdfwSampleOneMeshRender_1_3(const Dtk_string &inOutputFileName, const Dtk_string &inImageDirectory)
Definition: testlibpdfwrite.cpp:101
@ attributeoverwrite
Definition: pdfw.hpp:14
void clear(int no_delete=0)
Resets the Dtk_tab content.
Definition: util_stl_dtk.hpp:353
Dtk_ErrorStatus PdfwSampleBody_2_1(const Dtk_string &inOutputFileName)
Definition: testlibpdfwrite.cpp:120
DtkErrorStatus WriteBodyAndMesh(const Dtk_BodyPtr &inBody, const Dtk_MeshPtr &inMesh, Dtk_ID &outID)
Write the entities provided in parameter in a node.
Dtk_RGB IntersectionColor
Definition: pdfw.hpp:26
Definition: dtk_rgb.hpp:7
Dtk_ErrorStatus SetColor(const int &R, const int &G, const int &B)
static Dtk_SmartPtr< Dtk_Info > create()
This is a mathematical direction class.
Definition: dtk_dir.hpp:15
Dtk_ErrorStatus CreateNodeConnectorHighlight(const Dtk_ID &inPointingNodeID, const Dtk_ID &inPointedNodeID, const Dtk_UInt32 &inFaceIndex=-1, Dtk_Int32 inReasonLink=0)
Create a connexion between two nodes for visual response.
Dtk_bool CreateDefaultView
DTK_TRUE : Creates Default View (isometric view), DTK_FALSE : no default view.
Definition: pdfw.hpp:139
Dtk_ErrorStatus InitPage(Dtk_RGB inColor=Dtk_RGB(255, 255, 255), Dtk_Double64 inWidth=842, Dtk_Double64 inHeight=595)
LAYOUT METHODS.
@ TerminatorTypeNone
Definition: util_draw_dtk.hpp:2001
Dtk_ModelDisplayPtr CreateModelDisplayDesactivated()
Definition: testcreatefdt.cpp:241
Dtk_bool ShowToolbar
DTK_TRUE : Show 3D Toolbar, DTK_FALSE : Hides 3D Toolbar.
Definition: pdfw.hpp:145