36 XmStampRaster(
const int a_numPixelsX,
const int a_numPixelsY,
const double a_pixelSizeX,
37 const double a_pixelSizeY,
const Pt3d &a_min,
const std::vector<double> &a_vals,
const int a_noData);
53 void WriteToFile(std::ofstream &a_file,
const std::string &a_cardName)
const;
70 void WriteToFile(std::ofstream &a_file,
const std::string &a_cardName)
const;
89 void WriteToFile(std::ofstream &a_file,
const std::string &a_cardName)
const;
114 void WriteToFile(std::ofstream &a_file,
const std::string &a_cardName)
const;
135 void WriteToFile(std::ofstream &a_file,
const std::string &a_cardName)
const;
164 void WriteToFile(std::ofstream &a_file,
const std::string &a_cardName)
const;
193 std::vector<XmStampCrossSection>
m_cs;
210 void WriteToFile(std::ofstream &a_file,
const std::string &a_cardName)
const;
Abutment definition for feature stamp end cap.
bool ReadFromFile(std::ifstream &a_file)
Reads the XmStampCrossSection class information to a file.
BSHP< TrTin > m_bathymetry
underlying bathymetry
int m_numPixelsY
Number of pixels in the Y-direction (Required)
VecPt3d m_left
left side of the cross section
int m_idxRightShoulder
index to the shoulder point in the m_right vector
VecInt2d m_outBreakLines
break lines that are honored in the TIN
double m_radius2
second radius (R2) for guidebank creation
void WriteToFile(std::ofstream &a_file, const std::string &a_cardName) const
Writes the XmStamperEndCap class information to a file.
void WriteToFile(std::ofstream &a_file, const std::string &a_cardName) const
Writes the XmWingWall class information to a file.
void WriteToFile(std::ofstream &a_file, const std::string &a_cardName) const
Writes the XmStampCrossSection class information to a file.
Pt3d GetLocationFromCellIndex(const int a_index) const
Gets the location of the cell center from the zero-based cell index.
XmStamperEndCap m_firstEndCap
end cap at beginnig of polyline
double m_leftMax
max x value for left side
bool ReadFromFile(std::ifstream &a_file)
Reads the XmStampRaster class information to a file.
void GetColRowFromCellIndex(const int a_index, int &a_col, int &a_row) const
Gets the zero-based column and row from the cell index.
double m_pixelSizeX
Pixel size in the X-direction (Required)
End cap definition for feature stamp.
XmStampRaster m_raster
Input/output raster to stamp the resulting elevations onto this raster.
void WriteToFile(std::ofstream &a_file, const std::string &a_cardName) const
Writes the XmSlopedAbutment class information to a file.
int GetCellIndexFromColRow(const int a_col, const int a_row) const
Gets the zero-based cell index from the given column and row.
int m_numPixelsX
Number of pixels in the X-direction (Required)
bool ReadFromFile(std::ifstream &a_file)
Reads the XmWingWall class information to a file.
double m_maxX
max distance from center line
std::vector< VecInt > VecInt2d
XmStamperEndCap m_lastEndCap
end cap at end of polyline
void WriteToFile(std::ofstream &a_file, const std::string &a_cardName) const
Writes the XmGuidebank class information to a file.
void WriteGridFile(const std::string &a_fileName, const XmRasterFormatEnum a_format)
Writes the raster in the given format to the given filename.
double m_pixelSizeY
Pixel size in the Y-direction (Required)
bool ReadFromFile(std::ifstream &a_file)
Reads the XmStamperIo class information from a file.
int m_noData
NO DATA value for the raster (typically XM_NODATA)
int m_side
position of guidebank relative to center line, 0-left, 1-right
Pt3d m_min
Minimum (lower left) X, Y coordinate of the raster at the center of the raster cell (Required) ...
XmWingWall m_wingWall
wing wall definition
XmGuidebank m_guidebank
guidebank definition
double m_wingWallAngle
degrees from 0 to 60
std::vector< double > m_vals
double m_rightMax
max x value for right side
VecPt3d m_right
right side of the cross section
int m_type
type of end cap: 0- guidebank, 1- sloped abutment, 2- wing wall
Wing wall definition for feature stamp end cap.
XmStampRaster()
Default Constructor.
Stamping inputs/outputs class.
void WriteToFile(std::ofstream &a_file, const std::string &a_cardName) const
Writes the XmStamperIo class information to a file.
void SetPrecisionForOutput(int a_precision)
Sets the precision for stamper output.
int m_nPts
number of points created along the center line to create the guidebank
void WriteToFile(std::ofstream &a_file, const std::string &a_cardName) const
Writes the XmStampRaster class information to a file.
Cross section definition for stamping.
XmStamperIo()
Constructor.
std::vector< XmStampCrossSection > m_cs
cross sections along the polyLine
double m_angle
degrees from -45 to 45
Raster defined using a non-rotated cartesian axis for use in XmStamper.
VecPt3d m_slope
x,y pairs defining slope from center line
bool ReadFromFile(std::ifstream &a_file)
Reads the XmSlopedAbutment class information to a file.
Guidebank definition for feature stamp end cap.
bool ReadFromFile(std::ifstream &a_file)
Reads the XmGuidebank class information to a file.
XmRasterFormatEnum
/breif enum the identify the format of the raster
double m_width
width of guidebank about the center line
int m_stampingType
Stamping type 0 - Cut, 1 - Fill, 2 - Both.
XmSlopedAbutment m_slopedAbutment
sloped abutment definition
bool ReadFromFile(std::ifstream &a_file)
Reads the XmStamperEndCap class information to a file.
std::vector< Pt3d > VecPt3d
double m_radius1
first radius (R1) for guidebank creation