CFx SDK Documentation 2024 SP0
|
#include <GiBaseVectorizerImpl.h>
Classes | |
struct | AwareFlagsHandler |
Public Types | |
enum | VectorizingFlags { kNotVectorizing = 0 , kVectorizing = 1 << 0 , kDisplaying = 1 << 1 , kSelecting = 1 << 2 , kExtentsComp = 1 << 3 } |
Public Types inherited from OdGiSubEntityTraits | |
enum | DrawFlags { kNoDrawFlags = 0x0000 , kDrawBackfaces = 0x0001 , kDrawHatchGroup = 0x0002 , kDrawFrontfacesOnly = 0x0004 , kDrawGradientFill = 0x0008 , kDrawSolidFill = 0x0010 , kDrawNoLineWeight = 0x0020 , kDrawNoPlotstyle = 0x0080 , kDrawContourFill = 0x08000 , kDisableLayoutCache = 0x10000 , kDrawBoundaryForClipping = 0x20000 , kDrawBoundaryForClippingDrw = 0x40000 , kClipSetIsEmpty = 0x80000 , kDrawPolygonFill = 0x100000 , kExcludeFromViewExt = 0x200000 , kDrawDgLsPolyWithoutBreaks = 0x400000 , kPolygonProcessing = 0x800000 , kDisableAutoGenerateNormals = 0x1000000 , kDisableFillModeCheck = 0x2000000 , kDrawUnderlayReference = 0x4000000 , kLineStyleScaleOverride = 0x8000000 , kDisableDisplayClipping = 0x10000000 , kRegenTypeDependent2dDraw = 0x20000000 , kInternalDrawFlags = kDisableLayoutCache | kClipSetIsEmpty | kRegenTypeDependent2dDraw , kDrawGeometryForExtents = 0x04000 , kFxNoFillOnSelect = 0x40000000 , kInheritableDrawFlags } |
enum | LockFlags { kNoLockFlags = 0x00000000 , kLockColors = 0x00000001 , kLockLineWeight = 0x00000002 , kLockLineType = 0x00000004 , kLockLineTypeScale = 0x00000008 , kLockLayer = 0x00000010 , kLockByBlockLayer = 0x00000020 , kKeepAuxDataAndLockFlags = 0x00000040 , kInheritableLockFlags = kLockColors | kLockLineWeight | kLockLineType | kLockLineTypeScale | kLockLayer | kKeepAuxDataAndLockFlags } |
enum | ShadowFlags { kShadowsCastAndReceive = 0 , kShadowsDoesNotCast = 1 , kShadowsDoesNotReceive = 2 , kShadowsIgnore = kShadowsDoesNotCast | kShadowsDoesNotReceive } |
enum | SelectionFlags { kNoSelectionFlags = 0 , kSelectionIgnore = 1 , kHighlightingGeometry = 2 , kHiddenInHighlight = 4 , kFxSubentitySelection = 0x80 } |
enum | SubEntityHints { kHint2DAttributes = 1 , kHint3DAttributes = 2 , kHintAllAttributes = kHint2DAttributes | kHint3DAttributes , kHintSnapModeOn = 4 , kHintDefaultState = kHintAllAttributes } |
Public Types inherited from OdGiConveyorContext | |
enum | ConveyorContextFlags { kSpatialFilterSimplPline = 1 , kSpatialFilterSimplNurbs = 2 , kSpatialFilterSimplText = 4 , kSpatialFilterSimplShape = 8 , kSpatialFilterSimplAll , kEmbranchmentSimplText = 16 , kEmbranchmentSimplNurbs = 32 , kEmbranchmentSimplAll = (kEmbranchmentSimplText | kEmbranchmentSimplNurbs) , kConveyorSimplAll = (kSpatialFilterSimplAll | kEmbranchmentSimplAll) , kPlineMarkers = 64 , kForceMarkersOnModified = 128 , kPolylineMarkers = 256 , kPlineAllowArcProc = 512 , kTestMode = 1024 , kLineTyperAfterMetafile = 2048 } |
Public Types inherited from OdGiSubEntityTraitsChangedFlags | |
enum | ChangedTraits { kFirstChangedFlag = 1 , kColorChanged = kFirstChangedFlag << 0 , kLayerChanged = kFirstChangedFlag << 1 , kLineTypeChanged = kFirstChangedFlag << 2 , kFillTypeChanged = kFirstChangedFlag << 3 , kLineWeightChanged = kFirstChangedFlag << 4 , kLineTypeScaleChanged = kFirstChangedFlag << 5 , kThicknessChanged = kFirstChangedFlag << 6 , kPlotStyleChanged = kFirstChangedFlag << 7 , kMaterialChanged = kFirstChangedFlag << 8 , kMapperChanged = kFirstChangedFlag << 9 , kVisualStyleChanged = kFirstChangedFlag << 10 , kTransparencyChanged = kFirstChangedFlag << 11 , kDrawFlagsChanged = kFirstChangedFlag << 12 , kSelectionGeomChanged = kFirstChangedFlag << 13 , kShadowFlagsChanged = kFirstChangedFlag << 14 , kSectionableChanged = kFirstChangedFlag << 15 , kSelectionFlagsChanged = kFirstChangedFlag << 16 , kSecColorChanged = kFirstChangedFlag << 17 , kLSModifiersChanged = kFirstChangedFlag << 18 , kFillChanged = kFirstChangedFlag << 19 , kAwareFlagChanged = kFirstChangedFlag << 20 , kLockFlagsChanged = kFirstChangedFlag << 21 , kAuxDataChanged = kFirstChangedFlag << 22 , kAllChanged = 0x7FFFFF , kSomeChanged = kAllChanged } |
Protected Types | |
enum | Flags { kFillPlaneSet = OdGiBaseVectorizer::kLastFlag << 1 , kLinetypeContinuous = OdGiBaseVectorizer::kLastFlag << 2 , kModelCache = OdGiBaseVectorizer::kLastFlag << 3 , kHighlighted = OdGiBaseVectorizer::kLastFlag << 4 , kDontAbortRegen = OdGiBaseVectorizer::kLastFlag << 5 , kCheckLinePattern = OdGiBaseVectorizer::kLastFlag << 6 , kBreakSelection = OdGiBaseVectorizer::kLastFlag << 7 , kSelectionGeometry = OdGiBaseVectorizer::kLastFlag << 8 , kSelectionDisabled = OdGiBaseVectorizer::kLastFlag << 9 , kObjectToDeviceValid = OdGiBaseVectorizer::kLastFlag << 10 , kDisableInfiniteGeomExtents = OdGiBaseVectorizer::kLastFlag << 11 , kSectionableGeomExtentsOnly = OdGiBaseVectorizer::kLastFlag << 12 , kDisableSection = OdGiBaseVectorizer::kLastFlag << 13 , kSectionForegroundGeometry = OdGiBaseVectorizer::kLastFlag << 14 , kInitGsState = OdGiBaseVectorizer::kLastFlag << 15 , kSetVpLtypeScaleMult = OdGiBaseVectorizer::kLastFlag << 16 , kSetVpFilterFunction = OdGiBaseVectorizer::kLastFlag << 17 , kLineweightOverride = OdGiBaseVectorizer::kLastFlag << 18 , kLinestyleOverride = OdGiBaseVectorizer::kLastFlag << 19 , kLastOptionFlag = kLinestyleOverride } |
enum | ImplFlags { kFirstImplFlag = 1 , kSectionableGeomEnabled = kFirstImplFlag << 0 , kMultiplyLinestyleScale = kFirstImplFlag << 1 , kSkipViewSectioning = kFirstImplFlag << 2 , kHiddenImplFlag = kFirstImplFlag << 3 , kLastImplFlag = kHiddenImplFlag } |
Protected Types inherited from OdGiBaseVectorizer | |
enum | Flags { kFirstFlag = 1 , kSuppressViewportDraw = kFirstFlag << 0 , kDrawInvisibleEnts = kFirstFlag << 1 , kDrawLayerOff = kFirstFlag << 2 , kDrawLayerFrozen = kFirstFlag << 3 , kIgnoreFillPlane = kFirstFlag << 4 , kSelectionMode = kFirstFlag << 5 , kAttributesSegment = kFirstFlag << 6 , kXrefOverride = kFirstFlag << 7 , kLastFlag = kXrefOverride } |
typedef std::map< OdDbStub *, LayerTraitsCache > | LayerTraitsCacheMap |
typedef OdGiTraitsCache< OdGiMaterialTraitsData, OdGiMaterialTraitsTaker, OdGiMaterialTraits::kByBlock|OdGiMaterialTraits::kByLayer > | OdGiMaterialTraitsCache |
Additional Inherited Members | |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
Static Public Member Functions inherited from OdGiWorldDrawImpl | |
static OdGiContext * | dummyGiContext () |
Public Attributes inherited from OdGiBaseVectorizer | |
OdGiDrawableDesc * | m_pDrawableDesc |
OdUInt32 | m_nDrawableAttributes |
Static Protected Member Functions inherited from OdGiBaseVectorizer | |
static OdRxClass * | desc () |
Static Protected Attributes inherited from OdGiBaseVectorizer | |
static ODGI_EXPORT_STATIC const OdGiSubEntityTraitsData | g_entityTraitsDataReset |
Corresponding C++ library: TD_Gs
<group OdGs_Classes>
Definition at line 51 of file GiBaseVectorizerImpl.h.
|
protected |
Definition at line 1034 of file GiBaseVectorizerImpl.h.
|
protected |
Enumerator | |
---|---|
kFirstImplFlag | |
kSectionableGeomEnabled | |
kMultiplyLinestyleScale | |
kSkipViewSectioning | |
kHiddenImplFlag | Geometry hidden flag |
kLastImplFlag |
Definition at line 1059 of file GiBaseVectorizerImpl.h.
begin/endVectorization() needs an argument indicating a mode, but introducing such argument causes changes in all derived classes. Hence it is done by means of m_vectorizingFlags, it is set before begin/endVectorization() is called.
Enumerator | |
---|---|
kNotVectorizing | |
kVectorizing | |
kDisplaying | |
kSelecting | |
kExtentsComp |
Definition at line 824 of file GiBaseVectorizerImpl.h.
OdGiBaseVectorizerImpl::OdGiBaseVectorizerImpl | ( | ) |
Default constructor for the OdGiBaseVectorizerImpl class.
|
virtual |
Returns the ID for this vectorizer window.
Implements OdGiViewport.
|
protectedvirtual |
OdGiBaseVectorizer methods
Affects effective sub-entity traits.
pSource | [in] Source sub-entity traits data. |
destination | [in] Destination sub-entity traits data. |
Reimplemented from OdGiBaseVectorizer.
|
virtual |
Retrieves current annotationScale value of conveyor context.
Reimplemented from OdGiConveyorContext.
|
virtual |
Returns annotation scale id for the current view.
Reimplemented from OdGiViewport.
|
inline |
Returns the Aware flags for portion of geometry that had been vectorized since last call resetAwareFlags().
Value Geometry_depends_on kVpID 0x00000001 viewport Id (OdGiViewport::viewportId()). kVpRegenType 0x00000002 regeneration type (OdGiCommonDraw::regenType()). kVpRenderMode 0x00000004 render mode (OdGsView::mode()). kVpWorldToEye 0x00000008 description to come... kVpPerspective 0x00000010 description to come... kVpResolution 0x00000020 description to come... kVpMaxDevForCircle 0x00000040 description to come... kVpMaxDevForCurve 0x00000080 description to come... kVpMaxDevForBoundary 0x00000100 description to come... kVpMaxDevForIsoline 0x00000200 description to come... kVpMaxDevForFacet 0x00000400 description to come... kVpCamLocation 0x00000800 description to come... kVpCamTarget 0x00001000 description to come... kVpCamUpVector 0x00002000 description to come... kVpCamViewDir 0x00004000 description to come... kVpViewport 0x00008000 description to come... kVpFrontBack 0x00010000 description to come... kVpFrozenLayers 0x00020000 description to come... kVpLtypeScaleMult 0x00040000 description to come... kEntityRegenDraw 0x00080000 description to come... kVpDisableLayoutCache 0x00100000 description to come... kVpModelTf 0x00200000 description to come... kVpExcludeFromExtMinMax 0x00400000 description to come... kSectionable 0x00800000 description to come... kVpRenderModule 0x01000000 description to come... kVpAnnoScale 0x02000000 description to come... kVpFilterFunction 0x04000000 description to come... kVpVisualStyle 0x08000000 description to come... kVpHighlightingGeom 0x10000000 description to come...
resetAwareFlags
Definition at line 162 of file GiBaseVectorizerImpl.h.
|
inline |
Returns the Aware flags for portion of geometry that had been vectorized since last call resetAwareFlags().
Value Geometry_depends_on kVpID 0x00000001 viewport Id (OdGiViewport::viewportId()). kVpRegenType 0x00000002 regeneration type (OdGiCommonDraw::regenType()). kVpRenderMode 0x00000004 render mode (OdGsView::mode()). kVpWorldToEye 0x00000008 description to come... kVpPerspective 0x00000010 description to come... kVpResolution 0x00000020 description to come... kVpMaxDevForCircle 0x00000040 description to come... kVpMaxDevForCurve 0x00000080 description to come... kVpMaxDevForBoundary 0x00000100 description to come... kVpMaxDevForIsoline 0x00000200 description to come... kVpMaxDevForFacet 0x00000400 description to come... kVpCamLocation 0x00000800 description to come... kVpCamTarget 0x00001000 description to come... kVpCamUpVector 0x00002000 description to come... kVpCamViewDir 0x00004000 description to come... kVpViewport 0x00008000 description to come... kVpFrontBack 0x00010000 description to come... kVpFrozenLayers 0x00020000 description to come... kVpLtypeScaleMult 0x00040000 description to come... kEntityRegenDraw 0x00080000 description to come... kVpDisableLayoutCache 0x00100000 description to come... kVpModelTf 0x00200000 description to come... kVpExcludeFromExtMinMax 0x00400000 description to come... kSectionable 0x00800000 description to come... kVpRenderModule 0x01000000 description to come... kVpAnnoScale 0x02000000 description to come... kVpFilterFunction 0x04000000 description to come... kVpVisualStyle 0x08000000 description to come... kVpHighlightingGeom 0x10000000 description to come...
resetAwareFlags
Definition at line 116 of file GiBaseVectorizerImpl.h.
|
virtual |
OdGiBaseVectorizer methods
Begins the ViewVectorization process for this Vectorizer object.
Reimplemented from OdGiBaseVectorizer.
Reimplemented in OdGsBaseMaterialVectorizer, and OdGsBaseVectorizer.
void OdGiBaseVectorizerImpl::clearLinetypeCache | ( | ) |
Clears cache that is used for linetypes.
|
virtual |
Returns pointer to context-dependent colors storage.
Reimplemented from OdGiViewport.
|
inlinevirtual |
Retrieves pointer to current lineweight override.
Reimplemented from OdGiConveyorContext.
Definition at line 1296 of file GiBaseVectorizerImpl.h.
|
virtual |
OdGiCommonDraw methods
Returns the recommended maximum deviation of the current vectorization, for the specified point on the curve or surface being tesselated.
deviationType | [in] Deviation type. |
pointOnCurve | [in] Point on the curve. |
Value kOdGiMaxDevForCircle 0
kOdGiMaxDevForCurve 1
kOdGiMaxDevForBoundary 2
kOdGiMaxDevForIsoline 3 kOdGiMaxDevForFacet 4
Reimplemented from OdGiBaseVectorizer.
Reimplemented in OdGsBaseVectorizer.
|
virtual |
Applies the inverse of the current perspective transformation to the specified point.
point | [in/out] Any 3D point. |
Implements OdGiViewport.
|
virtual |
Applies the current perspective transformation to the specified point.
point | [in/out] Any 3D point. |
Implements OdGiViewport.
const OdPsPlotStyleData & OdGiBaseVectorizerImpl::effectivePlotStyle | ( | ) | const |
Returns the effective plot style for this vectorizer object.
|
virtual |
Retrieves the EntityTraitsData in effect for this Vectorization object.
Reimplemented from OdGiBaseVectorizer.
|
virtual |
Ends the ViewVectorization process for this Vectorizer object.
Reimplemented from OdGiBaseVectorizer.
Reimplemented in OdGsBaseMaterialVectorizer, and OdGsBaseVectorizer.
|
virtual |
Returns the WCS camera (eye) location for this vectorizer.
Implements OdGiViewport.
|
virtual |
Returns the WCS camera target for this vectorizer.
Implements OdGiViewport.
|
virtual |
Returns the WCS camera "up" vector for this vectorizer.
Implements OdGiViewport.
|
virtual |
Returns the transformation matrix from EyeSpace to ModelSpace for this object.
Implements OdGiViewport.
|
virtual |
Returns the transformation matrix from EyeSpace to WCS for this object.
Implements OdGiViewport.
|
virtual |
Returns the front and back clipping parameters for this vectorizer.
clipFront | [out] Receives true if and only if front clipping is enabled. |
clipBack | [out] Receives true if and only if back clipping is enabled. |
front | [out] Receives the front clipping distance. |
back | [out] Receives the back clipping distance. |
Implements OdGiViewport.
|
virtual |
OdGiViewport methods
Returns the transformation matrix from ModelSpace to EyeSpace for this object.
Implements OdGiViewport.
|
virtual |
Retrieves the block insert transform, which is the model-to-world coordinate transform.
Reimplemented from OdGiBaseVectorizer.
|
virtual |
Returns the display pixel density at the specified point for this vectorizer.
point | [in] WCS center of the unit square. |
pixelDensity | [out] Receives the pixel density. |
bUsePerspective | [in] Enable perspective inclusion into pixel density calculation. |
Implements OdGiViewport.
const ODCOLORREF * OdGiBaseVectorizerImpl::getPalette | ( | int * | pNumColors = NULL | ) | const |
Returns the logical palette of this object.
pNumColors | [out] Returns number of colors inside logical palette. |
OdGsView::RenderMode OdGiBaseVectorizerImpl::getRenderMode | ( | ) | const |
Returns the render mode for this object.
Value Description kBoundingBox -1 Bounding box. For internal use only. k2DOptimized 0 Standard display. Optimized for 2D. kWireframe 1 Standard display. Uses 3D pipeline. kHiddenLine 2 Wireframe display. Hidden lines removed. kFlatShaded 3 Faceted display. One color per face. kGouraudShaded 4 Smooth shaded display. Colors interpolated between vertices. kFlatShadedWithWireframe 5 Faceted display with wireframe overlay. kGouraudShadedWithWireframe 6 Smooth shaded display with wireframe overlay.
|
virtual |
Returns lower-left and upper-right corners of this vectorizer in normalized device Coordinates.
lowerLeft | [out] Receives the lower-left corner. |
upperRight | [out] Receives the upper-right. |
Implements OdGiViewport.
|
virtual |
Returns the transformation matrix from WCS to EyeSpace for this object.
Implements OdGiViewport.
|
virtual |
Retrieves model-to-world coordinate transform which is inverse of the retrieved matrix from the getModelToWorldTransform() method. The retrieved matrix can transform an entity's world coordinate representation back into the original model coordinates.
Reimplemented from OdGiBaseVectorizer.
|
virtual |
OdGiConveyorContext methods
Retrieves gi viewport associated with this vectorizer.
Reimplemented from OdGiBaseVectorizer.
|
virtual |
Retrieves gs view associated with this object.
Reimplemented from OdGiBaseVectorizer.
|
inline |
Checks whether this object has line style override.
Definition at line 1308 of file GiBaseVectorizerImpl.h.
|
inline |
Checks whether this object has lineweight override.
Definition at line 1303 of file GiBaseVectorizerImpl.h.
|
inline |
Checks whether this object has palette override.
Definition at line 347 of file GiBaseVectorizerImpl.h.
|
virtual |
Checks whether this vectorizer has non-empty palette overrides stack.
Reimplemented in OdGsBaseVectorizer.
|
protected |
Returns true if and only if the effective linetype generation is continuous for vectorizer object.
|
inline |
Checks whether linetypes are enabled.
Definition at line 1257 of file GiBaseVectorizerImpl.h.
|
inline |
Checks whether line style scale multiplier is enabled.
Definition at line 1313 of file GiBaseVectorizerImpl.h.
|
inlineprotected |
Returns true in case if vectorizer execute vectorization process, which is not related to graphics rendering: Extents computation or selection process.
Definition at line 1246 of file GiBaseVectorizerImpl.h.
|
virtual |
Checks whether perspective mode is turned on for this vectorizer.
Implements OdGiViewport.
|
inlineprotected |
Returns true in case if Plot Styles support enabled for this Vectorizer object.
Definition at line 1272 of file GiBaseVectorizerImpl.h.
|
virtual |
Checks whether the specified Viewport ID is a valid Viewport ID.
viewportId | [in] Viewport ID. |
Reimplemented from OdGiBaseVectorizer.
|
inline |
Checks whether view sectioning is skipped.
Definition at line 1267 of file GiBaseVectorizerImpl.h.
|
virtual |
Checks whether the specified layer is not frozen either globally or in the associated Viewport of this vectorizer.
layerId | [in] Object ID of OdLayerTableRecord. |
Reimplemented from OdGiBaseVectorizer.
|
virtual |
Returns the WCS value below which linetype generation is not used.
Reimplemented from OdGiBaseVectorizer.
|
virtual |
Returns a multiplier that is used to scale all linetypes in this vectorizer.
Implements OdGiViewport.
|
inline |
Returns the number of pixels corresponding to the specified lineweight for this view object.
lineweight | [in] Lineweight. |
Definition at line 1284 of file GiBaseVectorizerImpl.h.
|
inline |
Returns the number of pixels corresponding to the specified lineweight for this view object.
lineweight | [in] Lineweight. |
Definition at line 1277 of file GiBaseVectorizerImpl.h.
|
protected |
Returns lineweight, multiplied by active lineweight to pixels override.
lineweight | [in] Input lineweight as floating point value. |
bAbsolute | [in] If set as true, will multiply onto scale override, or onto pixel scale elsewhere. |
|
inlineprotected |
Returns lineweight, multiplied by active lineweight to pixels override.
lineweight | [in] Input lineweight value in millimeters. |
bAbsolute | [in] If set as true, will multiply onto scale override, or onto pixel scale elsewhere. |
Definition at line 1291 of file GiBaseVectorizerImpl.h.
|
protected |
Returns lineweight, multiplied by active lineweight to pixels override and converted into integer value.
lineweight | [in] Input lineweight value in millimeters. |
|
inline |
Retrieves the live section.
Definition at line 257 of file GiBaseVectorizerImpl.h.
|
virtual |
Introduces a mesh into this vectorization context.
numRows | [in] Number of rows. |
numColumns | [in] Number of columns. |
vertexList | [in] Array of vertices. |
pEdgeData | [in] Pointer to additional edge data. |
pFaceData | [in] Pointer to additional face data. |
pVertexData | [in] Pointer to additional vertex data. |
Reimplemented from OdGiBaseVectorizer.
|
inlineprotectedvirtual |
Retrieves the block insert transform, which is the model-to-world coordinate transform.
Reimplemented in OdGsBaseVectorizer.
Definition at line 857 of file GiBaseVectorizerImpl.h.
OdGeMatrix3d OdGiBaseVectorizerImpl::modelToWorldTransform | ( | ) | const |
Retrieves the transformation matrix from model space to world space.
|
virtual |
Returns the matrix that transforms coordinates from model space to screen space for this Viewport object.
Reimplemented in OdGsBaseVectorizeViewJoin< OdGsBaseMaterialViewPC >, OdGsBaseVectorizeViewJoin< OdGsBaseVectorizer >, and OdGsBaseVectorizer.
|
protected |
|
virtual |
This method can be called whenever entity traits are changed.
Reimplemented from OdGiBaseVectorizer.
Reimplemented in OdGsBaseMaterialVectorizer, and OdGsBaseVectorizer.
|
inline |
Retrieves palette color at the specified index.
colorIndex | [in] Color index. |
Definition at line 332 of file GiBaseVectorizerImpl.h.
ODCOLORREF OdGiBaseVectorizerImpl::paletteColor | ( | OdUInt16 | colorIndex | ) | const |
Retrieves palette color at the specified index.
colorIndex | [in] Index in the palette. |
|
virtual |
Pops lineweight scale and style override from lineweight overrides stack.
Reimplemented from OdGiSubEntityTraits.
|
virtual |
Pops a transformation from the stack. This method should be used after a successful pushModelTransform() method call to restore previous model transform state.
Reimplemented from OdGiBaseVectorizer.
Reimplemented in OdGsBaseVectorizer.
|
virtual |
Pop palette override from palette overrides stack.
Reimplemented from OdGiSubEntityTraits.
Reimplemented in OdGsBaseVectorizer.
|
virtual |
Pushes lineweight scale and style override into lineweight overrides stack.
pOverride | [in] New lineweight override. |
Reimplemented from OdGiSubEntityTraits.
|
virtual |
Pushes a transformation matrix onto the stack. The resulting transformation will be created by multiplying the specified transform matrix by the existing one. This allows you to easily adjust an entity coordinate system. Use the popModelTransform() to remove this transform matrix from the stack when you are finished with this transformation.
xfm | [in] Transformation matrix. |
Reimplemented from OdGiBaseVectorizer.
Reimplemented in OdGsBaseVectorizer.
|
virtual |
OdGiGeometry methods
Pushes a transformation vector onto the stack. The resulting transformation will be created by using the arbitrary axis algorithm and the specified vector. This allows you to easily adjust an entity coordinate system. Use the popModelTransform() to remove this transform vector from the stack when you are finished with this transformation.
normal | [in] Transformation matrix. |
Reimplemented from OdGiBaseVectorizer.
Reimplemented in OdGsBaseVectorizer.
|
virtual |
Push palette override into palette overrides stack.
pOverride | [in] New palette override. |
Reimplemented from OdGiSubEntityTraits.
Reimplemented in OdGsBaseVectorizer.
|
virtual |
Introduces a ray into this vectorization context.
basePoint | [in] Base point. |
throughPoint | [in] Through point |
Reimplemented from OdGiBaseVectorizer.
|
virtual |
Retrieves the regeneration type of the current vectorization process.
Value eOdGiRegenTypeInvalid 0 kOdGiStandardDisplay 2 kOdGiHideOrShadeCommand 3 kOdGiRenderCommand 4 kOdGiForExplode 5 kOdGiSaveWorldDrawForProxy 6 kOdGiForExtents 7
Reimplemented from OdGiBaseVectorizer.
|
inline |
|
virtual |
OdGiViewportDraw methods
Returns the number of viewports that have been deleted from the current database during this editing session.
Reimplemented from OdGiBaseVectorizer.
|
virtual |
OdGiWorldGeometry methods
Sets geometrical extents for this vectorizer.
newExtents | [in] New geometrical extents to set. |
Reimplemented from OdGiBaseVectorizer.
|
virtual |
OdGiSubEntityTraits methods
Sets the current fill plane.
pNormal | [in] Pointer to the normal to the plane. |
Reimplemented from OdGiSubEntityTraits.
|
virtual |
Sets the current fill type.
fillType | [in] Fill type. |
Value Description kOdGiFillAlways 1 Fill closed graphic primitives. kOdGiFillNever 2 Don't fill closed graphic primitives.
Reimplemented from OdGiBaseVectorizer.
|
inline |
Enables or disables linetypes.
bEnable | [in] Flag to enable or disable linetypes. |
Definition at line 1251 of file GiBaseVectorizerImpl.h.
void OdGiBaseVectorizerImpl::setModelSection | ( | OdGiDrawable * | pSection, |
bool | bUseSectionGeometryMap | ||
) |
Sets a model section.
pSection | [in] Pointer to the section to set. |
bUseSectionGeometryMap | [in] Flag that specifies whether to use geometry map. |
|
inline |
Specifies whether to skip view sectioning.
bEnable | [in] Flag that specifies whether to skip view sectioning. |
Definition at line 1262 of file GiBaseVectorizerImpl.h.
|
virtual |
This method is to be called when setting up the vectorizer to work on the given view.
Reimplemented in OdGsBaseVectorizer.
|
virtual |
Retrieves the set of SubEntityHints flags which can be used to provide more flexible tuning of subSetAttributes traits processing.
Reimplemented from OdGiSubEntityTraits.
|
inline |
Sets vectorization flags.
flags | [in] New palette override. |
Definition at line 843 of file GiBaseVectorizerImpl.h.
|
virtual |
Introduces a shell into this vectorization context.
numVertices | [in] Number of vertices. |
vertexList | [in] Array of vertices. |
faceListSize | [in] Number of entries in faceList. |
faceList | [in] Array of numbers that define the faces. |
pEdgeData | [in] Pointer to additional edge data. |
pFaceData | [in] Pointer to additional face data. |
pVertexData | [in] Pointer to additional vertex data. |
Reimplemented from OdGiBaseVectorizer.
|
protectedvirtual |
Updates internal flags, related to current lineweights override state.
lwdOverride | [in] Current lineweights override state. |
|
protectedvirtual |
Updates internal data, related to current palette override state. Default implementation does nothing.
pPalette | [in] Current palette override state. |
|
protected |
Returns true if and only if this VectorizeView object is configured to use a fill plane.
|
inline |
Returns a set of vectorization flags.
Definition at line 836 of file GiBaseVectorizerImpl.h.
|
inline |
Returns view associated with this vectorizer.
Definition at line 71 of file GiBaseVectorizerImpl.h.
|
virtual |
Returns the vector from the camera target to the camera location.
Implements OdGiViewport.
|
virtual |
Returns a reference to the OdGiViewport object associated with this object.
Reimplemented from OdGiBaseVectorizer.
|
virtual |
Returns the OdGi Viewport ID for this vectorizer.
Implements OdGiViewport.
|
virtual |
Returns the Object ID of the OdDbViewport object associated with this object.
Reimplemented from OdGiBaseVectorizer.
|
virtual |
Retrieves an identifier of the visual style.
Reimplemented from OdGiWorldDrawImpl.
OdGeMatrix3d OdGiBaseVectorizerImpl::worldToModelTransform | ( | ) | const |
Retrieves the transformation matrix from world space to model space.
|
virtual |
Introduces an xline into this vectorization context.
firstPoint | [in] First point. |
secondPoint | [in] Second point. |
Reimplemented from OdGiBaseVectorizer.
|
protected |
|
protected |
Definition at line 1004 of file GiBaseVectorizerImpl.h.
|
protected |
Definition at line 1003 of file GiBaseVectorizerImpl.h.
|
protected |
Definition at line 1014 of file GiBaseVectorizerImpl.h.
|
mutableprotected |
Definition at line 1032 of file GiBaseVectorizerImpl.h.
|
protected |
Definition at line 1013 of file GiBaseVectorizerImpl.h.
|
protected |
Definition at line 1011 of file GiBaseVectorizerImpl.h.
|
mutableprotected |
Definition at line 1006 of file GiBaseVectorizerImpl.h.
|
protected |
Definition at line 1012 of file GiBaseVectorizerImpl.h.
|
protected |
Definition at line 1005 of file GiBaseVectorizerImpl.h.
|
protected |
Definition at line 1009 of file GiBaseVectorizerImpl.h.
|
protected |
Definition at line 1019 of file GiBaseVectorizerImpl.h.
|
protected |
Definition at line 1017 of file GiBaseVectorizerImpl.h.
|
protected |
Definition at line 1016 of file GiBaseVectorizerImpl.h.
|
protected |
Definition at line 1015 of file GiBaseVectorizerImpl.h.
|
protected |
Definition at line 1007 of file GiBaseVectorizerImpl.h.
|
protected |
Definition at line 1008 of file GiBaseVectorizerImpl.h.
|
protected |
Definition at line 1010 of file GiBaseVectorizerImpl.h.