24#ifndef _OdDbViewInitParams_H
25#define _OdDbViewInitParams_H
48 , m_bInheritScale(
true), m_bInheritStyle(
true), m_bInheritSection(
false), m_bShowLabel(
true), m_bMethodAligned(
true), m_bShaded(
false)
49 , m_bShowInterferenceEdges(
false), m_bShowTangentEdges(
false), m_bTangentEdgesForeshortened(
false)
63 if (
GETBIT(m_overrides, kDetailViewModelEdgeType))
65 if (
GETBIT(m_overrides, kBoundaryType))
67 if (
GETBIT(m_overrides, kScale))
83 double scale()
const {
return m_scale;}
181 kDetailViewModelEdgeType = 0x8,
184 Overrides m_overrides;
186 bool m_bInheritScale;
187 bool m_bInheritStyle;
188 bool m_bInheritSection;
190 bool m_bMethodAligned;
192 bool m_bShowInterferenceEdges;
193 bool m_bShowTangentEdges;
194 bool m_bTangentEdgesForeshortened;
OdArray< OdDbObjectId, OdClrMemAllocator< OdDbObjectId > > OdDbObjectIdArray
#define GETBIT(flags, bit)
#define SETBIT_1(flags, bit)
OdResult setDisplayIdentifier(const bool displayIdentifier)
OdResult setDetailViewScale(double viewScale)
OdResult setModelEdgeType(OdDbDetailViewStyle::ModelEdge modelEdgeType)
OdResult setBoundaryType(OdDbDetailSymbol::BoundaryType bndType)
bool inheritSection() const
bool isConstrainToLastSegment() const
void applyToDetailSymbol(OdDbDetailSymbol &symbol) const
void setShowTangentEdges(bool visibility)
OdDbViewRep::ViewOrientType viewOrientType() const
void setConstrainToFirstSegment()
void setViewOrientType(OdDbViewRep::ViewOrientType type)
OdDbViewRep::ViewStyleType viewStyleType() const
void setIsShaded(bool value)
bool labelVisibility() const
void applyToSectionSymbol(OdDbSectionSymbol &symbol) const
void setDetailViewModelEdgeType(OdDbDetailViewStyle::ModelEdge type)
OdDbViewRepSectionDefinition::ESectionConstrainTo constrainTo() const
void applyToViewSymbol(OdDbViewSymbol &symbol) const
void setScale(const OdDbObjectId &scaleId, double scale)
bool showInterferenceEdges() const
void setConstrainToLastSegment()
void setInheritScale(bool inherit)
void setLabelVisibility(bool visibility)
OdDbDetailSymbol::BoundaryType boundaryType() const
const OdGePoint3d & target() const
bool inheritScale() const
void setViewType(OdDbViewRep::ViewType type)
bool inheritStyle() const
void setEye(const OdGePoint3d &eye)
void setLabelIdentifier(const OdString &identifier)
void setViewStyleType(OdDbViewRep::ViewStyleType type)
void setConstrainTo(OdDbViewRepSectionDefinition::ESectionConstrainTo constrain)
void setUpVec(const OdGeVector3d &up)
void setSelSetEntities(const OdDbObjectIdArray &selectedIds)
void setInheritSection(bool inherit)
void setShowInterferenceEdges(bool visibility)
void setCenter(const OdGePoint3d &pt)
OdDbViewRep::ViewType viewType() const
void setTarget(const OdGePoint3d &target)
void setTangentEdgesForeshortened(bool foreshortened)
OdDbObjectId parentViewRepId() const
void setSectionMethodAligned(bool bMethodAligned)
bool showTangentEdges() const
void setScale(double scale)
const OdDbObjectIdArray & selSetEntities() const
const OdGePoint3d & eye() const
OdString labelIdentifier() const
const OdGePoint3d & center() const
void setInheritStyle(bool inherit)
void setScaleId(const OdDbObjectId &scaleId)
bool sectionMethodAligned() const
void setBoundaryType(OdDbDetailSymbol::BoundaryType type)
OdDbObjectId scaleId() const
bool tangentEdgesForeshortened() const
OdDbDetailViewStyle::ModelEdge detailViewModelEdgeType() const
void setParentViewRepId(OdDbObjectId idParent)
const OdGeVector3d & upVec() const
@ kConstrainToLastSegment
@ kConstrainToFirstSegment
OdResult setIdentifier(const OdString &sName)
GLuint GLsizei GLsizei GLint GLenum * type
GLsizei const GLfloat * value