HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_GeometryViewportSettings.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  * COMMENTS:
7  */
8 
9 #ifndef __HOM_GeometryViewportSettings_h__
10 #define __HOM_GeometryViewportSettings_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_Color.h"
14 #include "HOM_Defines.h"
15 #include "HOM_Errors.h"
18 #include "HOM_Module.h"
19 #include "HOM_ObjNode.h"
20 #include "HOM_EnumValue.h"
21 
22 SWIGOUT(%rename(GeometryViewportSettings) HOM_GeometryViewportSettings;)
23 
25 {
26 public:
28  { HOM_CONSTRUCT_OBJECT(this) }
30  { HOM_CONSTRUCT_OBJECT(this) }
32  { HOM_DESTRUCT_OBJECT(this) }
33 
34  virtual std::string __repr__() = 0;
35 
36  virtual HOM_EnumValue &viewportType() = 0;
37 
38  // Markers tab -------------------------------------------------------
39 
40  SWIGOUT(%newobject displaySet;)
41  virtual HOM_GeometryViewportDisplaySet *displaySet(HOM_EnumValue &settype) = 0;
42 
43  virtual float viewAspectRatio(bool masked = true) = 0;
44  virtual double normalScale() = 0;
45  virtual void setNormalScale(double normal_scale) = 0;
46  virtual double vectorScale() = 0;
47  virtual void setVectorScale(double vec_scale) = 0;
48  virtual double pointMarkerSize() = 0;
49  virtual void setPointMarkerSize(double psize) = 0;
50  virtual double originGnomonSize()= 0;
51  virtual void setOriginGnomonSize(double size) = 0;
52 
53  SWIGOUT(%newobject camera;)
54  virtual HOM_ObjNode *camera() = 0;
55  virtual void setCamera(HOM_ObjNode &camera_node) = 0;
56  virtual void setCamera(const char *camera_path) = 0;
57  virtual void saveViewToCamera(HOM_ObjNode &camera_node) = 0;
58 
59  virtual void geometryInfo(HOM_EnumValue &info) = 0;
60  virtual HOM_EnumValue &geometryInfo() = 0;
61 
62  virtual void handleHighlight(HOM_EnumValue &info) = 0;
63  virtual HOM_EnumValue &handleHighlight() = 0;
64 
65  virtual void closureSelection(HOM_EnumValue &info) = 0;
66  virtual HOM_EnumValue &closureSelection() = 0;
67 
68  virtual void guideFontSize(HOM_EnumValue &info) = 0;
69  virtual HOM_EnumValue &guideFontSize() = 0;
70 
71  virtual void setOffsetVertexMarkers(bool enable) = 0;
72  virtual bool offsetVertexMarkers() = 0;
73 
74  // guide enum = viewportGuide
75  virtual void enableGuide(HOM_EnumValue &guide, bool enabled) = 0;
76  virtual bool guideEnabled(HOM_EnumValue &guide) = 0;
77 
78  // Geometry tab -----------------------------------------------------
79 
80  virtual void levelOfDetail(double value) = 0;
81  virtual double levelOfDetail() = 0;
82 
83  // HOM_ViewportVolumeQuality
84  virtual void volumeQuality(HOM_EnumValue &quality) = 0;
85  virtual HOM_EnumValue &volumeQuality() = 0;
86 
87  virtual void volumeWireAsPoints(bool as_points) = 0;
88  virtual bool volumeWireAsPoints() = 0;
89 
90  virtual void polygonConvexQuality(bool quality) = 0;
91  virtual bool polygonConvexQuality() = 0;
92 
93  virtual void subdivsionLimit(int limit_in_millions) = 0;
94  virtual int subdivsionLimit() = 0;
95 
96  virtual void wireWidth(double width) = 0;
97  virtual double wireWidth() = 0;
98 
99  virtual void wireBlend(double blend) = 0;
100  virtual double wireBlend() = 0;
101 
102  virtual void interiorWireAlpha(double alpha) = 0;
103  virtual double interiorWireAlpha() = 0;
104 
105  virtual void shadeOpenCurves(bool shade) = 0;
106  virtual bool shadeOpenCurves() = 0;
107 
108  virtual void selectWireframeAsSolid(bool as_solid) = 0;
109  virtual bool selectWireframeAsSolid() = 0;
110 
111  virtual void setWireOverPackedGeo(bool wire_over_packed) = 0;
112  virtual bool wireOverPackedGeo() = 0;
113 
114 
115  // HOM_ViewportParticleDisplay
116  virtual void particleDisplayType(HOM_EnumValue &quality) = 0;
117  virtual HOM_EnumValue &particleDisplayType() = 0;
118 
119  virtual void allowParticleSprites(bool sprites) = 0;
120  virtual bool allowParticleSprites() = 0;
121 
122  virtual void particlePointSize(double size) = 0;
123  virtual double particlePointSize() = 0;
124 
125  virtual void particleDiscSize(double size) = 0;
126  virtual double particleDiscSize() = 0;
127 
128  virtual void orientDiscToNormal(bool n_orient) = 0;
129  virtual bool orientDiscToNormal() = 0;
130 
131  virtual void spriteTextureLimit(std::vector<int> &max_res)
132  = 0;
133  virtual std::vector<int> spriteTextureLimit() = 0;
134 
135 
136  virtual void pointInstancing(bool enable) = 0;
137  virtual bool pointInstancing() = 0;
138 
139  virtual void pointInstancingPercent(double show_instances) = 0;
140  virtual double pointInstancingPercent() = 0;
141 
142  virtual void pointInstancingLimit(int millions_of_instances) = 0;
143  virtual int pointInstancingLimit() = 0;
144 
145  // HOM_ViewportStandInGeometry
146  virtual void instanceStandInGeometry(HOM_EnumValue &standin) = 0;
147  virtual HOM_EnumValue &instanceStandInGeometry() = 0;
148 
149  virtual void autoGenerateVertexNormals(bool vertex) = 0;
150  virtual bool autoGenerateVertexNormals() = 0;
151 
152  virtual void vertexNormalCuspAngle(double angle) = 0;
153  virtual double vertexNormalCuspAngle() = 0;
154 
155  virtual void vertexNormalLimit(int millions_of_polys) = 0;
156  virtual int vertexNormalLimit() = 0;
157 
158  // Scene tab -------------------------------------------------------
159 
160  virtual void setSceneAntialias(int aa) = 0;
161  virtual int sceneAntialias() = 0;
162 
163  virtual void setHdrRendering(bool hdr) = 0;
164  virtual bool hdrRendering() = 0;
165 
166  virtual void setXrayDrawing(bool global_enable) = 0;
167  virtual bool xrayDrawing() = 0;
168 
169  virtual void setXrayQuality(bool quality) = 0;
170  virtual bool xrayQuality() = 0;
171 
172  virtual void setXrayStrength(double strength) = 0;
173  virtual double xrayStrength() = 0;
174 
175  virtual void setObjectOrigins(bool globel_enable) = 0;
176  virtual bool objectOrigins() = 0;
177 
178  virtual void setOnionSkinning(bool global_enable) = 0;
179  virtual bool onionSkinning() = 0;
180 
181  virtual void setOnionSkinFramesBeforeCount(int num_frames) = 0;
182  virtual int onionSkinFramesBeforeCount() = 0;
183 
184  virtual void setOnionSkinFramesBeforeTint(HOM_Color &tint) = 0;
185  virtual HOM_Color onionSkinFramesBeforeTint() = 0;
186 
187  virtual void setOnionSkinFramesAfterCount(int num_frames) = 0;
188  virtual int onionSkinFramesAfterCount() = 0;
189 
190  virtual void setOnionSkinFramesAfterTint(HOM_Color &tint) = 0;
191  virtual HOM_Color onionSkinFramesAfterTint() = 0;
192 
193  virtual void setOnionSkinFrameIncrement(int frame_increment) = 0;
194  virtual int onionSkinFrameIncrement() = 0;
195 
196  virtual void setOnionSkinOpacity(double opacity) = 0;
197  virtual double onionSkinOpacity() = 0;
198 
199  virtual void setSceneGamma(double gamma) = 0;
200  virtual double sceneGamma() = 0;
201 
202  virtual void setUseSceneLUT(bool enable) = 0;
203  virtual bool useSceneLUT() = 0;
204 
205  virtual void setSceneLUT(std::string lut_file) = 0;
206  virtual std::string sceneLUT() = 0;
207 
208  virtual void setBackgroundImageGammaLUT(bool apply_to_bg) = 0;
209  virtual bool backgroundImageGammaLUT() = 0;
210 
211  virtual void setDepthOfField(bool enable) = 0;
212  virtual bool getDepthOfField() = 0;
213 
214  virtual void setDepthOfFieldBokeh(HOM_EnumValue &viewportDOFBokeh) = 0;
215  virtual HOM_EnumValue &getDepthOfFieldBokeh() = 0;
216 
217  virtual void setDepthOfFieldBokehTexture(std::string file_or_node) = 0;
218  virtual std::string getDepthOfFieldBokehTexture() = 0;
219 
220  virtual void setDepthOfFieldBokehBoost(double boost) = 0;
221  virtual double getDepthOfFieldBokehBoost() = 0;
222 
223  virtual void setDepthOfFieldBokehAspect(double aspect) = 0;
224  virtual double getDepthOfFieldBokehAspect() = 0;
225 
226  // Viewport tab ----------------------------------------------------
227 
228  virtual void showsName(bool show) = 0;
229  virtual bool showName() = 0;
230 
231  virtual void showsCameraName(bool show) = 0;
232  virtual bool showCameraName() = 0;
233 
234  virtual void showsStateStatus(bool show) = 0;
235  virtual bool showStateStatus() = 0;
236 
237  virtual void showsBadges(bool show) = 0;
238  virtual bool showBadges() = 0;
239 
240  virtual void useAspectRatio(bool enable) = 0;
241  virtual bool usingAspectRatio() = 0;
242 
243  virtual void setAspectRatio(double aspect) = 0;
244  virtual double aspectRatio() = 0;
245 
246  virtual void setViewMaskOpacity(double opacity) = 0;
247  virtual double viewMaskOpacity() = 0;
248 
249  virtual void setStereoMode(HOM_EnumValue &viewportStereoMode) = 0;
250  virtual HOM_EnumValue &stereoMode() = 0;
251 
252  virtual void setHomeAutoAdjustsClip(HOM_EnumValue &viewportHomeClipMode)= 0;
253  virtual HOM_EnumValue &homeAutoAdjustClip() = 0;
254 
255  virtual void setClipPlanes(std::vector<double> clip) = 0;
256  virtual std::vector<double> clipPlanes() = 0;
257 
258  virtual void setMinHomeSize(double min_size) = 0;
259  virtual double minHomeSize() = 0;
260 
261  virtual void setUVDisplayAttribute(const std::string &uv) = 0;
262  virtual std::string uvDisplayAttribute() = 0;
263 
264  virtual void setUVAutoAttribute(bool detect) = 0;
265  virtual bool uvAutoAttribute() = 0;
266 
267  virtual void setUVVertexType(bool is_vertex_uv) = 0;
268  virtual bool uvVertexType() = 0;
269 
270  // Effects tab -----------------------------------------------------
271 
272  virtual void setLighting(HOM_EnumValue &viewportLighting) = 0;
273  virtual HOM_EnumValue &lighting() = 0;
274 
275  virtual void showDiffuse(bool enable) = 0;
276  virtual bool showingDiffuse() = 0;
277 
278  virtual void showSpecular(bool enable) = 0;
279  virtual bool showingSpecular() = 0;
280 
281  virtual void showAmbient(bool enable) = 0;
282  virtual bool showingAmbient() = 0;
283 
284  virtual void showEmission(bool enable) = 0;
285  virtual bool showingEmission() = 0;
286 
287  virtual void setLightSampling(int num_samples) = 0;
288  virtual int lightSampling() = 0;
289 
290  virtual void setMaxLightSamples(int samples) = 0;
291  virtual int maxLightSamples() = 0;
292 
293  virtual void setLightLimit(int limit) = 0;
294  virtual int getLightLimit() = 0;
295 
296  virtual void setHeadlightIntensity(double intensity) = 0;
297  virtual double headlightIntensity() = 0;
298 
299  virtual void setHeadlightDirection(std::vector<double> dir) = 0;
300  virtual std::vector<double> headlightDirection() = 0;
301 
302  virtual void setHeadlightSpecular(bool enable) = 0;
303  virtual bool headlightSpecular() = 0;
304 
305  virtual void setHeadlightOcclusion(bool enable) = 0;
306  virtual bool headlightOcclusion() = 0;
307 
308  virtual void setAmbientOcclusion(bool enable) = 0;
309  virtual bool ambientOcclusion() = 0;
310 
311  virtual void setAmbientOcclusionLevel(int level) = 0;
312  virtual int ambientOcclusionLevel() = 0;
313 
314  virtual void setShadowQuality(HOM_EnumValue &viewportShadowQuality) = 0;
315  virtual HOM_EnumValue &shadowQuality() = 0;
316 
317  virtual void setShadowSensitivity(std::vector<int> offset) = 0;
318  virtual std::vector<int> shadowSensitivity() = 0;
319 
320  virtual void setShadowMapSize(int size) = 0;
321  virtual int shadowMapSize() = 0;
322 
323  virtual void setShadowMapSizeFromLight(bool enable) = 0;
324  virtual bool shadowMapSizeFromLight() = 0;
325 
326  virtual void setShadowMapMem(int mem_in_mb) = 0;
327  virtual int getShadowMapMem() = 0;
328 
329  virtual void setShadowMapTime(double time_in_sec) = 0;
330  virtual double getShadowMapTime() = 0;
331 
332  virtual void useReflections(bool enable) = 0;
333  virtual bool usingReflections() = 0;
334 
335  virtual void setHdrReflections(bool hdr_reflect) = 0;
336  virtual bool hdrReflections() = 0;
337 
338  virtual void setReflectMapSize(int size) = 0;
339  virtual int reflectMapSize() = 0;
340 
341  virtual void setMinReflectAmount(double min_reflect) = 0;
342  virtual double minReflectAmount() = 0;
343 
344  // Materials tab ------------------------------------------------------
345 
346  virtual void showMaterials(bool enable) = 0;
347  virtual bool showingMaterials() = 0;
348 
349  virtual void showGeometryColor(bool enable) = 0;
350  virtual bool showingGeometryColor() = 0;
351 
352  virtual void useTransparency(bool enable) = 0;
353  virtual bool usingTransparency() = 0;
354 
355  virtual void setTransparencyQuality(HOM_EnumValue &viewportTransparency) = 0;
356  virtual HOM_EnumValue &transparencyQuality() = 0;
357 
358  virtual void useDisplacement(bool enable) = 0;
359  virtual bool usingDisplacement() = 0;
360 
361  virtual void setDisplacementLevel(double level) = 0;
362  virtual double displacementLevel() = 0;
363 
364  virtual void setDefaultMaterialDiffuse(HOM_Color &tint) = 0;
365  virtual HOM_Color defaultMaterialDiffuse() = 0;
366 
367  virtual void setDefaultMaterialSpecular(HOM_Color &tint) = 0;
368  virtual HOM_Color defaultMaterialSpecular() = 0;
369 
370  virtual void setDefaultMaterialAmbient(HOM_Color &tint) = 0;
371  virtual HOM_Color defaultMaterialAmbient() = 0;
372 
373  virtual void setDefaultMaterialEmission(HOM_Color &tint) = 0;
374  virtual HOM_Color defaultMaterialEmission() = 0;
375 
376 
377  // Fog tab -------------------------------------------------------------
378  virtual void setUniformFog(bool enable) = 0;
379  virtual bool getUniformFog() = 0;
380 
381  virtual void setUniformFogColor(std::vector<double> color) = 0;
382  virtual std::vector<double> getUniformFogColor() = 0;
383 
384  virtual void setUniformFogDensity(double density) = 0;
385  virtual double getUniformFogDensity() = 0;
386 
387  virtual void setUniformFogOpacity(double opacity) = 0;
388  virtual double getUniformFogOpacity() = 0;
389 
390  virtual void setUniformFogDepthRange(std::vector<double> range) = 0;
391  virtual std::vector<double> getUniformFogDepthRange() = 0;
392 
393  virtual void setUniformFogHeightMode(HOM_EnumValue &viewportFogHeightMode)=0;
394  virtual HOM_EnumValue &getUniformFogHeightMode() = 0;
395 
396  virtual void setUniformFogHeight(double h) = 0;
397  virtual double getUniformFogHeight() = 0;
398 
399  virtual void setUniformFogHeightFalloff(double h) = 0;
400  virtual double getUniformFogHeightFalloff() = 0;
401 
402  virtual void setUniformFogDepthClip(double depth) = 0;
403  virtual double getUniformFogDepthClip() = 0;
404 
405  virtual void setUniformFogUseSun(bool enable) = 0;
406  virtual bool getUniformFogUseSun() = 0;
407 
408  virtual void setUniformFogSunBloom(double bloom) = 0;
409  virtual double getUniformFogSunBloom() = 0;
410 
411  virtual void setUniformFogSunIntensity(double intensity) = 0;
412  virtual double getUniformFogSunIntensity() = 0;
413 
414  virtual void setVolumeFog(bool enable) = 0;
415  virtual bool getVolumeFog() = 0;
416 
417  virtual void setVolumeFogColor(std::vector<double> color) = 0;
418  virtual std::vector<double> getVolumeFogColor() = 0;
419 
420  virtual void setVolumeFogDensity(double density) = 0;
421  virtual double getVolumeFogDensity() = 0;
422 
423  virtual void setVolumeFogOpacity(double opacity) = 0;
424  virtual double getVolumeFogOpacity() = 0;
425 
426  virtual void setVolumeFogDepthRange(std::vector<double> range) = 0;
427  virtual std::vector<double> getVolumeFogDepthRange() = 0;
428 
429  virtual void setVolumeFogHeightMode(HOM_EnumValue &viewportFogHeightMode)=0;
430  virtual HOM_EnumValue &getVolumeFogHeightMode() = 0;
431 
432  virtual void setVolumeFogHeight(double h) = 0;
433  virtual double getVolumeFogHeight() = 0;
434 
435  virtual void setVolumeFogHeightFalloff(double h) = 0;
436  virtual double getVolumeFogHeightFalloff() = 0;
437 
438  virtual void setVolumeFogQuality(HOM_EnumValue &viewportFogQuality)=0;
439  virtual HOM_EnumValue &getVolumeFogQuality() = 0;
440 
441  virtual void setVolumeFogLightIntensity(double h) = 0;
442  virtual double getVolumeFogLightIntensity() = 0;
443 
444  virtual void setVolumeFogLightScattering(std::vector<double> scatter) = 0;
445  virtual std::vector<double> getVolumeFogLightScattering() = 0;
446 
447  virtual void setFogNode(HOM_Node *node) = 0;
448  SWIGOUT(%newobject getFogNode;)
449  virtual HOM_Node *getFogNode() = 0;
450 
451  // Grid tab ------------------------------------------------------------
452 
453  virtual void setDisplayOrthoGrid(bool enable) = 0;
454  virtual bool displayOrthoGrid() = 0;
455 
456  virtual void setOrthoGridOffset(std::vector<double> offset) = 0;
457  virtual std::vector<double> orthoGridOffset() = 0;
458 
459  virtual void setOrthoGridSpacing(std::vector<double> offset) = 0;
460  virtual std::vector<double> orthoGridSpacing() = 0;
461 
462  virtual void setOrthoGridRuler(std::vector<int> offset) = 0;
463  virtual std::vector<int> orthoGridRuler() = 0;
464 
465  virtual void setOrthoRuler(HOM_EnumValue &viewportGridRuler) = 0;
466  virtual HOM_EnumValue &orthoRuler() = 0;
467 
468  virtual void setUVReferenceGrid(bool enable) = 0;
469  virtual bool uvReferenceGrid() = 0;
470 
471  virtual void setUVDisplayGridOverImage(bool enable) = 0;
472  virtual bool uvReferenceGridOverImage() = 0;
473 
474  virtual void setUVGridPixelSpacing(std::vector<int> offset) = 0;
475  virtual std::vector<int> uvGridPixelSpacing() = 0;
476 
477  virtual void setUVGridPixelOffset(std::vector<double> offset) = 0;
478  virtual std::vector<double> uvGridPixelOffset() = 0;
479 
480  virtual void setClampUVGridToBackground(bool enable) = 0;
481  virtual bool clampUVGridToBackground() = 0;
482 
483  virtual void setDisplayUVTileBoundaries(bool enable) = 0;
484  virtual bool displayUVTileBoundaries() = 0;
485 
486  // Background tab ------------------------------------------------------
487 
488  virtual void setColorScheme(HOM_EnumValue &viewportColorScheme) = 0;
489  virtual HOM_EnumValue &colorScheme() = 0;
490  virtual HOM_Color colorFromName(const std::string &name) = 0;
491  virtual double alphaFromName(const std::string &name) = 0;
492 
493  SWIGOUT(%newobject backgroundImage;)
494  virtual HOM_GeometryViewportBackground *backgroundImage(
495  HOM_EnumValue &viewportBackgroundView,
496  int layer = 1) = 0;
497 
498  virtual void setDisplayBackgroundImage(bool enable) = 0;
499  virtual bool displayBackgroundImage() = 0;
500 
501  virtual void setDisplayEnvironmentBackgroundImage(bool enable) = 0;
502  virtual bool displayEnvironmentBackgroundImage() = 0;
503 
504  virtual void setFilterBackgroundImage(bool enable) = 0;
505  virtual bool filterBackgroundImage() = 0;
506 
507  virtual void setApplyZoomToBackgroundImage(bool enable) = 0;
508  virtual bool applyZoomToBackgroundImage() = 0;
509 
510  virtual void setBackgroundImageQuality(int quality) = 0;
511  virtual int backgroundImageQuality() = 0;
512 
513  // Texture tab --------------------------------------------------------
514 
515  virtual void setDisplayTextures(bool enable) = 0;
516  virtual bool displayTextures() = 0;
517 
518  virtual void setDisplayTextureLayers(bool enable) = 0;
519  virtual bool displayTextureLayers() = 0;
520 
521  virtual void setDisplayProjectedTextures(bool enable) = 0;
522  virtual bool displayProjectedTextures() = 0;
523 
524  virtual void setTextureMipmapping(bool enable) = 0;
525  virtual bool textureMipmapping() = 0;
526 
527  virtual void setTextureAnisotropicFilter(int num_samples) = 0;
528  virtual int textureAnisotropicFilter() = 0;
529 
530  virtual void setTextureCacheSize(int size_in_mb) = 0;
531  virtual int textureCacheSize() = 0;
532 
533  virtual void setTextureMaxMemory(int size_in_mb) = 0;
534  virtual int textureMaxMemory() = 0;
535 
536  virtual void setTextureAutoReduce(bool enable) = 0;
537  virtual bool textureAutoReduce() = 0;
538 
539  virtual void setTextureAutoReduce2D(bool enable) = 0;
540  virtual bool textureAutoReduce2D() = 0;
541 
542  virtual void setTextureAutoReduce3D(bool enable) = 0;
543  virtual bool textureAutoReduce3D() = 0;
544 
545  virtual void setTextureResLimit2D(bool enable) = 0;
546  virtual bool textureResLimit2D() = 0;
547 
548  virtual void setTextureMaxRes2D(std::vector<int> res) = 0;
549  virtual std::vector<int> textureMaxRes2D() = 0;
550 
551  virtual void setTextureBitDepthLimit2D(HOM_EnumValue &viewportTextureDepth)= 0;
552  virtual HOM_EnumValue &textureBitDepthLimit2D() = 0;
553 
554  virtual void setTextureScale2D(double scale) = 0;
555  virtual double textureScale2D() = 0;
556 
557  virtual void setTextureResLimit3D(bool enable) = 0;
558  virtual bool textureResLimit3D() = 0;
559 
560  virtual void setTexture2DSettingsFor3D(bool enable) = 0;
561  virtual bool texture2DSettingsFor3D() = 0;
562 
563  virtual void setTextureMaxRes3D(std::vector<int> res) = 0;
564  virtual std::vector<int> textureMaxRes3D() = 0;
565 
566  virtual void setTextureBitDepthLimit3D(HOM_EnumValue &viewportTextureDepth)= 0;
567  virtual HOM_EnumValue &textureBitDepthLimit3D() = 0;
568 
569  virtual void setTextureScale3D(double scale) = 0;
570  virtual double textureScale3D() = 0;
571 
572  // Optimize tab --------------------------------------------------------
573  virtual void useMaterialStylesheets(bool enable) = 0;
574  virtual bool usingMaterialStylesheets() = 0;
575 
576  virtual void usePerPrimStylesheets(bool enable) = 0;
577  virtual bool usingPerPrimStylesheets() = 0;
578 
579  virtual void usePackedStylesheets(bool enable) = 0;
580  virtual bool usingPackedStylesheets() = 0;
581 
582  virtual void useMaterialOverrides(bool enable) = 0;
583  virtual bool usingMaterialOverrides() = 0;
584 
585  virtual void setSingleObjectMaterialLimit(int num_materials) = 0;
586  virtual int singleObjectMaterialLimit() = 0;
587 
588  virtual void setMaterialUpdate(HOM_EnumValue &viewportMaterialUpdate) = 0;
589  virtual HOM_EnumValue &materialUpdate() = 0;
590 
591  virtual void setInteractiveMaterialUpdate(bool enable) = 0;
592  virtual bool interactiveMaterialUpdate() = 0;
593 
594  virtual void updateMaterials() = 0;
595 
596 
597  virtual void setVisibleObjects(const std::string &uv) = 0;
598  virtual std::string visibleObjects() = 0;
599 
600  virtual void setRemoveBackfaces(bool enable) = 0;
601  virtual bool removeBackfaces() = 0;
602 
603  virtual void setHullsOnly(bool enable) = 0;
604  virtual bool hullsOnly() = 0;
605 
606  virtual void setDistanceBasedPackedCulling(bool enable) = 0;
607  virtual bool distanceBasedPackedCulling() = 0;
608 
609  virtual void setScenePolygonLimit(int millions_of_polygons) = 0;
610  virtual int scenePolygonLimit() = 0;
611 
612  virtual void setPackedBoundingBoxMode(HOM_EnumValue &viewportPackedBoxMode) = 0;
613  virtual HOM_EnumValue &packedBoundingBoxMode() = 0;
614 
615  virtual void setOptimizeGeometry(bool enable) = 0;
616  virtual bool optimizeGeometry() = 0;
617 
618 
619  virtual void setAgentLODReduction(bool enable) = 0;
620  virtual bool agentLODReduction() = 0;
621 
622  virtual void setAgentLODReductionBias(int reduce_bias) = 0;
623  virtual int agentLODReductionBias() = 0;
624 
625  virtual void setAgentShapePointCutoff(int num_points) = 0;
626  virtual int agentShapePointCutoff() = 0;
627 
628  virtual void setMaxLODLevels(int num_levels) = 0;
629  virtual int maxLODLevels() = 0;
630 
631  virtual void setBaseLODLevel(int base_level) = 0;
632  virtual int baseLODLevel() = 0;
633 
634  virtual void setSingleBoneDeform(HOM_EnumValue &viewportAgentBoneDeform)=0;
635  virtual HOM_EnumValue &singleBoneDeform() = 0;
636 
637  virtual void setAgentWireframe(HOM_EnumValue &viewportAgentWireframe)=0;
638  virtual HOM_EnumValue &agentWireframe() = 0;
639 };
640 
641 #endif
GLenum GLint * range
Definition: glew.h:3500
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1211
GLsizeiptr size
Definition: glew.h:1681
GLuint const GLchar * name
Definition: glew.h:1814
GLclampf GLclampf GLclampf alpha
Definition: glew.h:1520
GLint GLint GLint GLint GLint GLint GLsizei width
Definition: glew.h:1252
GA_API const UT_StringHolder uv
OIIO_API bool rename(string_view from, string_view to, std::string &err)
GLenum GLenum GLenum GLenum GLenum scale
Definition: glew.h:13880
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
GLint limit
Definition: glew.h:12988
string __repr__(VtArray< T > const &self)
Definition: wrapArray.h:349
GLdouble angle
Definition: glew.h:9135
vint4 blend(const vint4 &a, const vint4 &b, const vbool4 &mask)
Definition: simd.h:4648
#define HOM_API
Definition: HOM_API.h:13
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1210
HOM_GeometryViewportSettings(const HOM_GeometryViewportSettings &)
GLfloat GLfloat GLfloat GLfloat h
Definition: glew.h:8011
GLuint color
Definition: glew.h:7902
GLsizei const GLchar *const * string
Definition: glew.h:1844
IMATH_INTERNAL_NAMESPACE_HEADER_ENTER T clip(const T &p, const Box< T > &box)
Definition: ImathBoxAlgo.h:89
GLenum GLsizei const GLuint GLboolean enabled
Definition: glew.h:2579
GLint GLboolean GLint layer
Definition: glew.h:3601
GLsizei samples
Definition: glew.h:2998
GLsizei const GLfloat * value
Definition: glew.h:1849
GLint level
Definition: glew.h:1252
GLboolean enable
Definition: glew.h:2745
GLint GLint GLsizei GLsizei GLsizei depth
Definition: glew.h:1254
GLuint res
Definition: glew.h:11507
GLintptr offset
Definition: glew.h:1682