FRX SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
AcGiShadowParameters.h
Go to the documentation of this file.
1#pragma once
2
3//
4// (C) Copyright 2005-2024 by Graebert GmbH.
5//
6// Permission to use, copy, modify, and distribute this software in
7// object code form for any purpose and without fee is hereby granted,
8// provided that the above copyright notice appears in all copies and
9// that both that copyright notice and the limited warranty and
10// restricted rights notice below appear in all supporting
11// documentation.
12//
13// GRAEBERT PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
14// GRAEBERT SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
15// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. GRAEBERT GMBH
16// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
17// UNINTERRUPTED OR ERROR FREE.
18
19class AcRxClass;
20
22{
23public:
25 {
26 kShadowsRayTraced = 0,
27 kShadowMaps
28 };
29
38public:
39// ACRX_DECLARE_MEMBERS(AcGiShadowParameters)
40
41public:
43 bool operator==( AcGiShadowParameters const &)const ;
44
45
46 virtual ~AcGiShadowParameters(void);
47 virtual bool setShadowMapSize(unsigned short);
48 virtual bool setShadowMapSoftness(unsigned char);
49 virtual bool shadowsOn(void)const ;
50
51 virtual ShadowType shadowType(void)const ;
52 virtual unsigned char shadowMapSoftness(void)const ;
53 virtual unsigned short shadowMapSize(void)const ;
54 virtual void setShadowType( ShadowType);
55 virtual void setShadowsOn(bool);
56
57 virtual double extendedLightRadius( void )const;
58 virtual bool setExtendedLightRadius( double );
59 virtual double extendedLightWidth( void )const;
60 virtual bool setExtendedLightWidth( double );
61 virtual double extendedLightLength( void )const;
62 virtual bool setExtendedLightLength( double );
65 virtual bool shapeVisibility( void )const;
66 virtual void setShapeVisibility( bool );
67 virtual unsigned short shadowSamples( void )const;
68 virtual bool setShadowSamples( unsigned short );
69
70};
const AcGe::EntityId kSphere
virtual bool setShadowMapSize(unsigned short)
virtual ~AcGiShadowParameters(void)
virtual double extendedLightLength(void) const
virtual unsigned char shadowMapSoftness(void) const
virtual void setShapeVisibility(bool)
virtual bool shapeVisibility(void) const
virtual void setShadowsOn(bool)
virtual bool setExtendedLightRadius(double)
virtual bool setShadowSamples(unsigned short)
virtual bool setShadowMapSoftness(unsigned char)
virtual AcGiShadowParameters::ExtendedLightShape extendedLightShape(void) const
virtual unsigned short shadowMapSize(void) const
virtual ShadowType shadowType(void) const
virtual bool setExtendedLightShape(enum AcGiShadowParameters::ExtendedLightShape)
virtual void setShadowType(ShadowType)
virtual double extendedLightWidth(void) const
virtual unsigned short shadowSamples(void) const
virtual bool setExtendedLightLength(double)
bool operator==(AcGiShadowParameters const &) const
virtual bool setExtendedLightWidth(double)
virtual double extendedLightRadius(void) const
virtual bool shadowsOn(void) const