HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
HUSD_ObjectImport-2.0.h
Go to the documentation of this file.
1
/*
2
* Copyright 2019 Side Effects Software Inc.
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
*
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*
16
*/
17
18
#ifndef __HUSD_ObjectImport2_h__
19
#define __HUSD_ObjectImport2_h__
20
21
#include "
HUSD_API.h
"
22
#include "
HUSD_CreatePrims.h
"
23
#include "
HUSD_DataHandle.h
"
24
#include "
HUSD_SetRelationships.h
"
25
#include <
OBJ/OBJ_Node.h
>
26
27
class
HUSD_FindPrims
;
28
class
HUSD_TimeCode
;
29
30
class
HUSD_API
HUSD_ObjectImport2
31
{
32
public
:
33
explicit
HUSD_ObjectImport2
(
HUSD_AutoWriteLock
&dest);
34
~
HUSD_ObjectImport2
();
35
36
// Returns the appropriate primtype for an object.
37
// Returns an empty string for unsupported object types.
38
static
UT_StringHolder
getPrimKindForObject(
const
OP_Node
*node);
39
40
bool
importPrim(
41
const
OBJ_Node
*
object
,
42
const
UT_StringHolder
&primpath,
43
const
UT_StringHolder
&primtype,
44
const
UT_StringHolder
&primkind)
const
;
45
46
void
importSOP(
47
SOP_Node
*sop,
48
OP_Context
&context,
49
const
UT_StringMap<UT_StringHolder>
&
args
,
50
const
UT_StringRef
&refprimpath,
51
const
UT_StringRef
&primpath)
const
;
52
53
bool
importMaterial(
VOP_Node
*
object
,
const
UT_StringHolder
&primpath)
54
const
;
55
56
private
:
57
HUSD_AutoWriteLock
&myWriteLock;
58
};
59
60
#endif
UT_StringMap< UT_StringHolder >
HUSD_SetRelationships.h
HUSD_ObjectImport2
Definition:
HUSD_ObjectImport-2.0.h:30
HUSD_API
#define HUSD_API
Definition:
HUSD_API.h:32
HUSD_CreatePrims.h
UT_StringRef
Definition:
UT_StringHolder.h:145
HUSD_AutoWriteLock
Definition:
HUSD_DataHandle.h:224
OBJ_Node
Definition:
OBJ_Node.h:233
OP_Context
Definition:
OP_Context.h:45
UT_StringHolder
Definition:
UT_StringHolder.h:1079
OP_Node
Definition:
OP_Node.h:497
HUSD_FindPrims
Definition:
HUSD_FindPrims.h:40
HUSD_API.h
HUSD_TimeCode
Definition:
HUSD_TimeCode.h:24
args
**If you just want to fire and args
Definition:
thread.h:615
HUSD_DataHandle.h
OBJ_Node.h
VOP_Node
Definition:
VOP_Node.h:267
SOP_Node
Definition:
SOP_Node.h:107
HUSD
HUSD_ObjectImport-2.0.h
Generated on Sat May 21 2022 03:17:26 for HDK by
1.8.6