{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-guides/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Node","description":"Accelerate E&P application development and protect your innovation by consuming our Data and Domain APIs / Platform APIs.","lang":"en-US","meta":[{"name":"robots","content":"noindex"}],"llmstxt":{"hide":true,"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"node","__idx":0},"children":["Node"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"introduction","__idx":1},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#/pages/carnac/overview/node#intro"},"children":["#"]}," Introduction"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Node is the base class for all shapes and groups of shapes in scene graph."]},{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/nodes.ad9a6c0bfb88742423b54ccb021ea17e7acd8d1f73bc2c1c671fc288e6351f77.e2926594.png"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"api","__idx":2},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#/pages/carnac/overview/node#api"},"children":["#"]}," API"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The picture below shows its schematic class diagram for node ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#/doc/classes/geotoolkit.scene.node.node.html"},"children":["Node"]},"."]},{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/node.10c4826a38e6696ef9c0f84d1a7d417aadc45fd60ce279705e2be0097dfd43c7.e2926594.png"},"children":[]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["checkCollision()"]}," method tests if the node is in the specified area. If a parent does not pass the test then the system does not do any further testing or processing of child nodes"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["getParent()"]}," method returns the parent node. A node can only have one parent."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["getRoot()"]}," method returns the root node in the hierarchy."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["render"]}," method renders the node into the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#/doc/classes/geotoolkit.renderer.renderingcontext.renderingcontext.html"},"children":["RenderingContext"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["invalidate()"]}," method notifies the parent that the current node should be rendered."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["getWorldTransform()"]}," method returns an affine transformation of the contents to the parent. This transformation specifies how a point in inner model coordinates is transformed to a point in parent coordinates. This transformation is optional and identity by default."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["getSceneTransform()"]}," method returns a concatenation of all local parent transformations from a given node to the scene that contains a root node. This transformation specifies how a point in the inner model coordinates will be transformed to a scene point (device point)."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"important","__idx":3},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#/pages/carnac/overview/node#important"},"children":["#"]}," Important"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Important information about nodes:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["A node can be rendered locally or remotely, which depends on the implementation."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["A node can be laid out in the parent node model coordinates. A toolkit can provide a set of the predefined layouts like box layout, grid layout or a node can be placed in the parent-relative coordinates."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["A node can be shifted, scaled, or rotated in parent-coordinates."]}]}]},"headings":[{"value":"Node","id":"node","depth":1},{"value":"Introduction","id":"introduction","depth":3},{"value":"API","id":"api","depth":3},{"value":"Important","id":"important","depth":3}],"frontmatter":{"title":"Node","seo":{"title":"Node"}},"lastModified":"2026-02-11T19:54:32.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/solutions/geotoolkit/programmers-guide/architecture-overview/carnac/node","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}