FRX SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
AcGiMaterialMap.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
19#include "..\acad\Acad.h"
20
21class AcGiMapper;
23class AcRxClass;
24class AcGiMaterialMapImpl;
25
27{
28public:
29 friend class AcGiMaterialMapImpl;
30 enum Filter
31 {
32 };
33 enum Source
34 {
35 kScene = 0,
36 kFile = 1,
37 kProcedural = 2
38 };
39public:
40 static AcGiMaterialMap const kNull;
42public:
45 bool operator==( AcGiMaterialMap const &)const ;
47 Filter filter(void)const ;
48 Acad::ErrorStatus setFilter( Filter);
49
50
51 virtual ~AcGiMaterialMap(void);
52 virtual AcGiMapper const & mapper(void)const ;
53 virtual AcGiMaterialTexture const * texture(void)const ;
54
55 virtual double blendFactor(void)const ;
56 virtual Source source(void)const ;
57 virtual void set( AcGiMaterialMap const &);
58 virtual void setBlendFactor(double);
59 virtual void setMapper( AcGiMapper const &);
60 virtual void setSource( Source);
61 virtual void setSourceFileName(wchar_t const *);
62 virtual void setTexture( AcGiMaterialTexture const *);
63 virtual wchar_t const * sourceFileName(void)const ;
64
65private:
66 AcGiMaterialMapImpl* m_Impl;
67};
#define ACRX_DECLARE_MEMBERS(classname)
Definition addmacro.h:756
virtual void setMapper(AcGiMapper const &)
virtual AcGiMaterialTexture const * texture(void) const
Acad::ErrorStatus setFilter(Filter)
virtual Source source(void) const
bool operator==(AcGiMaterialMap const &) const
virtual ~AcGiMaterialMap(void)
virtual void setSourceFileName(wchar_t const *)
virtual void setSource(Source)
virtual void setBlendFactor(double)
AcGiMaterialMap & operator=(AcGiMaterialMap const &)
static AcGiMaterialMap const kNull
virtual AcGiMapper const & mapper(void) const
virtual double blendFactor(void) const
AcGiMaterialMap(AcGiMaterialMap const &)
virtual void setTexture(AcGiMaterialTexture const *)
virtual void set(AcGiMaterialMap const &)
virtual wchar_t const * sourceFileName(void) const
Filter filter(void) const