19 namespace osgGeo {
class TexturePanelStripNode; }
24 class TextureChannels;
38 visBase::TextureChannels* getTextureChannels();
40 void freezeDisplay(
bool yn=true);
41 bool isDisplayFrozen() const;
48 const
TypeSet<Coord>& getPath() const;
50 void setPath2TextureMapping(
55 const
TypeSet<
float>& getPath2TextureMapping() const;
57 void setPathTextureShift(
float shift,
int startidx=0);
61 float getPathTextureShift() const;
62 float getPathTextureShiftStartIdx() const;
64 void setZRange(const
Interval<
float>&);
67 void unsetZRange2TextureMapping();
68 void setZRange2TextureMapping(
71 bool isZRange2TextureMappingSet() const;
72 Interval<
float> getZRange2TextureMapping() const;
74 void setZTextureShift(
float);
77 float getZTextureShift() const;
79 void swapTextureAxes(
bool yn=true);
80 bool areTextureAxesSwapped() const;
82 void smoothNormals(
bool yn=true);
83 bool areNormalsSmoothed() const;
85 void setDisplayTransformation(const
mVisTrans*);
86 const mVisTrans* getDisplayTransformation() const;
87 int getNrTextures() const;
88 const
unsigned char* getTextureData() const;
94 void setEmpty() { coords_.
erase(); texcoords_.
erase();
98 bool getTextureDataInfo(
int tidx,
99 TextureDataInfo& texinfo)
const;
100 bool getTextureInfo(
int& width,
int& height,
112 bool calcTextureCoordinates(
int,
#define mExpClass(module)
Definition: commondefs.h:157
Definition: vistexturechannels.h:46
#define mStruct(module)
Definition: commondefs.h:162
PtrMan< TypeSet< float > > pathtexoffsets_
Definition: vistexturepanelstrip.h:110
A collection of geoscientific extensions to OpenSceneGraph.
Definition: visannot.h:35
RefMan< TextureChannels > channels_
Definition: vistexturepanelstrip.h:108
A TexturePanelStrip is geometrically invariant in the z-direction. Its serially connected panels are ...
Definition: vistexturepanelstrip.h:31
osgGeo::TexturePanelStripNode * osgpanelstrip_
Definition: vistexturepanelstrip.h:107
Interval of values.
Definition: commontypes.h:27
Set of (small) copyable elements.
Definition: commontypes.h:26
PtrMan< TypeSet< Coord > > pathcoords_
Definition: vistexturepanelstrip.h:109
static TexturePanelStrip * create()
Definition: vistexturepanelstrip.h:34
#define mVisTrans
Definition: visdata.h:25
Definition: visannot.h:40
ConstRefMan< visBase::Transformation > displaytrans_
Definition: vistexturepanelstrip.h:106
#define mCreateDataObj(clss)
Definition: visdata.h:210
Definition: visobject.h:67
2D point or vector class.
Definition: commontypes.h:58