1 /*---------------------------------------------------------------------------*\
5 * Copyright (C) 2000-2013 by the OpenSG Forum *
9 * contact: dirk@opensg.org, gerrit.voss@vossg.org, carsten_neumann@gmx.net *
11 \*---------------------------------------------------------------------------*/
12 /*---------------------------------------------------------------------------*\
15 * This library is free software; you can redistribute it and/or modify it *
16 * under the terms of the GNU Library General Public License as published *
17 * by the Free Software Foundation, version 2. *
19 * This library is distributed in the hope that it will be useful, but *
20 * WITHOUT ANY WARRANTY; without even the implied warranty of *
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
22 * Library General Public License for more details. *
24 * You should have received a copy of the GNU Library General Public *
25 * License along with this library; if not, write to the Free Software *
26 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *
28 \*---------------------------------------------------------------------------*/
29 /*---------------------------------------------------------------------------*\
37 \*---------------------------------------------------------------------------*/
39 /*****************************************************************************\
40 *****************************************************************************
42 ** This file is automatically generated. **
44 ** Any changes made to this file WILL be lost when it is **
45 ** regenerated, which can become necessary at any time. **
47 ** Do not change this file, changes should be done in the derived **
48 ** class TextureEnvChunk
50 *****************************************************************************
51 \*****************************************************************************/
54 #ifndef _OSGTEXTUREENVCHUNKBASE_H_
55 #define _OSGTEXTUREENVCHUNKBASE_H_
61 #include "OSGConfig.h"
62 #include "OSGStateDef.h"
64 //#include "OSGBaseTypes.h"
66 #include "OSGStateChunk.h" // Parent
68 #include "OSGBaseFields.h" // EnvMode type
69 #include "OSGSysFields.h" // EnvScaleRGB type
70 #include "OSGVecFields.h" // ShaderConstEye type
72 #include "OSGTextureEnvChunkFields.h"
77 class TextureEnvChunk
;
79 //! \brief TextureEnvChunk Base Class.
81 class OSG_STATE_DLLMAPPING TextureEnvChunkBase
: public StateChunk
85 typedef StateChunk Inherited
;
86 typedef StateChunk ParentContainer
;
88 typedef Inherited::TypeObject TypeObject
;
89 typedef TypeObject::InitPhase InitPhase
;
91 OSG_GEN_INTERNALPTR(TextureEnvChunk
);
93 /*========================== PUBLIC =================================*/
99 EnvModeFieldId
= Inherited::NextFieldId
,
100 EnvColorFieldId
= EnvModeFieldId
+ 1,
101 EnvCombineRGBFieldId
= EnvColorFieldId
+ 1,
102 EnvCombineAlphaFieldId
= EnvCombineRGBFieldId
+ 1,
103 EnvScaleRGBFieldId
= EnvCombineAlphaFieldId
+ 1,
104 EnvScaleAlphaFieldId
= EnvScaleRGBFieldId
+ 1,
105 EnvSource0RGBFieldId
= EnvScaleAlphaFieldId
+ 1,
106 EnvSource1RGBFieldId
= EnvSource0RGBFieldId
+ 1,
107 EnvSource2RGBFieldId
= EnvSource1RGBFieldId
+ 1,
108 EnvSource0AlphaFieldId
= EnvSource2RGBFieldId
+ 1,
109 EnvSource1AlphaFieldId
= EnvSource0AlphaFieldId
+ 1,
110 EnvSource2AlphaFieldId
= EnvSource1AlphaFieldId
+ 1,
111 EnvOperand0RGBFieldId
= EnvSource2AlphaFieldId
+ 1,
112 EnvOperand1RGBFieldId
= EnvOperand0RGBFieldId
+ 1,
113 EnvOperand2RGBFieldId
= EnvOperand1RGBFieldId
+ 1,
114 EnvOperand0AlphaFieldId
= EnvOperand2RGBFieldId
+ 1,
115 EnvOperand1AlphaFieldId
= EnvOperand0AlphaFieldId
+ 1,
116 EnvOperand2AlphaFieldId
= EnvOperand1AlphaFieldId
+ 1,
117 PointSpriteFieldId
= EnvOperand2AlphaFieldId
+ 1,
118 ShaderOperationFieldId
= PointSpriteFieldId
+ 1,
119 ShaderInputFieldId
= ShaderOperationFieldId
+ 1,
120 ShaderOffsetMatrixFieldId
= ShaderInputFieldId
+ 1,
121 ShaderOffsetScaleFieldId
= ShaderOffsetMatrixFieldId
+ 1,
122 ShaderOffsetBiasFieldId
= ShaderOffsetScaleFieldId
+ 1,
123 ShaderRGBADotProductFieldId
= ShaderOffsetBiasFieldId
+ 1,
124 ShaderCullModesFieldId
= ShaderRGBADotProductFieldId
+ 1,
125 ShaderConstEyeFieldId
= ShaderCullModesFieldId
+ 1,
126 LodBiasFieldId
= ShaderConstEyeFieldId
+ 1,
127 NextFieldId
= LodBiasFieldId
+ 1
130 static const OSG::BitVector EnvModeFieldMask
=
131 (TypeTraits
<BitVector
>::One
<< EnvModeFieldId
);
132 static const OSG::BitVector EnvColorFieldMask
=
133 (TypeTraits
<BitVector
>::One
<< EnvColorFieldId
);
134 static const OSG::BitVector EnvCombineRGBFieldMask
=
135 (TypeTraits
<BitVector
>::One
<< EnvCombineRGBFieldId
);
136 static const OSG::BitVector EnvCombineAlphaFieldMask
=
137 (TypeTraits
<BitVector
>::One
<< EnvCombineAlphaFieldId
);
138 static const OSG::BitVector EnvScaleRGBFieldMask
=
139 (TypeTraits
<BitVector
>::One
<< EnvScaleRGBFieldId
);
140 static const OSG::BitVector EnvScaleAlphaFieldMask
=
141 (TypeTraits
<BitVector
>::One
<< EnvScaleAlphaFieldId
);
142 static const OSG::BitVector EnvSource0RGBFieldMask
=
143 (TypeTraits
<BitVector
>::One
<< EnvSource0RGBFieldId
);
144 static const OSG::BitVector EnvSource1RGBFieldMask
=
145 (TypeTraits
<BitVector
>::One
<< EnvSource1RGBFieldId
);
146 static const OSG::BitVector EnvSource2RGBFieldMask
=
147 (TypeTraits
<BitVector
>::One
<< EnvSource2RGBFieldId
);
148 static const OSG::BitVector EnvSource0AlphaFieldMask
=
149 (TypeTraits
<BitVector
>::One
<< EnvSource0AlphaFieldId
);
150 static const OSG::BitVector EnvSource1AlphaFieldMask
=
151 (TypeTraits
<BitVector
>::One
<< EnvSource1AlphaFieldId
);
152 static const OSG::BitVector EnvSource2AlphaFieldMask
=
153 (TypeTraits
<BitVector
>::One
<< EnvSource2AlphaFieldId
);
154 static const OSG::BitVector EnvOperand0RGBFieldMask
=
155 (TypeTraits
<BitVector
>::One
<< EnvOperand0RGBFieldId
);
156 static const OSG::BitVector EnvOperand1RGBFieldMask
=
157 (TypeTraits
<BitVector
>::One
<< EnvOperand1RGBFieldId
);
158 static const OSG::BitVector EnvOperand2RGBFieldMask
=
159 (TypeTraits
<BitVector
>::One
<< EnvOperand2RGBFieldId
);
160 static const OSG::BitVector EnvOperand0AlphaFieldMask
=
161 (TypeTraits
<BitVector
>::One
<< EnvOperand0AlphaFieldId
);
162 static const OSG::BitVector EnvOperand1AlphaFieldMask
=
163 (TypeTraits
<BitVector
>::One
<< EnvOperand1AlphaFieldId
);
164 static const OSG::BitVector EnvOperand2AlphaFieldMask
=
165 (TypeTraits
<BitVector
>::One
<< EnvOperand2AlphaFieldId
);
166 static const OSG::BitVector PointSpriteFieldMask
=
167 (TypeTraits
<BitVector
>::One
<< PointSpriteFieldId
);
168 static const OSG::BitVector ShaderOperationFieldMask
=
169 (TypeTraits
<BitVector
>::One
<< ShaderOperationFieldId
);
170 static const OSG::BitVector ShaderInputFieldMask
=
171 (TypeTraits
<BitVector
>::One
<< ShaderInputFieldId
);
172 static const OSG::BitVector ShaderOffsetMatrixFieldMask
=
173 (TypeTraits
<BitVector
>::One
<< ShaderOffsetMatrixFieldId
);
174 static const OSG::BitVector ShaderOffsetScaleFieldMask
=
175 (TypeTraits
<BitVector
>::One
<< ShaderOffsetScaleFieldId
);
176 static const OSG::BitVector ShaderOffsetBiasFieldMask
=
177 (TypeTraits
<BitVector
>::One
<< ShaderOffsetBiasFieldId
);
178 static const OSG::BitVector ShaderRGBADotProductFieldMask
=
179 (TypeTraits
<BitVector
>::One
<< ShaderRGBADotProductFieldId
);
180 static const OSG::BitVector ShaderCullModesFieldMask
=
181 (TypeTraits
<BitVector
>::One
<< ShaderCullModesFieldId
);
182 static const OSG::BitVector ShaderConstEyeFieldMask
=
183 (TypeTraits
<BitVector
>::One
<< ShaderConstEyeFieldId
);
184 static const OSG::BitVector LodBiasFieldMask
=
185 (TypeTraits
<BitVector
>::One
<< LodBiasFieldId
);
186 static const OSG::BitVector NextFieldMask
=
187 (TypeTraits
<BitVector
>::One
<< NextFieldId
);
189 typedef SFGLenum SFEnvModeType
;
190 typedef SFColor4f SFEnvColorType
;
191 typedef SFGLenum SFEnvCombineRGBType
;
192 typedef SFGLenum SFEnvCombineAlphaType
;
193 typedef SFReal32 SFEnvScaleRGBType
;
194 typedef SFReal32 SFEnvScaleAlphaType
;
195 typedef SFGLenum SFEnvSource0RGBType
;
196 typedef SFGLenum SFEnvSource1RGBType
;
197 typedef SFGLenum SFEnvSource2RGBType
;
198 typedef SFGLenum SFEnvSource0AlphaType
;
199 typedef SFGLenum SFEnvSource1AlphaType
;
200 typedef SFGLenum SFEnvSource2AlphaType
;
201 typedef SFGLenum SFEnvOperand0RGBType
;
202 typedef SFGLenum SFEnvOperand1RGBType
;
203 typedef SFGLenum SFEnvOperand2RGBType
;
204 typedef SFGLenum SFEnvOperand0AlphaType
;
205 typedef SFGLenum SFEnvOperand1AlphaType
;
206 typedef SFGLenum SFEnvOperand2AlphaType
;
207 typedef SFBool SFPointSpriteType
;
208 typedef SFGLenum SFShaderOperationType
;
209 typedef SFGLenum SFShaderInputType
;
210 typedef MFReal32 MFShaderOffsetMatrixType
;
211 typedef SFReal32 SFShaderOffsetScaleType
;
212 typedef SFReal32 SFShaderOffsetBiasType
;
213 typedef SFGLenum SFShaderRGBADotProductType
;
214 typedef SFUInt8 SFShaderCullModesType
;
215 typedef SFVec3f SFShaderConstEyeType
;
216 typedef SFReal32 SFLodBiasType
;
218 /*---------------------------------------------------------------------*/
219 /*! \name Class Get */
222 static FieldContainerType
&getClassType (void);
223 static UInt32
getClassTypeId (void);
224 static UInt16
getClassGroupId(void);
227 /*---------------------------------------------------------------------*/
228 /*! \name FieldContainer Get */
231 virtual FieldContainerType
&getType (void);
232 virtual const FieldContainerType
&getType (void) const;
234 virtual UInt32
getContainerSize(void) const;
237 /*---------------------------------------------------------------------*/
238 /*! \name Field Get */
242 SFGLenum
*editSFEnvMode (void);
243 const SFGLenum
*getSFEnvMode (void) const;
245 SFColor4f
*editSFEnvColor (void);
246 const SFColor4f
*getSFEnvColor (void) const;
248 SFGLenum
*editSFEnvCombineRGB (void);
249 const SFGLenum
*getSFEnvCombineRGB (void) const;
251 SFGLenum
*editSFEnvCombineAlpha(void);
252 const SFGLenum
*getSFEnvCombineAlpha (void) const;
254 SFReal32
*editSFEnvScaleRGB (void);
255 const SFReal32
*getSFEnvScaleRGB (void) const;
257 SFReal32
*editSFEnvScaleAlpha (void);
258 const SFReal32
*getSFEnvScaleAlpha (void) const;
260 SFGLenum
*editSFEnvSource0RGB (void);
261 const SFGLenum
*getSFEnvSource0RGB (void) const;
263 SFGLenum
*editSFEnvSource1RGB (void);
264 const SFGLenum
*getSFEnvSource1RGB (void) const;
266 SFGLenum
*editSFEnvSource2RGB (void);
267 const SFGLenum
*getSFEnvSource2RGB (void) const;
269 SFGLenum
*editSFEnvSource0Alpha(void);
270 const SFGLenum
*getSFEnvSource0Alpha (void) const;
272 SFGLenum
*editSFEnvSource1Alpha(void);
273 const SFGLenum
*getSFEnvSource1Alpha (void) const;
275 SFGLenum
*editSFEnvSource2Alpha(void);
276 const SFGLenum
*getSFEnvSource2Alpha (void) const;
278 SFGLenum
*editSFEnvOperand0RGB (void);
279 const SFGLenum
*getSFEnvOperand0RGB (void) const;
281 SFGLenum
*editSFEnvOperand1RGB (void);
282 const SFGLenum
*getSFEnvOperand1RGB (void) const;
284 SFGLenum
*editSFEnvOperand2RGB (void);
285 const SFGLenum
*getSFEnvOperand2RGB (void) const;
287 SFGLenum
*editSFEnvOperand0Alpha(void);
288 const SFGLenum
*getSFEnvOperand0Alpha (void) const;
290 SFGLenum
*editSFEnvOperand1Alpha(void);
291 const SFGLenum
*getSFEnvOperand1Alpha (void) const;
293 SFGLenum
*editSFEnvOperand2Alpha(void);
294 const SFGLenum
*getSFEnvOperand2Alpha (void) const;
296 SFBool
*editSFPointSprite (void);
297 const SFBool
*getSFPointSprite (void) const;
299 SFGLenum
*editSFShaderOperation(void);
300 const SFGLenum
*getSFShaderOperation (void) const;
302 SFGLenum
*editSFShaderInput (void);
303 const SFGLenum
*getSFShaderInput (void) const;
305 MFReal32
*editMFShaderOffsetMatrix(void);
306 const MFReal32
*getMFShaderOffsetMatrix (void) const;
308 SFReal32
*editSFShaderOffsetScale(void);
309 const SFReal32
*getSFShaderOffsetScale (void) const;
311 SFReal32
*editSFShaderOffsetBias(void);
312 const SFReal32
*getSFShaderOffsetBias (void) const;
314 SFGLenum
*editSFShaderRGBADotProduct(void);
315 const SFGLenum
*getSFShaderRGBADotProduct (void) const;
317 SFUInt8
*editSFShaderCullModes(void);
318 const SFUInt8
*getSFShaderCullModes (void) const;
320 SFVec3f
*editSFShaderConstEye (void);
321 const SFVec3f
*getSFShaderConstEye (void) const;
323 SFReal32
*editSFLodBias (void);
324 const SFReal32
*getSFLodBias (void) const;
327 GLenum
&editEnvMode (void);
328 const GLenum
&getEnvMode (void) const;
330 Color4f
&editEnvColor (void);
331 const Color4f
&getEnvColor (void) const;
333 GLenum
&editEnvCombineRGB (void);
334 const GLenum
&getEnvCombineRGB (void) const;
336 GLenum
&editEnvCombineAlpha(void);
337 const GLenum
&getEnvCombineAlpha (void) const;
339 Real32
&editEnvScaleRGB (void);
340 Real32
getEnvScaleRGB (void) const;
342 Real32
&editEnvScaleAlpha (void);
343 Real32
getEnvScaleAlpha (void) const;
345 GLenum
&editEnvSource0RGB (void);
346 const GLenum
&getEnvSource0RGB (void) const;
348 GLenum
&editEnvSource1RGB (void);
349 const GLenum
&getEnvSource1RGB (void) const;
351 GLenum
&editEnvSource2RGB (void);
352 const GLenum
&getEnvSource2RGB (void) const;
354 GLenum
&editEnvSource0Alpha(void);
355 const GLenum
&getEnvSource0Alpha (void) const;
357 GLenum
&editEnvSource1Alpha(void);
358 const GLenum
&getEnvSource1Alpha (void) const;
360 GLenum
&editEnvSource2Alpha(void);
361 const GLenum
&getEnvSource2Alpha (void) const;
363 GLenum
&editEnvOperand0RGB (void);
364 const GLenum
&getEnvOperand0RGB (void) const;
366 GLenum
&editEnvOperand1RGB (void);
367 const GLenum
&getEnvOperand1RGB (void) const;
369 GLenum
&editEnvOperand2RGB (void);
370 const GLenum
&getEnvOperand2RGB (void) const;
372 GLenum
&editEnvOperand0Alpha(void);
373 const GLenum
&getEnvOperand0Alpha (void) const;
375 GLenum
&editEnvOperand1Alpha(void);
376 const GLenum
&getEnvOperand1Alpha (void) const;
378 GLenum
&editEnvOperand2Alpha(void);
379 const GLenum
&getEnvOperand2Alpha (void) const;
381 bool &editPointSprite (void);
382 bool getPointSprite (void) const;
384 GLenum
&editShaderOperation(void);
385 const GLenum
&getShaderOperation (void) const;
387 GLenum
&editShaderInput (void);
388 const GLenum
&getShaderInput (void) const;
390 MFReal32 ::reference
editShaderOffsetMatrix(const UInt32 index
);
391 Real32
getShaderOffsetMatrix (const UInt32 index
) const;
393 Real32
&editShaderOffsetScale(void);
394 Real32
getShaderOffsetScale (void) const;
396 Real32
&editShaderOffsetBias(void);
397 Real32
getShaderOffsetBias (void) const;
399 GLenum
&editShaderRGBADotProduct(void);
400 const GLenum
&getShaderRGBADotProduct (void) const;
402 UInt8
&editShaderCullModes(void);
403 UInt8
getShaderCullModes (void) const;
405 Vec3f
&editShaderConstEye (void);
406 const Vec3f
&getShaderConstEye (void) const;
408 Real32
&editLodBias (void);
409 Real32
getLodBias (void) const;
412 /*---------------------------------------------------------------------*/
413 /*! \name Field Set */
416 void setEnvMode (const GLenum
&value
);
417 void setEnvColor (const Color4f
&value
);
418 void setEnvCombineRGB (const GLenum
&value
);
419 void setEnvCombineAlpha(const GLenum
&value
);
420 void setEnvScaleRGB (const Real32 value
);
421 void setEnvScaleAlpha (const Real32 value
);
422 void setEnvSource0RGB (const GLenum
&value
);
423 void setEnvSource1RGB (const GLenum
&value
);
424 void setEnvSource2RGB (const GLenum
&value
);
425 void setEnvSource0Alpha(const GLenum
&value
);
426 void setEnvSource1Alpha(const GLenum
&value
);
427 void setEnvSource2Alpha(const GLenum
&value
);
428 void setEnvOperand0RGB (const GLenum
&value
);
429 void setEnvOperand1RGB (const GLenum
&value
);
430 void setEnvOperand2RGB (const GLenum
&value
);
431 void setEnvOperand0Alpha(const GLenum
&value
);
432 void setEnvOperand1Alpha(const GLenum
&value
);
433 void setEnvOperand2Alpha(const GLenum
&value
);
434 void setPointSprite (const bool value
);
435 void setShaderOperation(const GLenum
&value
);
436 void setShaderInput (const GLenum
&value
);
437 void setShaderOffsetScale(const Real32 value
);
438 void setShaderOffsetBias(const Real32 value
);
439 void setShaderRGBADotProduct(const GLenum
&value
);
440 void setShaderCullModes(const UInt8 value
);
441 void setShaderConstEye (const Vec3f
&value
);
442 void setLodBias (const Real32 value
);
445 /*---------------------------------------------------------------------*/
446 /*! \name Ptr MField Set */
450 /*---------------------------------------------------------------------*/
451 /*! \name Binary Access */
454 virtual SizeT
getBinSize (ConstFieldMaskArg whichField
);
455 virtual void copyToBin (BinaryDataHandler
&pMem
,
456 ConstFieldMaskArg whichField
);
457 virtual void copyFromBin(BinaryDataHandler
&pMem
,
458 ConstFieldMaskArg whichField
);
462 /*---------------------------------------------------------------------*/
463 /*! \name Construction */
466 static TextureEnvChunkTransitPtr
create (void);
467 static TextureEnvChunk
*createEmpty (void);
469 static TextureEnvChunkTransitPtr
createLocal (
470 BitVector bFlags
= FCLocal::All
);
472 static TextureEnvChunk
*createEmptyLocal(
473 BitVector bFlags
= FCLocal::All
);
475 static TextureEnvChunkTransitPtr
createDependent (BitVector bFlags
);
478 /*---------------------------------------------------------------------*/
482 virtual FieldContainerTransitPtr
shallowCopy (void) const;
483 virtual FieldContainerTransitPtr
shallowCopyLocal(
484 BitVector bFlags
= FCLocal::All
) const;
485 virtual FieldContainerTransitPtr
shallowCopyDependent(
486 BitVector bFlags
) const;
489 /*========================= PROTECTED ===============================*/
493 static TypeObject _type
;
495 static void classDescInserter(TypeObject
&oType
);
496 static const Char8
*getClassname (void );
498 /*---------------------------------------------------------------------*/
503 SFColor4f _sfEnvColor
;
504 SFGLenum _sfEnvCombineRGB
;
505 SFGLenum _sfEnvCombineAlpha
;
506 SFReal32 _sfEnvScaleRGB
;
507 SFReal32 _sfEnvScaleAlpha
;
508 SFGLenum _sfEnvSource0RGB
;
509 SFGLenum _sfEnvSource1RGB
;
510 SFGLenum _sfEnvSource2RGB
;
511 SFGLenum _sfEnvSource0Alpha
;
512 SFGLenum _sfEnvSource1Alpha
;
513 SFGLenum _sfEnvSource2Alpha
;
514 SFGLenum _sfEnvOperand0RGB
;
515 SFGLenum _sfEnvOperand1RGB
;
516 SFGLenum _sfEnvOperand2RGB
;
517 SFGLenum _sfEnvOperand0Alpha
;
518 SFGLenum _sfEnvOperand1Alpha
;
519 SFGLenum _sfEnvOperand2Alpha
;
520 SFBool _sfPointSprite
;
521 SFGLenum _sfShaderOperation
;
522 SFGLenum _sfShaderInput
;
523 MFReal32 _mfShaderOffsetMatrix
;
524 SFReal32 _sfShaderOffsetScale
;
525 SFReal32 _sfShaderOffsetBias
;
526 SFGLenum _sfShaderRGBADotProduct
;
527 SFUInt8 _sfShaderCullModes
;
528 SFVec3f _sfShaderConstEye
;
532 /*---------------------------------------------------------------------*/
533 /*! \name Constructors */
536 TextureEnvChunkBase(void);
537 TextureEnvChunkBase(const TextureEnvChunkBase
&source
);
540 /*---------------------------------------------------------------------*/
541 /*! \name Destructors */
544 virtual ~TextureEnvChunkBase(void);
547 /*---------------------------------------------------------------------*/
548 /*! \name onCreate */
553 /*---------------------------------------------------------------------*/
554 /*! \name Generic Field Access */
557 GetFieldHandlePtr
getHandleEnvMode (void) const;
558 EditFieldHandlePtr
editHandleEnvMode (void);
559 GetFieldHandlePtr
getHandleEnvColor (void) const;
560 EditFieldHandlePtr
editHandleEnvColor (void);
561 GetFieldHandlePtr
getHandleEnvCombineRGB (void) const;
562 EditFieldHandlePtr
editHandleEnvCombineRGB (void);
563 GetFieldHandlePtr
getHandleEnvCombineAlpha (void) const;
564 EditFieldHandlePtr
editHandleEnvCombineAlpha(void);
565 GetFieldHandlePtr
getHandleEnvScaleRGB (void) const;
566 EditFieldHandlePtr
editHandleEnvScaleRGB (void);
567 GetFieldHandlePtr
getHandleEnvScaleAlpha (void) const;
568 EditFieldHandlePtr
editHandleEnvScaleAlpha (void);
569 GetFieldHandlePtr
getHandleEnvSource0RGB (void) const;
570 EditFieldHandlePtr
editHandleEnvSource0RGB (void);
571 GetFieldHandlePtr
getHandleEnvSource1RGB (void) const;
572 EditFieldHandlePtr
editHandleEnvSource1RGB (void);
573 GetFieldHandlePtr
getHandleEnvSource2RGB (void) const;
574 EditFieldHandlePtr
editHandleEnvSource2RGB (void);
575 GetFieldHandlePtr
getHandleEnvSource0Alpha (void) const;
576 EditFieldHandlePtr
editHandleEnvSource0Alpha(void);
577 GetFieldHandlePtr
getHandleEnvSource1Alpha (void) const;
578 EditFieldHandlePtr
editHandleEnvSource1Alpha(void);
579 GetFieldHandlePtr
getHandleEnvSource2Alpha (void) const;
580 EditFieldHandlePtr
editHandleEnvSource2Alpha(void);
581 GetFieldHandlePtr
getHandleEnvOperand0RGB (void) const;
582 EditFieldHandlePtr
editHandleEnvOperand0RGB (void);
583 GetFieldHandlePtr
getHandleEnvOperand1RGB (void) const;
584 EditFieldHandlePtr
editHandleEnvOperand1RGB (void);
585 GetFieldHandlePtr
getHandleEnvOperand2RGB (void) const;
586 EditFieldHandlePtr
editHandleEnvOperand2RGB (void);
587 GetFieldHandlePtr
getHandleEnvOperand0Alpha (void) const;
588 EditFieldHandlePtr
editHandleEnvOperand0Alpha(void);
589 GetFieldHandlePtr
getHandleEnvOperand1Alpha (void) const;
590 EditFieldHandlePtr
editHandleEnvOperand1Alpha(void);
591 GetFieldHandlePtr
getHandleEnvOperand2Alpha (void) const;
592 EditFieldHandlePtr
editHandleEnvOperand2Alpha(void);
593 GetFieldHandlePtr
getHandlePointSprite (void) const;
594 EditFieldHandlePtr
editHandlePointSprite (void);
595 GetFieldHandlePtr
getHandleShaderOperation (void) const;
596 EditFieldHandlePtr
editHandleShaderOperation(void);
597 GetFieldHandlePtr
getHandleShaderInput (void) const;
598 EditFieldHandlePtr
editHandleShaderInput (void);
599 GetFieldHandlePtr
getHandleShaderOffsetMatrix (void) const;
600 EditFieldHandlePtr
editHandleShaderOffsetMatrix(void);
601 GetFieldHandlePtr
getHandleShaderOffsetScale (void) const;
602 EditFieldHandlePtr
editHandleShaderOffsetScale(void);
603 GetFieldHandlePtr
getHandleShaderOffsetBias (void) const;
604 EditFieldHandlePtr
editHandleShaderOffsetBias(void);
605 GetFieldHandlePtr
getHandleShaderRGBADotProduct (void) const;
606 EditFieldHandlePtr
editHandleShaderRGBADotProduct(void);
607 GetFieldHandlePtr
getHandleShaderCullModes (void) const;
608 EditFieldHandlePtr
editHandleShaderCullModes(void);
609 GetFieldHandlePtr
getHandleShaderConstEye (void) const;
610 EditFieldHandlePtr
editHandleShaderConstEye (void);
611 GetFieldHandlePtr
getHandleLodBias (void) const;
612 EditFieldHandlePtr
editHandleLodBias (void);
615 /*---------------------------------------------------------------------*/
619 #ifdef OSG_MT_CPTR_ASPECT
620 virtual void execSyncV( FieldContainer
&oFrom
,
621 ConstFieldMaskArg whichField
,
622 AspectOffsetStore
&oOffsets
,
623 ConstFieldMaskArg syncMode
,
624 const UInt32 uiSyncInfo
);
626 void execSync ( TextureEnvChunkBase
*pFrom
,
627 ConstFieldMaskArg whichField
,
628 AspectOffsetStore
&oOffsets
,
629 ConstFieldMaskArg syncMode
,
630 const UInt32 uiSyncInfo
);
634 /*---------------------------------------------------------------------*/
639 /*---------------------------------------------------------------------*/
640 /*! \name Aspect Create */
643 #ifdef OSG_MT_CPTR_ASPECT
644 virtual FieldContainer
*createAspectCopy(
645 const FieldContainer
*pRefAspect
) const;
649 /*---------------------------------------------------------------------*/
653 /*---------------------------------------------------------------------*/
657 virtual void resolveLinks(void);
660 /*========================== PRIVATE ================================*/
663 /*---------------------------------------------------------------------*/
665 // prohibit default functions (move to 'public' if you need one)
666 void operator =(const TextureEnvChunkBase
&source
);
669 typedef TextureEnvChunkBase
*TextureEnvChunkBaseP
;
673 #endif /* _OSGTEXTUREENVCHUNKBASE_H_ */