 |
OpendTect
6.6
|
Go to the documentation of this file.
16 #include "visbasemod.h"
21 namespace osgGeo {
class TexturePanelStripNode; }
26 class TextureChannels;
42 void freezeDisplay(
bool yn=true);
43 bool isDisplayFrozen() const;
52 void setPath2TextureMapping(
57 const
TypeSet<
float>& getPath2TextureMapping() const;
59 void setPathTextureShift(
float shift,
int startidx=0);
63 float getPathTextureShift() const;
64 float getPathTextureShiftStartIdx() const;
69 void unsetZRange2TextureMapping();
70 void setZRange2TextureMapping(
73 bool isZRange2TextureMappingSet() const;
74 Interval<
float> getZRange2TextureMapping() const;
76 void setZTextureShift(
float);
79 float getZTextureShift() const;
81 void swapTextureAxes(
bool yn=true);
82 bool areTextureAxesSwapped() const;
84 void smoothNormals(
bool yn=true);
85 bool areNormalsSmoothed() const;
89 int getNrTextures() const;
90 const
unsigned char* getTextureData() const;
96 void setEmpty() { coords_.erase(); texcoords_.erase();
101 TextureDataInfo& texinfo)
const;
122 double minx,
double xlen,
double minz,
126 bool bz=
false)
const;
A cartesian coordinate in 3D space.
Definition: coord.h:72
bool getTextureInfo(int &width, int &height, int &pixsize)
static TexturePanelStrip * create()
Definition: vistexturepanelstrip.h:36
Definition: visannot.h:43
#define mExpClass(module)
Definition: commondefs.h:177
bool getTextureDataInfo(int tidx, TextureDataInfo &texinfo) const
PtrMan< TypeSet< float > > pathtexoffsets_
Definition: vistexturepanelstrip.h:112
ConstRefMan< visBase::Transformation > displaytrans_
Definition: vistexturepanelstrip.h:108
Coord getImageTextureCoord(const Coord3 dispcrd, double minx, double xlen, double minz, double zlen) const
A cartesian coordinate in 2D space.
Definition: coord.h:25
Definition: vistexturechannels.h:50
osgGeo::TexturePanelStripNode * osgpanelstrip_
Definition: vistexturepanelstrip.h:109
#define mStruct(module)
Definition: commondefs.h:182
#define mVisTrans
Definition: visdata.h:28
Definition: visobject.h:72
RefMan< TextureChannels > channels_
Definition: vistexturepanelstrip.h:110
bool calcTextureCoordinates(int, TypeSet< Coord > &) const
A collection of geoscientific extensions to OpenSceneGraph.
Definition: visannot.h:38
#define mCreateDataObj(clss)
Definition: visdata.h:214
PtrMan< TypeSet< Coord > > pathcoords_
Definition: vistexturepanelstrip.h:111
void getMinAndLengthInfo(double &minval, double &len, bool bz=false) const
bool calcTextureCoordinates(TypeSet< Coord3 > &coordin, TypeSet< Coord > &coordout) const
Interval of values.
Definition: commontypes.h:30
A TexturePanelStrip is geometrically invariant in the z-direction. Its serially connected panels are ...
Definition: vistexturepanelstrip.h:34
Sets of (small) copyable elements.
Definition: commontypes.h:29
Generated at
for the OpendTect
seismic interpretation project.
Copyright (C): dGB Beheer B.V. 1995-2021