VTK
9.1.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Rendering
RayTracing
RTWrapper
VisRTX
Instance.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "../Types.h"
4
#include "
Group.h
"
5
6
#include <VisRTX.h>
7
8
#include <set>
9
10
namespace
RTW
11
{
12
class
Instance
:
public
Object
13
{
14
friend
class
World
;
15
16
public
:
17
Instance
(
Group
*_group)
18
:
Object
(
RTW_INSTANCE
),
19
group(_group)
20
{
21
if
(group)
22
group->
AddRef
();
23
}
24
25
~Instance
()
26
{
27
if
(group)
28
group->
Release
();
29
}
30
31
void
Commit
()
override
{}
32
33
private
:
34
Group
*group;
35
};
36
}
Group.h
RTW_INSTANCE
@ RTW_INSTANCE
Definition:
Types.h:142
RTW::Group
Definition:
Group.h:13
RTW::Instance
Definition:
Instance.h:13
RTW::Instance::Commit
void Commit() override
Definition:
Instance.h:31
RTW::Instance::~Instance
~Instance()
Definition:
Instance.h:25
RTW::Instance::Instance
Instance(Group *_group)
Definition:
Instance.h:17
RTW::Object
Definition:
Object.h:19
RTW::Object::Release
void Release()
Definition:
Object.h:43
RTW::Object::AddRef
void AddRef()
Definition:
Object.h:38
RTW::World
Definition:
World.h:13
RTW
Definition:
Backend.h:6
Generated on Sat Feb 25 2023 08:59:35 for VTK by
1.9.4