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
ROP_SohoThumbnail.h
Go to the documentation of this file.
1
/*
2
* PROPRIETARY INFORMATION. This software is proprietary to
3
* Side Effects Software Inc., and is not to be reproduced,
4
* transmitted, or disclosed in any way without written permission.
5
*
6
* NAME: ROP_SohoThumbnail.h ( ROP Library, C++)
7
*
8
* COMMENTS: Class to render a thumbnail using soho without using a ROP
9
* output driver.
10
*/
11
12
#ifndef __ROP_SohoThumbnail__
13
#define __ROP_SohoThumbnail__
14
15
#include "
ROP_API.h
"
16
#include <iosfwd>
17
#include <
UT/UT_String.h
>
18
19
class
GU_Detail
;
20
class
OP_Node
;
21
class
ROP_SohoOutput;
22
23
class
ROP_API
ROP_SohoThumbnail
{
24
public
:
25
ROP_SohoThumbnail
(
OP_Node
*material);
26
virtual
~
ROP_SohoThumbnail
();
27
28
bool
render
(std::ostream &
error
,
bool
foreground);
29
30
void
setPicture
(
const
char
*fname) { myPicture.harden(fname); }
31
void
setRes
(
int
res) { myRes = res; }
32
33
// Determine the soho script and command for a given shop
34
static
bool
determineShopType(
OP_Node
*material,
35
UT_String
&soho_shopstyle,
36
UT_String
&soho_script,
37
UT_String
&soho_pipecmd);
38
39
// Create sphere geometry used for thumbnails
40
static
GU_Detail
*createDefaultSphere();
41
42
private
:
43
OP_Node
*myMaterialNode;
44
UT_String
myPicture;
45
int
myRes;
46
};
47
48
#endif
49
ROP_SohoThumbnail::setRes
void setRes(int res)
Definition:
ROP_SohoThumbnail.h:31
render
IFDmantra you can see code vm_image_mplay_direction endcode When SOHO starts a render
Definition:
HDK_Image.dox:266
ROP_API
#define ROP_API
Definition:
ROP_API.h:10
ROP_SohoThumbnail::setPicture
void setPicture(const char *fname)
Definition:
ROP_SohoThumbnail.h:30
error
< returns > If no error
Definition:
snippets.dox:2
UT_String.h
ROP_API.h
OP_Node
Definition:
OP_Node.h:503
ROP_SohoThumbnail
Definition:
ROP_SohoThumbnail.h:23
GU_Detail
Definition:
GU_Detail.h:154
UT_String
Definition:
UT_String.h:73
ROP
ROP_SohoThumbnail.h
Generated on Fri Nov 8 2024 03:41:25 for HDK by
1.8.6