Rhino C++ API  8.13
Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Friends | List of all members
CDisplayPipelineAttributes Class Reference

#include <rhinoSdkDisplayPipelineAttributes.h>

Classes

class  Factory
 
class  LinearWorkflow
 Copy of IRhRdkLinearWorkflow - eventually these classes need to be combined. More...
 

Public Types

enum  ContextsForDrawToDC : unsigned int {
  ContextsForDrawToDC::kUnset = 0, ContextsForDrawToDC::kFilePreview = 1, ContextsForDrawToDC::kViewCapture = 2, ContextsForDrawToDC::kPrinting = 3,
  ContextsForDrawToDC::kUIPreview = 4, ContextsForDrawToDC::kMask = 5, ContextsForDrawToDC::kRenderOverlays = 6, ContextsForDrawToDC::kOther = 0xFFFFFFFF
}
 Extra information for DrawToDC calls... More...
 
enum  GroundPlaneUsages { GroundPlaneUsages::ByDocument, GroundPlaneUsages::Custom }
 
enum  LinearWorkflowUsages { LinearWorkflowUsages::ByDocument, LinearWorkflowUsages::Custom }
 
enum  StereoRenderContext : unsigned int { StereoRenderContext::NotApplicable = 0, StereoRenderContext::RenderingLeftEye = 1, StereoRenderContext::RenderingRightEye = 2, StereoRenderContext::RenderingBothEyes = RenderingLeftEye | RenderingRightEye }
 
enum  SubDEdgeType : int { SubDEdgeType::SmoothInterior = 0, SubDEdgeType::CreaseInterior = 1, SubDEdgeType::NonManifold = 2, SubDEdgeType::Boundary =3 }
 SubD specific attributes... More...
 

Public Member Functions

 CDisplayPipelineAttributes ()
 
 CDisplayPipelineAttributes (const CDisplayPipelineAttributes &)
 
virtual ~CDisplayPipelineAttributes ()
 
const CRhinoCacheHandleActiveCacheHandle () const
 
const std::shared_ptr< CRhinoDib > & BackgroundBitmap () const
 
const wchar_t * BackgroundBitmapName () const
 
int BackgroundStyleHelper (const CRhinoDoc &doc) const
 
int BackgroundStyleOverride () const
 -1 means do not override style. Otherwise the value from ON_3dmRenderSettings::m_background_style is used. More...
 
ON_Color BaseObjectColor () const
 Added in V8. More...
 
virtual ON_UUID ClassId () const
 Must match factory Id - CDisplayPipelineAttributes returns ON_nil_uuid. More...
 
BYTE ClipSectionUsage () const
 0 = use section styles, 1 = use attributes defined above More...
 
void ComputeMaterialHash ()
 
void CopyImplementationAttrs (const class CDisplayPipelineAttributes *attrs, const CRhinoObject *obj)
 Added in V8. More...
 
ON_SHA1_Hash CurrentMaterialHash () const
 
float CurveThicknessScale () const
 
BYTE CurveThicknessUsage () const
 0 = by object, 1 = pixel thickness More...
 
void EnableSurfaceColorWriting (bool on)
 
virtual const wchar_t * EnglishName () const
 
void GetColorFadeEffect (ON_Color &fade_color, float &fade_amount) const
 
void GetCurveAttributes (CRhCurveAttributes &attr, const CRhinoDisplayPipeline &dp) const
 
void GetDiagonalHatchEffect (float &hatch_strength, float &hatch_width) const
 
float GetDitherTransparencyEffectAmount () const
 
void GetGridAttributes (CRhinoAppGridSettings &grattr) const
 
void GetMeshWireAttributes (ON_Color colors[4], float thicknesses[4], unsigned int patterns[4]) const
 Mesh specific attributes... More...
 
int GetShadingMethod (void) const
 
int GetSkylightShadowQuality () const
 
StereoRenderContext GetStereoRenderContext () const
 
void GetSubDColorReductions (int[4]) const
 
bool GetSubDEdgeVisibility (SubDEdgeType edgeType) const
 
void GetSubDUsageIndexes (int[4]) const
 
void GetSubDWireAttributes (ON_Color colors[4], float thicknesses[4], bool applyXforms=true) const
 
bool HasColorFadeEffect () const
 
bool HasDiagonalHatchEffect () const
 
bool HasDitherTransparencyEffect () const
 
ON_UUID Id () const
 
bool IsGroundPlaneOff () const
 
void LoadProfile (const wchar_t *lpsSection, CRhinoProfileContext &)
 
void LoadProfile (const wchar_t *lpsSection, CRhinoProfileContext &, const CDisplayPipelineAttributes &Defaults)
 
virtual const wchar_t * LocalName () const
 
ON_wString Name () const
 
CRhinoDisplayPipelineNewDisplayPipeline () const
 
CDisplayPipelineAttributesNewFromThisClass () const
 
CDisplayPipelineAttributesoperator= (const CDisplayPipelineAttributes &)
 
bool operator== (const CDisplayPipelineAttributes &) const
 
const ON_ClassIdPipeline () const
 
ON_UUID PipelineId () const
 
ON_UUID RealtimeDisplayId () const
 
int RealtimeRenderPasses (void) const
 
ON_Color ReflectionAxisLineColor (void) const
 
float ReflectionAxisLineThickness (void) const
 
int ReflectionColorPercentage (void) const
 
ON_PlaneEquation ReflectionPlane (void) const
 
bool ReflectionPlaneAxisLineOn (void) const
 
ON_Color ReflectionPlaneColor (const ON_Color &) const
 
int ReflectionPlaneColorUsage (void) const
 
bool ReflectionPlaneExists (void) const
 Get the "current" reflected plane preview drawing settings... More...
 
bool ReflectionPlanePreviewOn (void) const
 
void ResetMaterialHash ()
 
void ResetReflectionPlaneSettings (void)
 turns off reflected plane preview drawing (for runtime evaluation)... More...
 
bool SaveProfile (const wchar_t *lpsSection, CRhinoProfileContext &) const
 
void SetActiveCacheHandle (CRhinoCacheHandle *cache)
 
void SetAllObjectDrawingColors (COLORREF color)
 
void SetBackgroundBitmap (const wchar_t *name)
 
void SetBackgroundBitmap (std::shared_ptr< CRhinoDib > &dib)
 
void SetBackgroundStyleOverride (int)
 
void SetClipSectionUsage (BYTE usage)
 
void SetColorFadeEffect (const ON_Color &fade_color, const float fade_amount)
 
void SetCurveThicknessScale (float scale)
 
void SetCurveThicknessUsage (BYTE usage)
 
void SetDiagonalHatchEffect (const float hatch_strength, const float hatch_width)
 
void SetDitherTransparencyEffect (const float transparency_amount)
 
void SetFromDisplayObjectAttrs (const class CDisplayObjectAttrs *attr, const CRhinoObject *obj)
 Added in V8. More...
 
void SetGridAttributes (const CRhinoAppGridSettings &grattr)
 
void SetName (const ON_wString &)
 
void SetPipeline (const ON_ClassId *)
 
void SetRealtimeDisplayId (const ON_UUID &id)
 
void SetRealtimeRenderPasses (int)
 
void SetShadingMethod (int)
 
void SetShadowIntensity (int)
 
void SetShowFlatSurfaceIsos (bool show)
 
void SetShowRealtimeRenderProgressBar (bool)
 
void SetShowTangentEdges (bool show)
 
void SetShowTangentSeams (bool show)
 
void SetSkylightShadowQuality (int iSkylightShadowQuality) const
 
void SetStereoRenderContext (StereoRenderContext stereo_render_context)
 
void SetSubDApplyPattern (SubDEdgeType edgeType, bool apply)
 
void SetSubDEdgeColor (SubDEdgeType edgeType, const ON_Color &color)
 
void SetSubDEdgeColorReduction (SubDEdgeType edgeType, int reduction)
 
void SetSubDEdgeThickness (SubDEdgeType edgeType, float thickness)
 
void SetSubDEdgeUsage (SubDEdgeType edgeType, int usage)
 
void SetSubDEdgeVisibility (bool on)
 
void SetSubDEdgeVisibility (SubDEdgeType edgeType, bool on)
 
void SetSubDReflectionAxisLineColor (const ON_Color &)
 
void SetSubDReflectionAxisLineThickness (float)
 
void SetSubDReflectionColorPercentage (int)
 
void SetSubDReflectionPlane (const ON_PlaneEquation *pe)
 
void SetSubDReflectionPlaneColor (const ON_Color &)
 
void SetSubDReflectionPlaneColorUsage (int)
 
void SetSubDThicknessScale (SubDEdgeType edgeType, float scale)
 
void SetSubDThicknessUsage (unsigned char usage)
 
void SetSubDUsageIndexes (int[4])
 
void SetSupportsCustomRenderMeshes (bool bSupports)
 
void SetSurfaceEdgeApplyPattern (bool apply)
 
void SetSurfaceEdgeThicknessScale (float scale)
 
void SetSurfaceIsoApplyPattern (bool u, bool v, bool w)
 
void SetSurfaceIsoThicknessScale (float u, float v, float w)
 
void SetSurfaceNakedEdgeApplyPattern (bool apply)
 
void SetSurfaceNakedEdgeThicknessScale (float scale)
 
void SetSurfaceNakedEdgeUseNormalEdgeThickness (bool on)
 
void SetSurfaceThicknessUsage (unsigned char usage)
 
void SetUuid (ON_UUID)
 
int ShadowIntensity (void) const
 
bool ShowFlatSurfaceIsos () const
 
bool ShowRealtimeRenderProgressBar (void) const
 
void ShowSubDReflectionPlaneAxisLine (bool show)
 
void ShowSubDReflectionPlanePreview (bool show)
 SubD Reflection plane previewing attributes... More...
 
bool ShowTangentEdges () const
 
bool ShowTangentSeams () const
 
bool SubdApplyPattern (SubDEdgeType edgeType) const
 
bool SubDApplyPattern (SubDEdgeType edgeType) const
 
ON_Color SubDEdgeColor (SubDEdgeType edgeType) const
 
int SubDEdgeColorReduction (SubDEdgeType edgeType) const
 
float SubDEdgeThickness (SubDEdgeType edgeType) const
 
int SubDEdgeUsage (SubDEdgeType edgeType) const
 
ON_Color SubDReflectionAxisLineColor (void) const
 
float SubDReflectionAxisLineThickness (void) const
 
int SubDReflectionColorPercentage (void) const
 
bool SubDReflectionPlane (ON_PlaneEquation &pe) const
 
bool SubDReflectionPlaneAxisLineOn (void) const
 
ON_Color SubDReflectionPlaneColor (void) const
 
int SubDReflectionPlaneColorUsage (void) const
 
bool SubDReflectionPlanePreviewOn (void) const
 
float SubDThicknessScale (SubDEdgeType edgeType) const
 
unsigned char SubDThicknessUsage () const
 
bool SupportsCustomRenderMeshes (void) const
 
bool SurfaceColorWriting () const
 
bool SurfaceEdgeApplyPattern () const
 
float SurfaceEdgeThicknessScale () const
 
void SurfaceIsoApplyPattern (bool *u, bool *v, bool *w) const
 
void SurfaceIsoThicknessScale (float *u, float *v, float *w) const
 
bool SurfaceNakedEdgeApplyPattern () const
 
float SurfaceNakedEdgeThicknessScale () const
 
bool SurfaceNakedEdgeUseNormalEdgeThickness () const
 
unsigned char SurfaceThicknessUsage () const
 
void UseSubDReflectionPlaneSettings (void)
 sets up reflected plane preview drawing based on the SubD's settings (this may turn it on or off at runtime) More...
 

Static Public Member Functions

static CDisplayPipelineAttributes::SubDEdgeType SubDEdgeEdgeType (const ON_SubDEdge *)
 
static CDisplayPipelineAttributes::SubDEdgeType SubDEdgeEdgeType (const ON_SubDEdgePtr *)
 

Public Attributes

COLORREF m_AmbientColor
 
bool m_bBakeTextures
 
bool m_bBlendGrid
 
BYTE m_BBoxMode
 
bool m_bCastShadows
 
bool m_bClippingClipSelected
 
bool m_bClippingShowCP
 Draw a transparent fill for selected clipping planes. More...
 
bool m_bClippingShowXEdges
 
bool m_bClippingShowXSurface
 
bool m_bCPHidden
 
bool m_bCPHidePoints
 
bool m_bCPHideSurface
 
bool m_bCPHighlight
 
bool m_bCPSingleColor
 
bool m_bCPSolidLines
 Control Polygon specific attributes... More...
 
bool m_bCullBackfaces
 
bool m_bCurveKappaHair
 
bool m_bDisableConduits
 
bool m_bDisableTransparency
 
bool m_bDrawAxes
 
bool m_bDrawGrid
 
bool m_bDrawTransGridPlane
 
bool m_bDrawWorldAxes
 
bool m_bDrawZAxis
 
bool m_bFlipGlasses
 
bool m_bGhostLockedObjects
 
bool m_bHighlightMeshes
 
bool m_bHighlightSurfaces
 
bool m_bIgnoreHighlights
 
bool m_bIsoColorsUsed
 
bool m_bIsoPatternUsed
 
bool m_bIsoThicknessUsed
 
bool m_bIsSurface
 General dynamic/runtime object drawing attributes... More...
 
bool m_bLayersFollowLockUsage
 
bool m_bLockedObjectsBehind
 
bool m_bPerPixelLighting
 
bool m_bPlaneUsesGridColor
 
bool m_bShadeSurface
 Both surface and mesh specific attributes... More...
 
bool m_bShadeVertexColors
 
BYTE m_bShadowClippingUsage
 First nibble (0..15) = types of clipping, Second nibble (0x10 .. 0x80) = mask for when to clip. More...
 
bool m_bShowAnnotations
 
bool m_bShowClippingPlanes
 Custom clippling plane attributes. More...
 
bool m_bShowCurves
 Curves specific attributes... More...
 
bool m_bShowDecals
 
bool m_bShowEdgeEndpoints
 
bool m_bShowEdges
 brep edge info (not used for mesh or SubD objects) More...
 
bool m_bShowGridOnTop
 
bool m_bShowGrips
 
bool m_bShowIsocurves
 iso's... More...
 
bool m_bShowLights
 Lights & Lighting specific attributes... More...
 
bool m_bShowMeshEdges
 polygon mesh and SubD edge info More...
 
bool m_bShowMeshNakedEdges
 "Naked" means boundary edges More...
 
bool m_bShowMeshNonmanifoldEdges
 "Nonmanifold means 3 or more faces meet at the edge More...
 
bool m_bShowMeshVertices
 
bool m_bShowMeshWires
 
bool m_bShowNakedEdges
 
bool m_bShowNonmanifoldEdges
 
bool m_bShowPointClouds
 PointClouds specific attributes... More...
 
bool m_bShowPoints
 Points specific attributes... More...
 
bool m_bShowText
 Dimensions & Text specific attributes... More...
 
bool m_bShowTransGrid
 
bool m_bSingleCurveColor
 
bool m_bSingleIsoColor
 
bool m_bSingleMeshWireColor
 
bool m_bSingleWireColor
 
bool m_bSurfaceKappaHair
 Surface specific attributes... More...
 
bool m_bUseDefaultBackface
 
bool m_bUseDocumentGrid
 
bool m_bUseHiddenLights
 
bool m_bUseLightColor
 
bool m_bUseObjectBFMaterial
 
bool m_bUseObjectMaterial
 
bool m_bXrayAllObjects
 General display overrides... More...
 
COLORREF m_ClippingCPColor
 
COLORREF m_ClippingEdgeColor
 
COLORREF m_ClippingSurfaceColor
 
enum CDisplayPipelineAttributes::ContextsForDrawToDC m_contextDrawToDC
 
ON_Color m_CPColor
 
ON_UUID m_CurrentObjectId
 
COLORREF m_CurveColor
 
struct {
   double   altitude = 0.0
 
   bool   automaticAltitude = true
 
   bool   on = true
 
   bool   shadowOnly = true
 
m_customGroundPlaneSettings
 
class RHINO_SDK_CLASS CDisplayPipelineAttributes::LinearWorkflow m_customLinearWorkflowSettings
 
double m_dHorzScale
 
COLORREF m_DotBorderColor
 
COLORREF m_DotTextColor
 
float m_dpi_scale_override = -1
 View specific attributes... More...
 
double m_dVertScale
 
ERhinoPointStyle m_eCVStyle
 
COLORREF m_EdgeColor
 brep edge info (not used for mesh or SubD objects) More...
 
EFrameBufferFillMode m_eFillMode
 Frame background settings... More...
 
ELightingScheme m_eLightingScheme
 
RhinoLineCapStyle m_eLineEndCapStyle
 
RhinoLineJoinStyle m_eLineJoinStyle
 
ERhinoPointStyle m_ePCGripStyle
 
ERhinoPointStyle m_ePCStyle
 
ERhinoPointStyle m_ePointStyle
 
int m_eShadowMapType
 
double m_fShadowBlur
 
float m_fShadowClippingRadius
 
float m_fStereoParallax
 
float m_fStereoSeparation
 
ON_Color m_GradBotLeft
 
ON_Color m_GradBotRight
 
ON_Color m_GradTopLeft
 
ON_Color m_GradTopRight
 
COLORREF m_GridPlaneColor
 
enum CDisplayPipelineAttributes::GroundPlaneUsages m_groundPlaneUsage
 
int m_IsHighlighted
 
COLORREF m_IsoColor
 
COLORREF m_IsoUColor
 
COLORREF m_IsoVColor
 
COLORREF m_IsoWColor
 
ON_ObjectArray< ON_Lightm_Lights
 
enum CDisplayPipelineAttributes::LinearWorkflowUsages m_linearWorkflowUsage
 
COLORREF m_LockedColor
 
COLORREF m_MeshEdgeColor
 here "Edge" means "break" or "crease" edges More...
 
COLORREF m_MeshNakedEdgeColor
 
COLORREF m_MeshNonmanifoldEdgeColor
 
COLORREF m_MeshWireColor
 
int m_nAGColorMode
 
int m_nAGViewingMode
 
COLORREF m_NakedEdgeColor
 
int m_nAxesPercentage
 
BYTE m_nClippingCPTrans
 0 = opaque ... 100 = transparent More...
 
BYTE m_nClippingCPUsage
 0 = clipping plane's color, 1 = clipping plane's material, 2 = solid color More...
 
BYTE m_nClippingEdgesUsage
 0 = clipping plane's color setting, 1 = solid color, 2 = object color setting More...
 
BYTE m_nClippingEdgeThickness
 
BYTE m_nClippingSurfaceUsage
 0 = object color settings, 1 = display mode backface settings, 2 = clipping plane's color, 3 = solid color More...
 
int m_nCPWireThickness
 
UINT m_nCurvePattern
 
int m_nCurveThickness
 
int m_nCurveTrans
 
int m_nCVSize
 
int m_nEdgeColorReduction
 
int m_nEdgeColorUsage
 
UINT m_nEdgePattern
 
int m_nEdgeThickness
 
int m_nGridPlaneTrans
 
int m_nGridTrans
 
UINT m_nIsocurvePattern
 
int m_nIsocurveThickness
 not used More...
 
UINT m_nIsoUPattern
 
int m_nIsoUThickness
 
UINT m_nIsoVPattern
 
int m_nIsoVThickness
 
UINT m_nIsoWPattern
 
int m_nIsoWThickness
 
UINT m_nLinePattern
 
int m_nLineThickness
 
int m_nLockedTrans
 
int m_nLockedUsage
 Object locking attributes.... More...
 
int m_nLuminosity
 
int m_nMeshEdgeColorReduction
 here "Edge" means "break" or "crease" edges More...
 
int m_nMeshEdgeThickness
 here "Edge" means "break" or "crease" edges More...
 
int m_nMeshNakedEdgeColorReduction
 
int m_nMeshNakedEdgeThickness
 
int m_nMeshNonmanifoldEdgeColorReduction
 
int m_nMeshNonmanifoldEdgeThickness
 polygon mesh and SubD non-manifold specific More...
 
int m_nMeshVertexSize
 
UINT m_nMeshWirePattern
 
int m_nMeshWireThickness
 
int m_nNakedEdgeColorReduction
 
int m_nNakedEdgeColorUsage
 
int m_nNakedEdgeOverride
 not used More...
 
UINT m_nNakedEdgePattern
 
int m_nNakedEdgeThickness
 
UINT m_nNonmanifoldEdgePattern
 brep edge non-manifold specific (not used for mesh or SubD objects) More...
 
int m_nNumSamples
 
COLORREF m_NonmanifoldEdgeColor
 
int m_nPCGripSize
 
int m_nPCSize
 
int m_nPlaneVisibility
 
int m_nPointSize
 
BYTE m_nShadingEffectsUsage
 Specialized shading effects... More...
 
BYTE m_nShadowBitDepth
 
int m_nShadowMapSize
 
int m_nStereoModeEnabled
 Stereo mode settings... More...
 
COLORREF m_nTCColor
 Crease lines. More...
 
int m_nTCThickness
 Crease lines. More...
 
UINT m_nTechMask
 Technical mode(s) settings... More...
 
UINT m_nTechUMask
 
COLORREF m_nTEColor
 Edge lines. More...
 
int m_nTEThickness
 Edge lines. More...
 
COLORREF m_nTHColor
 Hidden lines. More...
 
int m_nTHThickness
 Hidden lines. More...
 
COLORREF m_nTIColor
 Intersection lines. More...
 
int m_nTIThickness
 Intersection lines. More...
 
BYTE m_nTransparencyTolerance
 
COLORREF m_nTSColor
 Seam lines. More...
 
COLORREF m_nTSiColor
 Silhouette lines. More...
 
int m_nTSiThickness
 Silhouette lines. More...
 
int m_nTSThickness
 Seam lines. More...
 
int m_nWorldAxesColor
 
COLORREF m_ObjectColor
 
const CRhinoObjectIteratorm_pIteratorOverride
 
CDisplayPipelineMaterialm_pMaterial
 Runtime material used by all mesh drawing (shaded and/or rendered) More...
 
int m_SEPL_Rotation
 ShadedEffectParallelLine-Rotation. More...
 
BYTE m_SEPL_Separation
 ShadedEffectParallelLine-Separation. More...
 
BYTE m_SEPL_Width
 ShadedEffectParallelLine-Width. More...
 
ON_3dVector m_ShadowBias
 
COLORREF m_ShadowColor
 
ON_Color m_SolidColor
 
COLORREF m_WireColor
 
COLORREF m_WxColor
 
COLORREF m_WyColor
 
COLORREF m_WzColor
 

Protected Member Functions

virtual void Defaults ()
 

Friends

class CDisplayAttrsPage
 
class CRhDisplayPipelineAttributesPrivate
 
class CRhinoDisplayAttrsMgr
 
class CRhinoDisplayPipeline
 
class CShadowsAttributesPage
 
class DisplayAttrsMgrList
 
class DisplayAttrsMgrListDesc
 

Member Enumeration Documentation

◆ ContextsForDrawToDC

Extra information for DrawToDC calls...

Enumerator
kUnset 

CRhinoDisplayPipeline::DrawToDC will ASSERT if called with this value. Proceed your call with one of the values below.

kFilePreview 

called from GetPreviewBitmap

kViewCapture 

ViewCaptureToFile or ViewCaptureToClipboard.

kPrinting 

Printing.

kUIPreview 

Used by various dialogs to draw the document into a bitmap.

kMask 
kRenderOverlays 
kOther 

3rd party call

◆ GroundPlaneUsages

Enumerator
ByDocument 
Custom 

◆ LinearWorkflowUsages

Enumerator
ByDocument 
Custom 

◆ StereoRenderContext

Enumerator
NotApplicable 
RenderingLeftEye 
RenderingRightEye 
RenderingBothEyes 

◆ SubDEdgeType

SubD specific attributes...

Enumerator
SmoothInterior 
CreaseInterior 
NonManifold 
Boundary 

Constructor & Destructor Documentation

◆ CDisplayPipelineAttributes() [1/2]

CDisplayPipelineAttributes::CDisplayPipelineAttributes ( )

◆ CDisplayPipelineAttributes() [2/2]

CDisplayPipelineAttributes::CDisplayPipelineAttributes ( const CDisplayPipelineAttributes )

◆ ~CDisplayPipelineAttributes()

virtual CDisplayPipelineAttributes::~CDisplayPipelineAttributes ( )
virtual

Member Function Documentation

◆ ActiveCacheHandle()

const CRhinoCacheHandle* CDisplayPipelineAttributes::ActiveCacheHandle ( ) const

◆ BackgroundBitmap()

const std::shared_ptr<CRhinoDib>& CDisplayPipelineAttributes::BackgroundBitmap ( ) const

◆ BackgroundBitmapName()

const wchar_t* CDisplayPipelineAttributes::BackgroundBitmapName ( ) const

◆ BackgroundStyleHelper()

int CDisplayPipelineAttributes::BackgroundStyleHelper ( const CRhinoDoc doc) const

◆ BackgroundStyleOverride()

int CDisplayPipelineAttributes::BackgroundStyleOverride ( ) const

-1 means do not override style. Otherwise the value from ON_3dmRenderSettings::m_background_style is used.

◆ BaseObjectColor()

ON_Color CDisplayPipelineAttributes::BaseObjectColor ( ) const

Added in V8.

◆ ClassId()

virtual ON_UUID CDisplayPipelineAttributes::ClassId ( ) const
virtual

Must match factory Id - CDisplayPipelineAttributes returns ON_nil_uuid.

◆ ClipSectionUsage()

BYTE CDisplayPipelineAttributes::ClipSectionUsage ( ) const

0 = use section styles, 1 = use attributes defined above

◆ ComputeMaterialHash()

void CDisplayPipelineAttributes::ComputeMaterialHash ( )

◆ CopyImplementationAttrs()

void CDisplayPipelineAttributes::CopyImplementationAttrs ( const class CDisplayPipelineAttributes attrs,
const CRhinoObject obj 
)

Added in V8.

◆ CurrentMaterialHash()

ON_SHA1_Hash CDisplayPipelineAttributes::CurrentMaterialHash ( ) const

◆ CurveThicknessScale()

float CDisplayPipelineAttributes::CurveThicknessScale ( ) const

◆ CurveThicknessUsage()

BYTE CDisplayPipelineAttributes::CurveThicknessUsage ( ) const

0 = by object, 1 = pixel thickness

◆ Defaults()

virtual void CDisplayPipelineAttributes::Defaults ( )
protectedvirtual

◆ EnableSurfaceColorWriting()

void CDisplayPipelineAttributes::EnableSurfaceColorWriting ( bool  on)

◆ EnglishName()

virtual const wchar_t* CDisplayPipelineAttributes::EnglishName ( ) const
virtual

◆ GetColorFadeEffect()

void CDisplayPipelineAttributes::GetColorFadeEffect ( ON_Color fade_color,
float &  fade_amount 
) const

Description: Get the current color fade effect data. Parameters: fade_color: [out] the current fade color. fade_amount: [out] the current fade amount.

◆ GetCurveAttributes()

void CDisplayPipelineAttributes::GetCurveAttributes ( CRhCurveAttributes attr,
const CRhinoDisplayPipeline dp 
) const

◆ GetDiagonalHatchEffect()

void CDisplayPipelineAttributes::GetDiagonalHatchEffect ( float &  hatch_strength,
float &  hatch_width 
) const

Description: Get the current diagonal hatch strength and width in pixels. Parameters: hatch_strength: [out] the strength of the hatch effect. hatch_width: [out] the diagonal hatch width in pixels.

◆ GetDitherTransparencyEffectAmount()

float CDisplayPipelineAttributes::GetDitherTransparencyEffectAmount ( ) const

Description: Get the current dither transparency amount. Returns: The transparency amount.

◆ GetGridAttributes()

void CDisplayPipelineAttributes::GetGridAttributes ( CRhinoAppGridSettings grattr) const

◆ GetMeshWireAttributes()

void CDisplayPipelineAttributes::GetMeshWireAttributes ( ON_Color  colors[4],
float  thicknesses[4],
unsigned int  patterns[4] 
) const

Mesh specific attributes...

[0] == non-manifold wires (3 or more faces attach to the edge) [1] == crease wires (2 faces attach to a crease or break edge) [2] == manifold wires (2 faces attach to a smooth edge) [3] == naked edge wires (boundary edge - 1 face)

◆ GetShadingMethod()

int CDisplayPipelineAttributes::GetShadingMethod ( void  ) const

◆ GetSkylightShadowQuality()

int CDisplayPipelineAttributes::GetSkylightShadowQuality ( ) const

◆ GetStereoRenderContext()

StereoRenderContext CDisplayPipelineAttributes::GetStereoRenderContext ( ) const

◆ GetSubDColorReductions()

void CDisplayPipelineAttributes::GetSubDColorReductions ( int  [4]) const

◆ GetSubDEdgeVisibility()

bool CDisplayPipelineAttributes::GetSubDEdgeVisibility ( SubDEdgeType  edgeType) const

◆ GetSubDUsageIndexes()

void CDisplayPipelineAttributes::GetSubDUsageIndexes ( int  [4]) const

◆ GetSubDWireAttributes()

void CDisplayPipelineAttributes::GetSubDWireAttributes ( ON_Color  colors[4],
float  thicknesses[4],
bool  applyXforms = true 
) const

◆ HasColorFadeEffect()

bool CDisplayPipelineAttributes::HasColorFadeEffect ( ) const

Description: Returns TRUE if there is a color fade effect enabled with a color fade effect amount larger than 0.0, FALSE otherwise.

◆ HasDiagonalHatchEffect()

bool CDisplayPipelineAttributes::HasDiagonalHatchEffect ( ) const

Description: Returns TRUE if there is a diagonal hatch effect enabled with a hatch strength larger than 0.0, FALSE otherwise.

◆ HasDitherTransparencyEffect()

bool CDisplayPipelineAttributes::HasDitherTransparencyEffect ( ) const

Description: Returns TRUE if there is a dither transparency effect enabled with a transparency amount larger than 0.0, FALSE otherwise.

◆ Id()

ON_UUID CDisplayPipelineAttributes::Id ( ) const

general class object attributes...

◆ IsGroundPlaneOff()

bool CDisplayPipelineAttributes::IsGroundPlaneOff ( ) const

◆ LoadProfile() [1/2]

void CDisplayPipelineAttributes::LoadProfile ( const wchar_t *  lpsSection,
CRhinoProfileContext  
)

◆ LoadProfile() [2/2]

void CDisplayPipelineAttributes::LoadProfile ( const wchar_t *  lpsSection,
CRhinoProfileContext ,
const CDisplayPipelineAttributes Defaults 
)

◆ LocalName()

virtual const wchar_t* CDisplayPipelineAttributes::LocalName ( ) const
virtual

◆ Name()

ON_wString CDisplayPipelineAttributes::Name ( ) const

◆ NewDisplayPipeline()

CRhinoDisplayPipeline* CDisplayPipelineAttributes::NewDisplayPipeline ( ) const

◆ NewFromThisClass()

CDisplayPipelineAttributes* CDisplayPipelineAttributes::NewFromThisClass ( ) const

◆ operator=()

CDisplayPipelineAttributes& CDisplayPipelineAttributes::operator= ( const CDisplayPipelineAttributes )

◆ operator==()

bool CDisplayPipelineAttributes::operator== ( const CDisplayPipelineAttributes ) const

◆ Pipeline()

const ON_ClassId* CDisplayPipelineAttributes::Pipeline ( ) const

◆ PipelineId()

ON_UUID CDisplayPipelineAttributes::PipelineId ( ) const

◆ RealtimeDisplayId()

ON_UUID CDisplayPipelineAttributes::RealtimeDisplayId ( ) const

◆ RealtimeRenderPasses()

int CDisplayPipelineAttributes::RealtimeRenderPasses ( void  ) const

◆ ReflectionAxisLineColor()

ON_Color CDisplayPipelineAttributes::ReflectionAxisLineColor ( void  ) const

◆ ReflectionAxisLineThickness()

float CDisplayPipelineAttributes::ReflectionAxisLineThickness ( void  ) const

◆ ReflectionColorPercentage()

int CDisplayPipelineAttributes::ReflectionColorPercentage ( void  ) const

◆ ReflectionPlane()

ON_PlaneEquation CDisplayPipelineAttributes::ReflectionPlane ( void  ) const

◆ ReflectionPlaneAxisLineOn()

bool CDisplayPipelineAttributes::ReflectionPlaneAxisLineOn ( void  ) const

◆ ReflectionPlaneColor()

ON_Color CDisplayPipelineAttributes::ReflectionPlaneColor ( const ON_Color ) const

◆ ReflectionPlaneColorUsage()

int CDisplayPipelineAttributes::ReflectionPlaneColorUsage ( void  ) const

◆ ReflectionPlaneExists()

bool CDisplayPipelineAttributes::ReflectionPlaneExists ( void  ) const

Get the "current" reflected plane preview drawing settings...

◆ ReflectionPlanePreviewOn()

bool CDisplayPipelineAttributes::ReflectionPlanePreviewOn ( void  ) const

◆ ResetMaterialHash()

void CDisplayPipelineAttributes::ResetMaterialHash ( )

◆ ResetReflectionPlaneSettings()

void CDisplayPipelineAttributes::ResetReflectionPlaneSettings ( void  )

turns off reflected plane preview drawing (for runtime evaluation)...

◆ SaveProfile()

bool CDisplayPipelineAttributes::SaveProfile ( const wchar_t *  lpsSection,
CRhinoProfileContext  
) const

◆ SetActiveCacheHandle()

void CDisplayPipelineAttributes::SetActiveCacheHandle ( CRhinoCacheHandle cache)

◆ SetAllObjectDrawingColors()

void CDisplayPipelineAttributes::SetAllObjectDrawingColors ( COLORREF  color)

Description: Every now and then you want to draw lots of different objects using the same color. This function sets all object drawing colors to color. Examples include the "grey" shadows drawn in dynamic transformation commands and printing everything black. Parameters: color - [in]

◆ SetBackgroundBitmap() [1/2]

void CDisplayPipelineAttributes::SetBackgroundBitmap ( const wchar_t *  name)

◆ SetBackgroundBitmap() [2/2]

void CDisplayPipelineAttributes::SetBackgroundBitmap ( std::shared_ptr< CRhinoDib > &  dib)

◆ SetBackgroundStyleOverride()

void CDisplayPipelineAttributes::SetBackgroundStyleOverride ( int  )

◆ SetClipSectionUsage()

void CDisplayPipelineAttributes::SetClipSectionUsage ( BYTE  usage)

◆ SetColorFadeEffect()

void CDisplayPipelineAttributes::SetColorFadeEffect ( const ON_Color fade_color,
const float  fade_amount 
)

Description: Set a color fade effect to make objects fade a given amount towards a given color. Parameters: fade_color: [in] the color to fade towards. fade_amount: [in] the amount of fade towards the given color (0..1).

◆ SetCurveThicknessScale()

void CDisplayPipelineAttributes::SetCurveThicknessScale ( float  scale)

◆ SetCurveThicknessUsage()

void CDisplayPipelineAttributes::SetCurveThicknessUsage ( BYTE  usage)

◆ SetDiagonalHatchEffect()

void CDisplayPipelineAttributes::SetDiagonalHatchEffect ( const float  hatch_strength,
const float  hatch_width 
)

Description: Set a diagonal hatch effect to make objects render with diagonal hatch with a given strength and width in pixels. The effect works by brightening and darkening pixels in a diagonal pattern. Parameters: hatch_strength: [in] the strength of the hatch effect (0..1). hatch_width: [in] the width of the diagonal hatch in pixels (>= 0).

◆ SetDitherTransparencyEffect()

void CDisplayPipelineAttributes::SetDitherTransparencyEffect ( const float  transparency_amount)

Description: Set a dither transparency effect to make objects render with a given amount of transparency using a dither effect. Parameters: transparency_amount: [in] the amount of transparency (0..1).

◆ SetFromDisplayObjectAttrs()

void CDisplayPipelineAttributes::SetFromDisplayObjectAttrs ( const class CDisplayObjectAttrs *  attr,
const CRhinoObject obj 
)

Added in V8.

◆ SetGridAttributes()

void CDisplayPipelineAttributes::SetGridAttributes ( const CRhinoAppGridSettings grattr)

◆ SetName()

void CDisplayPipelineAttributes::SetName ( const ON_wString )

◆ SetPipeline()

void CDisplayPipelineAttributes::SetPipeline ( const ON_ClassId )

◆ SetRealtimeDisplayId()

void CDisplayPipelineAttributes::SetRealtimeDisplayId ( const ON_UUID id)

◆ SetRealtimeRenderPasses()

void CDisplayPipelineAttributes::SetRealtimeRenderPasses ( int  )

◆ SetShadingMethod()

void CDisplayPipelineAttributes::SetShadingMethod ( int  )

◆ SetShadowIntensity()

void CDisplayPipelineAttributes::SetShadowIntensity ( int  )

◆ SetShowFlatSurfaceIsos()

void CDisplayPipelineAttributes::SetShowFlatSurfaceIsos ( bool  show)

◆ SetShowRealtimeRenderProgressBar()

void CDisplayPipelineAttributes::SetShowRealtimeRenderProgressBar ( bool  )

◆ SetShowTangentEdges()

void CDisplayPipelineAttributes::SetShowTangentEdges ( bool  show)

◆ SetShowTangentSeams()

void CDisplayPipelineAttributes::SetShowTangentSeams ( bool  show)

◆ SetSkylightShadowQuality()

void CDisplayPipelineAttributes::SetSkylightShadowQuality ( int  iSkylightShadowQuality) const

◆ SetStereoRenderContext()

void CDisplayPipelineAttributes::SetStereoRenderContext ( StereoRenderContext  stereo_render_context)

◆ SetSubDApplyPattern()

void CDisplayPipelineAttributes::SetSubDApplyPattern ( SubDEdgeType  edgeType,
bool  apply 
)

◆ SetSubDEdgeColor()

void CDisplayPipelineAttributes::SetSubDEdgeColor ( SubDEdgeType  edgeType,
const ON_Color color 
)

◆ SetSubDEdgeColorReduction()

void CDisplayPipelineAttributes::SetSubDEdgeColorReduction ( SubDEdgeType  edgeType,
int  reduction 
)

◆ SetSubDEdgeThickness()

void CDisplayPipelineAttributes::SetSubDEdgeThickness ( SubDEdgeType  edgeType,
float  thickness 
)

◆ SetSubDEdgeUsage()

void CDisplayPipelineAttributes::SetSubDEdgeUsage ( SubDEdgeType  edgeType,
int  usage 
)

◆ SetSubDEdgeVisibility() [1/2]

void CDisplayPipelineAttributes::SetSubDEdgeVisibility ( bool  on)

◆ SetSubDEdgeVisibility() [2/2]

void CDisplayPipelineAttributes::SetSubDEdgeVisibility ( SubDEdgeType  edgeType,
bool  on 
)

◆ SetSubDReflectionAxisLineColor()

void CDisplayPipelineAttributes::SetSubDReflectionAxisLineColor ( const ON_Color )

◆ SetSubDReflectionAxisLineThickness()

void CDisplayPipelineAttributes::SetSubDReflectionAxisLineThickness ( float  )

◆ SetSubDReflectionColorPercentage()

void CDisplayPipelineAttributes::SetSubDReflectionColorPercentage ( int  )

◆ SetSubDReflectionPlane()

void CDisplayPipelineAttributes::SetSubDReflectionPlane ( const ON_PlaneEquation pe)

◆ SetSubDReflectionPlaneColor()

void CDisplayPipelineAttributes::SetSubDReflectionPlaneColor ( const ON_Color )

◆ SetSubDReflectionPlaneColorUsage()

void CDisplayPipelineAttributes::SetSubDReflectionPlaneColorUsage ( int  )

◆ SetSubDThicknessScale()

void CDisplayPipelineAttributes::SetSubDThicknessScale ( SubDEdgeType  edgeType,
float  scale 
)

◆ SetSubDThicknessUsage()

void CDisplayPipelineAttributes::SetSubDThicknessUsage ( unsigned char  usage)

◆ SetSubDUsageIndexes()

void CDisplayPipelineAttributes::SetSubDUsageIndexes ( int  [4])

◆ SetSupportsCustomRenderMeshes()

void CDisplayPipelineAttributes::SetSupportsCustomRenderMeshes ( bool  bSupports)

◆ SetSurfaceEdgeApplyPattern()

void CDisplayPipelineAttributes::SetSurfaceEdgeApplyPattern ( bool  apply)

◆ SetSurfaceEdgeThicknessScale()

void CDisplayPipelineAttributes::SetSurfaceEdgeThicknessScale ( float  scale)

◆ SetSurfaceIsoApplyPattern()

void CDisplayPipelineAttributes::SetSurfaceIsoApplyPattern ( bool  u,
bool  v,
bool  w 
)

◆ SetSurfaceIsoThicknessScale()

void CDisplayPipelineAttributes::SetSurfaceIsoThicknessScale ( float  u,
float  v,
float  w 
)

◆ SetSurfaceNakedEdgeApplyPattern()

void CDisplayPipelineAttributes::SetSurfaceNakedEdgeApplyPattern ( bool  apply)

◆ SetSurfaceNakedEdgeThicknessScale()

void CDisplayPipelineAttributes::SetSurfaceNakedEdgeThicknessScale ( float  scale)

◆ SetSurfaceNakedEdgeUseNormalEdgeThickness()

void CDisplayPipelineAttributes::SetSurfaceNakedEdgeUseNormalEdgeThickness ( bool  on)

◆ SetSurfaceThicknessUsage()

void CDisplayPipelineAttributes::SetSurfaceThicknessUsage ( unsigned char  usage)

◆ SetUuid()

void CDisplayPipelineAttributes::SetUuid ( ON_UUID  )

◆ ShadowIntensity()

int CDisplayPipelineAttributes::ShadowIntensity ( void  ) const

◆ ShowFlatSurfaceIsos()

bool CDisplayPipelineAttributes::ShowFlatSurfaceIsos ( ) const

◆ ShowRealtimeRenderProgressBar()

bool CDisplayPipelineAttributes::ShowRealtimeRenderProgressBar ( void  ) const

◆ ShowSubDReflectionPlaneAxisLine()

void CDisplayPipelineAttributes::ShowSubDReflectionPlaneAxisLine ( bool  show)

◆ ShowSubDReflectionPlanePreview()

void CDisplayPipelineAttributes::ShowSubDReflectionPlanePreview ( bool  show)

SubD Reflection plane previewing attributes...

◆ ShowTangentEdges()

bool CDisplayPipelineAttributes::ShowTangentEdges ( ) const

◆ ShowTangentSeams()

bool CDisplayPipelineAttributes::ShowTangentSeams ( ) const

◆ SubdApplyPattern()

bool CDisplayPipelineAttributes::SubdApplyPattern ( SubDEdgeType  edgeType) const

◆ SubDApplyPattern()

bool CDisplayPipelineAttributes::SubDApplyPattern ( SubDEdgeType  edgeType) const

◆ SubDEdgeColor()

ON_Color CDisplayPipelineAttributes::SubDEdgeColor ( SubDEdgeType  edgeType) const

◆ SubDEdgeColorReduction()

int CDisplayPipelineAttributes::SubDEdgeColorReduction ( SubDEdgeType  edgeType) const

◆ SubDEdgeEdgeType() [1/2]

static CDisplayPipelineAttributes::SubDEdgeType CDisplayPipelineAttributes::SubDEdgeEdgeType ( const ON_SubDEdge )
static

◆ SubDEdgeEdgeType() [2/2]

static CDisplayPipelineAttributes::SubDEdgeType CDisplayPipelineAttributes::SubDEdgeEdgeType ( const ON_SubDEdgePtr )
static

[0] == smooth interior [1] == crease interior [2] == non-manifold [3] == boundary

◆ SubDEdgeThickness()

float CDisplayPipelineAttributes::SubDEdgeThickness ( SubDEdgeType  edgeType) const

◆ SubDEdgeUsage()

int CDisplayPipelineAttributes::SubDEdgeUsage ( SubDEdgeType  edgeType) const

◆ SubDReflectionAxisLineColor()

ON_Color CDisplayPipelineAttributes::SubDReflectionAxisLineColor ( void  ) const

◆ SubDReflectionAxisLineThickness()

float CDisplayPipelineAttributes::SubDReflectionAxisLineThickness ( void  ) const

◆ SubDReflectionColorPercentage()

int CDisplayPipelineAttributes::SubDReflectionColorPercentage ( void  ) const

◆ SubDReflectionPlane()

bool CDisplayPipelineAttributes::SubDReflectionPlane ( ON_PlaneEquation pe) const

◆ SubDReflectionPlaneAxisLineOn()

bool CDisplayPipelineAttributes::SubDReflectionPlaneAxisLineOn ( void  ) const

◆ SubDReflectionPlaneColor()

ON_Color CDisplayPipelineAttributes::SubDReflectionPlaneColor ( void  ) const

◆ SubDReflectionPlaneColorUsage()

int CDisplayPipelineAttributes::SubDReflectionPlaneColorUsage ( void  ) const

◆ SubDReflectionPlanePreviewOn()

bool CDisplayPipelineAttributes::SubDReflectionPlanePreviewOn ( void  ) const

◆ SubDThicknessScale()

float CDisplayPipelineAttributes::SubDThicknessScale ( SubDEdgeType  edgeType) const

◆ SubDThicknessUsage()

unsigned char CDisplayPipelineAttributes::SubDThicknessUsage ( ) const

◆ SupportsCustomRenderMeshes()

bool CDisplayPipelineAttributes::SupportsCustomRenderMeshes ( void  ) const

◆ SurfaceColorWriting()

bool CDisplayPipelineAttributes::SurfaceColorWriting ( ) const

◆ SurfaceEdgeApplyPattern()

bool CDisplayPipelineAttributes::SurfaceEdgeApplyPattern ( ) const

◆ SurfaceEdgeThicknessScale()

float CDisplayPipelineAttributes::SurfaceEdgeThicknessScale ( ) const

◆ SurfaceIsoApplyPattern()

void CDisplayPipelineAttributes::SurfaceIsoApplyPattern ( bool *  u,
bool *  v,
bool *  w 
) const

◆ SurfaceIsoThicknessScale()

void CDisplayPipelineAttributes::SurfaceIsoThicknessScale ( float *  u,
float *  v,
float *  w 
) const

◆ SurfaceNakedEdgeApplyPattern()

bool CDisplayPipelineAttributes::SurfaceNakedEdgeApplyPattern ( ) const

◆ SurfaceNakedEdgeThicknessScale()

float CDisplayPipelineAttributes::SurfaceNakedEdgeThicknessScale ( ) const

◆ SurfaceNakedEdgeUseNormalEdgeThickness()

bool CDisplayPipelineAttributes::SurfaceNakedEdgeUseNormalEdgeThickness ( ) const

◆ SurfaceThicknessUsage()

unsigned char CDisplayPipelineAttributes::SurfaceThicknessUsage ( ) const

◆ UseSubDReflectionPlaneSettings()

void CDisplayPipelineAttributes::UseSubDReflectionPlaneSettings ( void  )

sets up reflected plane preview drawing based on the SubD's settings (this may turn it on or off at runtime)

Friends And Related Function Documentation

◆ CDisplayAttrsPage

friend class CDisplayAttrsPage
friend

◆ CRhDisplayPipelineAttributesPrivate

friend class CRhDisplayPipelineAttributesPrivate
friend

◆ CRhinoDisplayAttrsMgr

friend class CRhinoDisplayAttrsMgr
friend

◆ CRhinoDisplayPipeline

friend class CRhinoDisplayPipeline
friend

◆ CShadowsAttributesPage

friend class CShadowsAttributesPage
friend

◆ DisplayAttrsMgrList

friend class DisplayAttrsMgrList
friend

◆ DisplayAttrsMgrListDesc

friend class DisplayAttrsMgrListDesc
friend

Member Data Documentation

◆ altitude

double CDisplayPipelineAttributes::altitude = 0.0

◆ automaticAltitude

bool CDisplayPipelineAttributes::automaticAltitude = true

◆ m_AmbientColor

COLORREF CDisplayPipelineAttributes::m_AmbientColor

◆ m_bBakeTextures

bool CDisplayPipelineAttributes::m_bBakeTextures

◆ m_bBlendGrid

bool CDisplayPipelineAttributes::m_bBlendGrid

◆ m_BBoxMode

BYTE CDisplayPipelineAttributes::m_BBoxMode

◆ m_bCastShadows

bool CDisplayPipelineAttributes::m_bCastShadows

◆ m_bClippingClipSelected

bool CDisplayPipelineAttributes::m_bClippingClipSelected

◆ m_bClippingShowCP

bool CDisplayPipelineAttributes::m_bClippingShowCP

Draw a transparent fill for selected clipping planes.

◆ m_bClippingShowXEdges

bool CDisplayPipelineAttributes::m_bClippingShowXEdges

◆ m_bClippingShowXSurface

bool CDisplayPipelineAttributes::m_bClippingShowXSurface

◆ m_bCPHidden

bool CDisplayPipelineAttributes::m_bCPHidden

◆ m_bCPHidePoints

bool CDisplayPipelineAttributes::m_bCPHidePoints

◆ m_bCPHideSurface

bool CDisplayPipelineAttributes::m_bCPHideSurface

◆ m_bCPHighlight

bool CDisplayPipelineAttributes::m_bCPHighlight

◆ m_bCPSingleColor

bool CDisplayPipelineAttributes::m_bCPSingleColor

◆ m_bCPSolidLines

bool CDisplayPipelineAttributes::m_bCPSolidLines

Control Polygon specific attributes...

◆ m_bCullBackfaces

bool CDisplayPipelineAttributes::m_bCullBackfaces

◆ m_bCurveKappaHair

bool CDisplayPipelineAttributes::m_bCurveKappaHair

◆ m_bDisableConduits

bool CDisplayPipelineAttributes::m_bDisableConduits

◆ m_bDisableTransparency

bool CDisplayPipelineAttributes::m_bDisableTransparency

◆ m_bDrawAxes

bool CDisplayPipelineAttributes::m_bDrawAxes

◆ m_bDrawGrid

bool CDisplayPipelineAttributes::m_bDrawGrid

◆ m_bDrawTransGridPlane

bool CDisplayPipelineAttributes::m_bDrawTransGridPlane

◆ m_bDrawWorldAxes

bool CDisplayPipelineAttributes::m_bDrawWorldAxes

◆ m_bDrawZAxis

bool CDisplayPipelineAttributes::m_bDrawZAxis

◆ m_bFlipGlasses

bool CDisplayPipelineAttributes::m_bFlipGlasses

◆ m_bGhostLockedObjects

bool CDisplayPipelineAttributes::m_bGhostLockedObjects

◆ m_bHighlightMeshes

bool CDisplayPipelineAttributes::m_bHighlightMeshes

◆ m_bHighlightSurfaces

bool CDisplayPipelineAttributes::m_bHighlightSurfaces

◆ m_bIgnoreHighlights

bool CDisplayPipelineAttributes::m_bIgnoreHighlights

◆ m_bIsoColorsUsed

bool CDisplayPipelineAttributes::m_bIsoColorsUsed

◆ m_bIsoPatternUsed

bool CDisplayPipelineAttributes::m_bIsoPatternUsed

◆ m_bIsoThicknessUsed

bool CDisplayPipelineAttributes::m_bIsoThicknessUsed

◆ m_bIsSurface

bool CDisplayPipelineAttributes::m_bIsSurface

General dynamic/runtime object drawing attributes...

◆ m_bLayersFollowLockUsage

bool CDisplayPipelineAttributes::m_bLayersFollowLockUsage

◆ m_bLockedObjectsBehind

bool CDisplayPipelineAttributes::m_bLockedObjectsBehind

◆ m_bPerPixelLighting

bool CDisplayPipelineAttributes::m_bPerPixelLighting

◆ m_bPlaneUsesGridColor

bool CDisplayPipelineAttributes::m_bPlaneUsesGridColor

◆ m_bShadeSurface

bool CDisplayPipelineAttributes::m_bShadeSurface

Both surface and mesh specific attributes...

◆ m_bShadeVertexColors

bool CDisplayPipelineAttributes::m_bShadeVertexColors

◆ m_bShadowClippingUsage

BYTE CDisplayPipelineAttributes::m_bShadowClippingUsage

First nibble (0..15) = types of clipping, Second nibble (0x10 .. 0x80) = mask for when to clip.

◆ m_bShowAnnotations

bool CDisplayPipelineAttributes::m_bShowAnnotations

◆ m_bShowClippingPlanes

bool CDisplayPipelineAttributes::m_bShowClippingPlanes

Custom clippling plane attributes.

◆ m_bShowCurves

bool CDisplayPipelineAttributes::m_bShowCurves

Curves specific attributes...

◆ m_bShowDecals

bool CDisplayPipelineAttributes::m_bShowDecals

◆ m_bShowEdgeEndpoints

bool CDisplayPipelineAttributes::m_bShowEdgeEndpoints

◆ m_bShowEdges

bool CDisplayPipelineAttributes::m_bShowEdges

brep edge info (not used for mesh or SubD objects)

◆ m_bShowGridOnTop

bool CDisplayPipelineAttributes::m_bShowGridOnTop

◆ m_bShowGrips

bool CDisplayPipelineAttributes::m_bShowGrips

◆ m_bShowIsocurves

bool CDisplayPipelineAttributes::m_bShowIsocurves

iso's...

◆ m_bShowLights

bool CDisplayPipelineAttributes::m_bShowLights

Lights & Lighting specific attributes...

◆ m_bShowMeshEdges

bool CDisplayPipelineAttributes::m_bShowMeshEdges

polygon mesh and SubD edge info

here "Edge" means "break" or "crease" edges

◆ m_bShowMeshNakedEdges

bool CDisplayPipelineAttributes::m_bShowMeshNakedEdges

"Naked" means boundary edges

◆ m_bShowMeshNonmanifoldEdges

bool CDisplayPipelineAttributes::m_bShowMeshNonmanifoldEdges

"Nonmanifold means 3 or more faces meet at the edge

◆ m_bShowMeshVertices

bool CDisplayPipelineAttributes::m_bShowMeshVertices

◆ m_bShowMeshWires

bool CDisplayPipelineAttributes::m_bShowMeshWires

◆ m_bShowNakedEdges

bool CDisplayPipelineAttributes::m_bShowNakedEdges

◆ m_bShowNonmanifoldEdges

bool CDisplayPipelineAttributes::m_bShowNonmanifoldEdges

◆ m_bShowPointClouds

bool CDisplayPipelineAttributes::m_bShowPointClouds

PointClouds specific attributes...

◆ m_bShowPoints

bool CDisplayPipelineAttributes::m_bShowPoints

Points specific attributes...

◆ m_bShowText

bool CDisplayPipelineAttributes::m_bShowText

Dimensions & Text specific attributes...

◆ m_bShowTransGrid

bool CDisplayPipelineAttributes::m_bShowTransGrid

◆ m_bSingleCurveColor

bool CDisplayPipelineAttributes::m_bSingleCurveColor

◆ m_bSingleIsoColor

bool CDisplayPipelineAttributes::m_bSingleIsoColor

◆ m_bSingleMeshWireColor

bool CDisplayPipelineAttributes::m_bSingleMeshWireColor

◆ m_bSingleWireColor

bool CDisplayPipelineAttributes::m_bSingleWireColor

◆ m_bSurfaceKappaHair

bool CDisplayPipelineAttributes::m_bSurfaceKappaHair

Surface specific attributes...

◆ m_bUseDefaultBackface

bool CDisplayPipelineAttributes::m_bUseDefaultBackface

◆ m_bUseDocumentGrid

bool CDisplayPipelineAttributes::m_bUseDocumentGrid

◆ m_bUseHiddenLights

bool CDisplayPipelineAttributes::m_bUseHiddenLights

◆ m_bUseLightColor

bool CDisplayPipelineAttributes::m_bUseLightColor

◆ m_bUseObjectBFMaterial

bool CDisplayPipelineAttributes::m_bUseObjectBFMaterial

◆ m_bUseObjectMaterial

bool CDisplayPipelineAttributes::m_bUseObjectMaterial

◆ m_bXrayAllObjects

bool CDisplayPipelineAttributes::m_bXrayAllObjects

General display overrides...

◆ m_ClippingCPColor

COLORREF CDisplayPipelineAttributes::m_ClippingCPColor

◆ m_ClippingEdgeColor

COLORREF CDisplayPipelineAttributes::m_ClippingEdgeColor

◆ m_ClippingSurfaceColor

COLORREF CDisplayPipelineAttributes::m_ClippingSurfaceColor

◆ m_contextDrawToDC

enum CDisplayPipelineAttributes::ContextsForDrawToDC CDisplayPipelineAttributes::m_contextDrawToDC

◆ m_CPColor

ON_Color CDisplayPipelineAttributes::m_CPColor

◆ m_CurrentObjectId

ON_UUID CDisplayPipelineAttributes::m_CurrentObjectId

◆ m_CurveColor

COLORREF CDisplayPipelineAttributes::m_CurveColor

◆ m_customGroundPlaneSettings

struct { ... } CDisplayPipelineAttributes::m_customGroundPlaneSettings

◆ m_customLinearWorkflowSettings

class RHINO_SDK_CLASS CDisplayPipelineAttributes::LinearWorkflow CDisplayPipelineAttributes::m_customLinearWorkflowSettings

◆ m_dHorzScale

double CDisplayPipelineAttributes::m_dHorzScale

◆ m_DotBorderColor

COLORREF CDisplayPipelineAttributes::m_DotBorderColor

◆ m_DotTextColor

COLORREF CDisplayPipelineAttributes::m_DotTextColor

◆ m_dpi_scale_override

float CDisplayPipelineAttributes::m_dpi_scale_override = -1

View specific attributes...

The engine will typically use the current monitor dpi scaling unless m_dpi_scale_override is set to a value > 0

◆ m_dVertScale

double CDisplayPipelineAttributes::m_dVertScale

◆ m_eCVStyle

ERhinoPointStyle CDisplayPipelineAttributes::m_eCVStyle

◆ m_EdgeColor

COLORREF CDisplayPipelineAttributes::m_EdgeColor

brep edge info (not used for mesh or SubD objects)

◆ m_eFillMode

EFrameBufferFillMode CDisplayPipelineAttributes::m_eFillMode

Frame background settings...

◆ m_eLightingScheme

ELightingScheme CDisplayPipelineAttributes::m_eLightingScheme

◆ m_eLineEndCapStyle

RhinoLineCapStyle CDisplayPipelineAttributes::m_eLineEndCapStyle

◆ m_eLineJoinStyle

RhinoLineJoinStyle CDisplayPipelineAttributes::m_eLineJoinStyle

◆ m_ePCGripStyle

ERhinoPointStyle CDisplayPipelineAttributes::m_ePCGripStyle

◆ m_ePCStyle

ERhinoPointStyle CDisplayPipelineAttributes::m_ePCStyle

◆ m_ePointStyle

ERhinoPointStyle CDisplayPipelineAttributes::m_ePointStyle

◆ m_eShadowMapType

int CDisplayPipelineAttributes::m_eShadowMapType

◆ m_fShadowBlur

double CDisplayPipelineAttributes::m_fShadowBlur

◆ m_fShadowClippingRadius

float CDisplayPipelineAttributes::m_fShadowClippingRadius

◆ m_fStereoParallax

float CDisplayPipelineAttributes::m_fStereoParallax

◆ m_fStereoSeparation

float CDisplayPipelineAttributes::m_fStereoSeparation

◆ m_GradBotLeft

ON_Color CDisplayPipelineAttributes::m_GradBotLeft

◆ m_GradBotRight

ON_Color CDisplayPipelineAttributes::m_GradBotRight

◆ m_GradTopLeft

ON_Color CDisplayPipelineAttributes::m_GradTopLeft

◆ m_GradTopRight

ON_Color CDisplayPipelineAttributes::m_GradTopRight

◆ m_GridPlaneColor

COLORREF CDisplayPipelineAttributes::m_GridPlaneColor

◆ m_groundPlaneUsage

enum CDisplayPipelineAttributes::GroundPlaneUsages CDisplayPipelineAttributes::m_groundPlaneUsage

◆ m_IsHighlighted

int CDisplayPipelineAttributes::m_IsHighlighted

◆ m_IsoColor

COLORREF CDisplayPipelineAttributes::m_IsoColor

◆ m_IsoUColor

COLORREF CDisplayPipelineAttributes::m_IsoUColor

◆ m_IsoVColor

COLORREF CDisplayPipelineAttributes::m_IsoVColor

◆ m_IsoWColor

COLORREF CDisplayPipelineAttributes::m_IsoWColor

◆ m_Lights

ON_ObjectArray<ON_Light> CDisplayPipelineAttributes::m_Lights

◆ m_linearWorkflowUsage

enum CDisplayPipelineAttributes::LinearWorkflowUsages CDisplayPipelineAttributes::m_linearWorkflowUsage

◆ m_LockedColor

COLORREF CDisplayPipelineAttributes::m_LockedColor

◆ m_MeshEdgeColor

COLORREF CDisplayPipelineAttributes::m_MeshEdgeColor

here "Edge" means "break" or "crease" edges

◆ m_MeshNakedEdgeColor

COLORREF CDisplayPipelineAttributes::m_MeshNakedEdgeColor

◆ m_MeshNonmanifoldEdgeColor

COLORREF CDisplayPipelineAttributes::m_MeshNonmanifoldEdgeColor

◆ m_MeshWireColor

COLORREF CDisplayPipelineAttributes::m_MeshWireColor

◆ m_nAGColorMode

int CDisplayPipelineAttributes::m_nAGColorMode

◆ m_nAGViewingMode

int CDisplayPipelineAttributes::m_nAGViewingMode

◆ m_NakedEdgeColor

COLORREF CDisplayPipelineAttributes::m_NakedEdgeColor

◆ m_nAxesPercentage

int CDisplayPipelineAttributes::m_nAxesPercentage

◆ m_nClippingCPTrans

BYTE CDisplayPipelineAttributes::m_nClippingCPTrans

0 = opaque ... 100 = transparent

◆ m_nClippingCPUsage

BYTE CDisplayPipelineAttributes::m_nClippingCPUsage

0 = clipping plane's color, 1 = clipping plane's material, 2 = solid color

◆ m_nClippingEdgesUsage

BYTE CDisplayPipelineAttributes::m_nClippingEdgesUsage

0 = clipping plane's color setting, 1 = solid color, 2 = object color setting

◆ m_nClippingEdgeThickness

BYTE CDisplayPipelineAttributes::m_nClippingEdgeThickness

◆ m_nClippingSurfaceUsage

BYTE CDisplayPipelineAttributes::m_nClippingSurfaceUsage

0 = object color settings, 1 = display mode backface settings, 2 = clipping plane's color, 3 = solid color

◆ m_nCPWireThickness

int CDisplayPipelineAttributes::m_nCPWireThickness

◆ m_nCurvePattern

UINT CDisplayPipelineAttributes::m_nCurvePattern

◆ m_nCurveThickness

int CDisplayPipelineAttributes::m_nCurveThickness

◆ m_nCurveTrans

int CDisplayPipelineAttributes::m_nCurveTrans

◆ m_nCVSize

int CDisplayPipelineAttributes::m_nCVSize

◆ m_nEdgeColorReduction

int CDisplayPipelineAttributes::m_nEdgeColorReduction

◆ m_nEdgeColorUsage

int CDisplayPipelineAttributes::m_nEdgeColorUsage

◆ m_nEdgePattern

UINT CDisplayPipelineAttributes::m_nEdgePattern

◆ m_nEdgeThickness

int CDisplayPipelineAttributes::m_nEdgeThickness

◆ m_nGridPlaneTrans

int CDisplayPipelineAttributes::m_nGridPlaneTrans

◆ m_nGridTrans

int CDisplayPipelineAttributes::m_nGridTrans

◆ m_nIsocurvePattern

UINT CDisplayPipelineAttributes::m_nIsocurvePattern

◆ m_nIsocurveThickness

int CDisplayPipelineAttributes::m_nIsocurveThickness

not used

◆ m_nIsoUPattern

UINT CDisplayPipelineAttributes::m_nIsoUPattern

◆ m_nIsoUThickness

int CDisplayPipelineAttributes::m_nIsoUThickness

◆ m_nIsoVPattern

UINT CDisplayPipelineAttributes::m_nIsoVPattern

◆ m_nIsoVThickness

int CDisplayPipelineAttributes::m_nIsoVThickness

◆ m_nIsoWPattern

UINT CDisplayPipelineAttributes::m_nIsoWPattern

◆ m_nIsoWThickness

int CDisplayPipelineAttributes::m_nIsoWThickness

◆ m_nLinePattern

UINT CDisplayPipelineAttributes::m_nLinePattern

◆ m_nLineThickness

int CDisplayPipelineAttributes::m_nLineThickness

◆ m_nLockedTrans

int CDisplayPipelineAttributes::m_nLockedTrans

◆ m_nLockedUsage

int CDisplayPipelineAttributes::m_nLockedUsage

Object locking attributes....

◆ m_nLuminosity

int CDisplayPipelineAttributes::m_nLuminosity

◆ m_nMeshEdgeColorReduction

int CDisplayPipelineAttributes::m_nMeshEdgeColorReduction

here "Edge" means "break" or "crease" edges

◆ m_nMeshEdgeThickness

int CDisplayPipelineAttributes::m_nMeshEdgeThickness

here "Edge" means "break" or "crease" edges

◆ m_nMeshNakedEdgeColorReduction

int CDisplayPipelineAttributes::m_nMeshNakedEdgeColorReduction

◆ m_nMeshNakedEdgeThickness

int CDisplayPipelineAttributes::m_nMeshNakedEdgeThickness

◆ m_nMeshNonmanifoldEdgeColorReduction

int CDisplayPipelineAttributes::m_nMeshNonmanifoldEdgeColorReduction

◆ m_nMeshNonmanifoldEdgeThickness

int CDisplayPipelineAttributes::m_nMeshNonmanifoldEdgeThickness

polygon mesh and SubD non-manifold specific

◆ m_nMeshVertexSize

int CDisplayPipelineAttributes::m_nMeshVertexSize

◆ m_nMeshWirePattern

UINT CDisplayPipelineAttributes::m_nMeshWirePattern

◆ m_nMeshWireThickness

int CDisplayPipelineAttributes::m_nMeshWireThickness

◆ m_nNakedEdgeColorReduction

int CDisplayPipelineAttributes::m_nNakedEdgeColorReduction

◆ m_nNakedEdgeColorUsage

int CDisplayPipelineAttributes::m_nNakedEdgeColorUsage

◆ m_nNakedEdgeOverride

int CDisplayPipelineAttributes::m_nNakedEdgeOverride

not used

◆ m_nNakedEdgePattern

UINT CDisplayPipelineAttributes::m_nNakedEdgePattern

◆ m_nNakedEdgeThickness

int CDisplayPipelineAttributes::m_nNakedEdgeThickness

◆ m_nNonmanifoldEdgePattern

UINT CDisplayPipelineAttributes::m_nNonmanifoldEdgePattern

brep edge non-manifold specific (not used for mesh or SubD objects)

◆ m_nNumSamples

int CDisplayPipelineAttributes::m_nNumSamples

◆ m_NonmanifoldEdgeColor

COLORREF CDisplayPipelineAttributes::m_NonmanifoldEdgeColor

◆ m_nPCGripSize

int CDisplayPipelineAttributes::m_nPCGripSize

◆ m_nPCSize

int CDisplayPipelineAttributes::m_nPCSize

◆ m_nPlaneVisibility

int CDisplayPipelineAttributes::m_nPlaneVisibility

◆ m_nPointSize

int CDisplayPipelineAttributes::m_nPointSize

◆ m_nShadingEffectsUsage

BYTE CDisplayPipelineAttributes::m_nShadingEffectsUsage

Specialized shading effects...

◆ m_nShadowBitDepth

BYTE CDisplayPipelineAttributes::m_nShadowBitDepth

◆ m_nShadowMapSize

int CDisplayPipelineAttributes::m_nShadowMapSize

◆ m_nStereoModeEnabled

int CDisplayPipelineAttributes::m_nStereoModeEnabled

Stereo mode settings...

◆ m_nTCColor

COLORREF CDisplayPipelineAttributes::m_nTCColor

Crease lines.

◆ m_nTCThickness

int CDisplayPipelineAttributes::m_nTCThickness

Crease lines.

◆ m_nTechMask

UINT CDisplayPipelineAttributes::m_nTechMask

Technical mode(s) settings...

◆ m_nTechUMask

UINT CDisplayPipelineAttributes::m_nTechUMask

◆ m_nTEColor

COLORREF CDisplayPipelineAttributes::m_nTEColor

Edge lines.

◆ m_nTEThickness

int CDisplayPipelineAttributes::m_nTEThickness

Edge lines.

◆ m_nTHColor

COLORREF CDisplayPipelineAttributes::m_nTHColor

Hidden lines.

◆ m_nTHThickness

int CDisplayPipelineAttributes::m_nTHThickness

Hidden lines.

◆ m_nTIColor

COLORREF CDisplayPipelineAttributes::m_nTIColor

Intersection lines.

◆ m_nTIThickness

int CDisplayPipelineAttributes::m_nTIThickness

Intersection lines.

◆ m_nTransparencyTolerance

BYTE CDisplayPipelineAttributes::m_nTransparencyTolerance

◆ m_nTSColor

COLORREF CDisplayPipelineAttributes::m_nTSColor

Seam lines.

◆ m_nTSiColor

COLORREF CDisplayPipelineAttributes::m_nTSiColor

Silhouette lines.

◆ m_nTSiThickness

int CDisplayPipelineAttributes::m_nTSiThickness

Silhouette lines.

◆ m_nTSThickness

int CDisplayPipelineAttributes::m_nTSThickness

Seam lines.

◆ m_nWorldAxesColor

int CDisplayPipelineAttributes::m_nWorldAxesColor

◆ m_ObjectColor

COLORREF CDisplayPipelineAttributes::m_ObjectColor

◆ m_pIteratorOverride

const CRhinoObjectIterator* CDisplayPipelineAttributes::m_pIteratorOverride

◆ m_pMaterial

CDisplayPipelineMaterial* CDisplayPipelineAttributes::m_pMaterial

Runtime material used by all mesh drawing (shaded and/or rendered)

◆ m_SEPL_Rotation

int CDisplayPipelineAttributes::m_SEPL_Rotation

ShadedEffectParallelLine-Rotation.

◆ m_SEPL_Separation

BYTE CDisplayPipelineAttributes::m_SEPL_Separation

ShadedEffectParallelLine-Separation.

◆ m_SEPL_Width

BYTE CDisplayPipelineAttributes::m_SEPL_Width

ShadedEffectParallelLine-Width.

◆ m_ShadowBias

ON_3dVector CDisplayPipelineAttributes::m_ShadowBias

◆ m_ShadowColor

COLORREF CDisplayPipelineAttributes::m_ShadowColor

◆ m_SolidColor

ON_Color CDisplayPipelineAttributes::m_SolidColor

◆ m_WireColor

COLORREF CDisplayPipelineAttributes::m_WireColor

◆ m_WxColor

COLORREF CDisplayPipelineAttributes::m_WxColor

◆ m_WyColor

COLORREF CDisplayPipelineAttributes::m_WyColor

◆ m_WzColor

COLORREF CDisplayPipelineAttributes::m_WzColor

◆ on

bool CDisplayPipelineAttributes::on = true

◆ shadowOnly

bool CDisplayPipelineAttributes::shadowOnly = true